aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Bugzilla #44743: Jeremias Maerki2008-04-041-3/+11
| | | | | | | Added a public accessor for reference to the current page to PDFGraphics2D. Submitted by: Yegor Kozlov <yegor.at.dinom.ru> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@644691 13f79535-47bb-0310-9956-ffa450edef68
* Oops. Fixed a last-minute change that broke the build.Jeremias Maerki2008-04-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@644213 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #44737:Jeremias Maerki2008-04-0314-210/+445
| | | | | | | | | | | | | | | Added support for auto-configuring TrueType Collections. XML font metrics files for *.ttc fonts are not required anymore. Submitted by: Jason Harrop <jason.at.plutext.org> Changes to patch or in addition to the patch: - Tab chars removed and Checkstyle issues fixed - Some simplifications in the cache handling (CachedFontInfo is obsolete and less cache-private information is exposed to the outside). - TTCs are fully detected and registered with FOP. - TTCs can also be registered using a "font" element. The new "sub-font" attribute selected the sub-font in the TTC. - Bug fixed in TTFFile: Font names were not decoded correctly (ex. font names in Chinese) - Minimal docs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@644208 13f79535-47bb-0310-9956-ffa450edef68
* Added missing code for determining the PDF Flags. The removes the need to ↵Jeremias Maerki2008-03-311-7/+20
| | | | | | have a PFM if you have an AFM file for a Type 1 font. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@642924 13f79535-47bb-0310-9956-ffa450edef68
* Fixed possible NullPointerException in AFM kerning table build code.Jeremias Maerki2008-03-311-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@642923 13f79535-47bb-0310-9956-ffa450edef68
* When a JPEG image is embedded, an optionally embedded color profile is ↵Jeremias Maerki2008-03-272-2/+109
| | | | | | | | filtered out as it's already embedded separately in the PDF file. Worked around a problem (PDF renderer) with JPEG image containing RGB color profiles which are not sRGB. The images drifted into yellow. The color profile is simply disabled in this case. Please let us know if you know what the problem could be. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@641827 13f79535-47bb-0310-9956-ffa450edef68
* Added support for addressing all glyphs available in a Type 1 font, not just ↵Jeremias Maerki2008-03-2737-743/+1629
| | | | | | | | | | | | the ones in the font's primary encoding. Typeface: getEncoding() changed to getEncodingName() to make clearer what is held here. Some cleanup in the font classes to put the various things in more appropriate places. Created a common base class for all Base 14 fonts (makes the hierarchy clearer). Made PDFTextUtil more universally useful and made use of it in PDFRenderer, too. Made PDFStream.add(String) more efficient. The encoding converter is not called for each invocation anymore as the whole thing get buffered by a BufferedWriter (as suggested by the javadoc of OutputStreamWriter). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@641742 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup and minor refactoring:Andreas L. Delmelle2008-03-2319-139/+79
| | | | | | | | | | | | | | | * consolidate addId() in AbstractLayoutManager * replace getPSLM().addIdToPage(getXXX().getId()) in various LMs Smaller changes/cleanup in the affected LMs include: * removal of some redundant casts * simplified conditionals * avoid duplicating the reference to the FObj as much as possible: the reference is already stored in AbstractLM, yet every subclass seems to add another reference... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@640242 13f79535-47bb-0310-9956-ffa450edef68
* updates to Forrest web site (expand menu structure).Clay Leeds2008-03-221-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@640089 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 636400-636405,636407-638388 via svnmerge from Vincent Hennebert2008-03-1854-5909/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95 ........ r636403 | vhennebert | 2008-03-12 16:24:48 +0000 (Wed, 12 Mar 2008) | 2 lines Updated copyright years ........ r637075 | vhennebert | 2008-03-14 12:19:45 +0000 (Fri, 14 Mar 2008) | 4 lines Bugzilla #44412: Bugfix: When there was a forced break after a block with (conditional) borders the border-after wasn't painted. Changes made by Jeremias ........ r637119 | jeremias | 2008-03-14 14:41:03 +0000 (Fri, 14 Mar 2008) | 2 lines Bugzilla #44412: Bugfix: The before border of a block is no longer swallowed if its first child issues a break-before. ........ r637791 | jeremias | 2008-03-17 08:59:51 +0000 (Mon, 17 Mar 2008) | 3 lines Removed old image adapters. Removed support for Java 1.3 building as it didn't work anymore anyway. Added a check to require Java 1.4 for building. ........ r637857 | jeremias | 2008-03-17 12:24:33 +0000 (Mon, 17 Mar 2008) | 3 lines Partially reverted revision 637791: Restored JAI as a required dependency for distribution builds (used for error diffusion dithering in the PCL Renderer). It is optional otherwise. Updated the licensing info and release notes to make the changes clear. ........ r637993 | vhennebert | 2008-03-17 17:48:44 +0000 (Mon, 17 Mar 2008) | 3 lines Bugzilla #44621: when the after border of a cell, in the trailing case, is bigger than in the normal case, the generated sequence of Knuth elements was wrong, leading to content being swallowed This is a partial fix only: the content is no longer swallowed, but the penalty is wrong (shorter than it should be). This will lead to the table overflowing the region-body without warning. ........ r638048 | vhennebert | 2008-03-17 20:00:36 +0000 (Mon, 17 Mar 2008) | 2 lines Changed the documentation to reflect the move to Java 1.4 as a minimum requirement ........ r638308 | vhennebert | 2008-03-18 10:26:32 +0000 (Tue, 18 Mar 2008) | 2 lines Simplified the getNextKnuthElements method a little bit ........ r638316 | vhennebert | 2008-03-18 11:06:59 +0000 (Tue, 18 Mar 2008) | 2 lines Removed the 'jdk1.4' suffix appended to the binary artifacts. There's no point in making the distinction anymore since there is only one binary now ........ r638317 | vhennebert | 2008-03-18 11:08:29 +0000 (Tue, 18 Mar 2008) | 2 lines Updated the probable date of the release ........ git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@638396 13f79535-47bb-0310-9956-ffa450edef68
* Reverting changes of rev. 637057. I applied the changes to the 0.95 branch ↵Vincent Hennebert2008-03-143-8/+6
| | | | | | instead so that they make their way into the 0.95 release. I will merge them back to the Trunk via svnmerge git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@637076 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #44412:Jeremias Maerki2008-03-143-6/+8
| | | | | | Bugfix: When there was a forced break after a block with (conditional) borders the border-after wasn't painted. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@637057 13f79535-47bb-0310-9956-ffa450edef68
* Removed no longer used borderAndPaddingBPD fieldVincent Hennebert2008-03-121-17/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@636471 13f79535-47bb-0310-9956-ffa450edef68
* Update of the documentation before the release.Vincent Hennebert2008-03-125-61/+10
| | | | | | | Added notes about improved checks and conformance in tables. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@636295 13f79535-47bb-0310-9956-ffa450edef68
* Updated the compliance page. Re-added the 0.94 column since there are some ↵Vincent Hennebert2008-03-121-94/+771
| | | | | | noteworthy changes between the 0.94 and 0.95 versions git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@636293 13f79535-47bb-0310-9956-ffa450edef68
* Since compliance.ihtml is now the source file and it would cost too much to ↵Vincent Hennebert2008-03-121-5110/+6334
| | | | | | revert to an xml version, tidied the file a bit. No content change. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@636276 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a copy-paste error (getPaddingStart instead of getPaddingEnd)Vincent Hennebert2008-03-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635884 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for row/body/col background painting when padding is used in the ↵Jeremias Maerki2008-03-101-8/+14
| | | | | | table-cells. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635741 13f79535-47bb-0310-9956-ffa450edef68
* Need to clean up after myself.Jeremias Maerki2008-03-102-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635701 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: forced break ignored when the minimum height of a table-row isn't ↵Vincent Hennebert2008-03-105-183/+209
| | | | | | reached git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635686 13f79535-47bb-0310-9956-ffa450edef68
* Fixed NPE in BlockContainerLayoutManager when used as a child of an ↵Jeremias Maerki2008-03-1020-124/+185
| | | | | | | | | | inline-level FO. Split IP and BP stack limits in LayoutContext (there's now a certain amount of redundancy with "refIPD" in LayoutContext which I didn't resolve). Areas are now generated for block-level FOs when used as children of inline-level FOs. ClassCastException in ListLayoutManager.mustKeepTogether() fixed (occured if used as child of an inline-level FO). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@635508 13f79535-47bb-0310-9956-ffa450edef68
* Added some notes on getting the same output for PDF/PS and Java2D-based ↵Jeremias Maerki2008-03-063-0/+73
| | | | | | renderers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@634187 13f79535-47bb-0310-9956-ffa450edef68
* - Fixed the rendering of the area of a table corresponding to ↵Vincent Hennebert2008-03-056-135/+367
| | | | | | | | | | | border-separation, which must be filled with the background of the table, and not the rows. - Improved conformance: even if a table-cell spans several rows its background must correspond to the first row spanned. - Added support for background on fo:table-column and fo:table-header/footer/body TODO more testcases needed, especially tables with collapsing border model and tables broken over pages git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633961 13f79535-47bb-0310-9956-ffa450edef68
* Update README.Jeremias Maerki2008-03-042-9/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633561 13f79535-47bb-0310-9956-ffa450edef68
* Update FOP poster for OpenExpo 2008 in Bern.Jeremias Maerki2008-03-0412-3954/+34
| | | | | | This fixes various warnings, updates the history and simplifies configuration (if you're on Windows, it will work out of the box because all fonts are available). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633559 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: If there's shrink available in an auto-height situation, the ↵Jeremias Maerki2008-03-041-1/+7
| | | | | | difference is now set to 0 in order to avoid unwanted effects. IOW, never shrink in an auto-height situation. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633557 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Without the system ID (base URI), the XSLT processor cannot resolve ↵Jeremias Maerki2008-03-041-3/+6
| | | | | | document(<uri>, .) function calls correctly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633525 13f79535-47bb-0310-9956-ffa450edef68
* Copyright yearJeremias Maerki2008-03-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633460 13f79535-47bb-0310-9956-ffa450edef68
* Renamed to 0.95beta.Jeremias Maerki2008-03-043-35/+4
| | | | | | | Made changes and release notes work again by switching to the projectInfo plug-in rather than relying on our local copy of the stylesheets. There's a little bug (missing images) in the release notes for which I submitted a patch (https://issues.apache.org/jira/browse/FOR-1076) to Forrest. Brought status.xml more in line with the official status DTD. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633437 13f79535-47bb-0310-9956-ffa450edef68
* Using Forrest Trunk from now on (in order to use FOP 0.94 for PDFs). We'll ↵Jeremias Maerki2008-03-041-2/+2
| | | | | | switch to a stable release as soon as a release with a new FOP version is available. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633397 13f79535-47bb-0310-9956-ffa450edef68
* Various updates.Jeremias Maerki2008-03-045-14/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633396 13f79535-47bb-0310-9956-ffa450edef68
* Added ApacheCon US 2008.Jeremias Maerki2008-03-041-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633391 13f79535-47bb-0310-9956-ffa450edef68
* Removed 0.93 and 0.94, added 0.95. There's no noticeable difference between ↵Jeremias Maerki2008-03-041-399/+50
| | | | | | 0.94 and 0.95 so I removed a column to regain some space. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633389 13f79535-47bb-0310-9956-ffa450edef68
* Tried to make font configuration easier to understand by splitting the ↵Jeremias Maerki2008-03-032-136/+276
| | | | | | basics from the advanced stuff. Otherwise, people will believe for the next 100 years that generating XML font metrics file is still always necessary. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632972 13f79535-47bb-0310-9956-ffa450edef68
* Updated the Apache FOP Quick Start to include a 'Hello World' document and ↵Clay Leeds2008-03-031-29/+96
| | | | | | make it more geared toward newbies (thanks Jeremias!). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632938 13f79535-47bb-0310-9956-ffa450edef68
* Further preparations for the 0.95 release. This was tested with the latest ↵Jeremias Maerki2008-03-0224-16/+5671
| | | | | | Forrest Trunk (which uses FOP 0.94 for the PDFs). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632784 13f79535-47bb-0310-9956-ffa450edef68
* Adding Quick Start Guide.Clay Leeds2008-03-021-0/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632716 13f79535-47bb-0310-9956-ffa450edef68
* Preparing for FOP 0.95 release.Clay Leeds2008-03-0125-5129/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632558 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Disabled setting widths from AFM since we're using WinAnsiEncoding ↵Jeremias Maerki2008-02-291-2/+10
| | | | | | internally but the AFM delivers the character widths using the font's native encoding which causes problems with some characters. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632321 13f79535-47bb-0310-9956-ffa450edef68
* Minor tweak: switch from toString() to getLocalizedMessage() for Exceptions ↵Andreas L. Delmelle2008-02-281-1/+1
| | | | | | passed into warning() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632122 13f79535-47bb-0310-9956-ffa450edef68
* Minor tweaks/updates:Andreas L. Delmelle2008-02-281-64/+35
| | | | | | | | | | - change toString() to getLocalizedMessage() for exceptions passed to warning() - removed deprecated method isLocatorDisabled() - removed superfluous try-catch block - some javadoc changes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632121 13f79535-47bb-0310-9956-ffa450edef68
* Slight improvement for thin lines in Java2D/AWT output.Jeremias Maerki2008-02-281-0/+2
| | | | | | Submitted by: Gordon Cooke <cookeg.at.btinternet.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631984 13f79535-47bb-0310-9956-ffa450edef68
* bpBeforeNormal and bpAfterNormal already include border-separation, no need ↵Vincent Hennebert2008-02-271-1/+0
| | | | | | to re-substract it from the box height git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631609 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #44497: Jeremias Maerki2008-02-271-5/+1
| | | | | | AFP Renderer: Bugfix for broken reference orientation on absolutely positioned block-containers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631575 13f79535-47bb-0310-9956-ffa450edef68
* Moved the getBody method into PrimaryGridUnit, since it's only needed there ↵Vincent Hennebert2008-02-264-17/+15
| | | | | | and that allows to simplify EmptyGridUnit git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631276 13f79535-47bb-0310-9956-ffa450edef68
* Reverted revision 603590 which broke the AFP renderer. The other changes ↵Jeremias Maerki2008-02-2658-5221/+1165
| | | | | | | | | after revision 603590 should be preserved as well as possible, including the switch to the new image library. Adjustments for change in behaviour of the block viewport CTM. Bugfix: SVG painting is now always done on a color canvas (like for PCL) because Batik cannot handle gradients on a grayscale canvas. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631178 13f79535-47bb-0310-9956-ffa450edef68
* - added full support for keep-with-previous on table-row and in table-cellVincent Hennebert2008-02-2517-295/+342
| | | | | | | | | - added more testcases for keeps in tables - assign the right table-row element to grid units that are not on the first row spanned - slightly re-worked the RowGroupBuilder interface to make it more SAX-like git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630814 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: When scale-up/down-to-fit was used, the image scaling rule was not ↵Jeremias Maerki2008-02-251-7/+13
| | | | | | always respected. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630772 13f79535-47bb-0310-9956-ffa450edef68
* Fixed backward compatiblity with 1.4Maximilian Berger2008-02-221-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630215 13f79535-47bb-0310-9956-ffa450edef68
* Turned on XInclude processing for the main source given on the command line.Maximilian Berger2008-02-211-3/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629902 13f79535-47bb-0310-9956-ffa450edef68