]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
16 years agoNoted some of the major change areas in this release.
Jeremias Maerki [Tue, 4 Mar 2008 13:25:12 +0000 (13:25 +0000)]
Noted some of the major change areas in this release.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633470 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCopyright year
Jeremias Maerki [Tue, 4 Mar 2008 12:59:57 +0000 (12:59 +0000)]
Copyright year

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633460 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRenamed to 0.95beta.
Jeremias Maerki [Tue, 4 Mar 2008 11:50:34 +0000 (11:50 +0000)]
Renamed to 0.95beta.
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

16 years agoUsing Forrest Trunk from now on (in order to use FOP 0.94 for PDFs). We'll switch...
Jeremias Maerki [Tue, 4 Mar 2008 09:15:50 +0000 (09:15 +0000)]
Using Forrest Trunk from now on (in order to use FOP 0.94 for PDFs). We'll 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

16 years agoVarious updates.
Jeremias Maerki [Tue, 4 Mar 2008 09:06:03 +0000 (09:06 +0000)]
Various updates.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633396 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded ApacheCon US 2008.
Jeremias Maerki [Tue, 4 Mar 2008 08:39:12 +0000 (08:39 +0000)]
Added ApacheCon US 2008.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633391 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSwitched to Commons 1.3 being released.
Jeremias Maerki [Tue, 4 Mar 2008 08:38:36 +0000 (08:38 +0000)]
Switched to Commons 1.3 being released.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@633390 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoved 0.93 and 0.94, added 0.95. There's no noticeable difference between 0.94...
Jeremias Maerki [Tue, 4 Mar 2008 08:37:05 +0000 (08:37 +0000)]
Removed 0.93 and 0.94, added 0.95. There's no noticeable difference between 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

16 years agoTried to make font configuration easier to understand by splitting the basics from...
Jeremias Maerki [Mon, 3 Mar 2008 07:51:14 +0000 (07:51 +0000)]
Tried to make font configuration easier to understand by splitting the 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

16 years agoUpdated the Apache FOP Quick Start to include a 'Hello World' document and make it...
Clay Leeds [Mon, 3 Mar 2008 04:44:28 +0000 (04:44 +0000)]
Updated the Apache FOP Quick Start to include a 'Hello World' document and 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

16 years agoFurther preparations for the 0.95 release. This was tested with the latest Forrest...
Jeremias Maerki [Sun, 2 Mar 2008 16:53:24 +0000 (16:53 +0000)]
Further preparations for the 0.95 release. This was tested with the latest 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

16 years agoAdding Quick Start Guide.
Clay Leeds [Sun, 2 Mar 2008 06:42:02 +0000 (06:42 +0000)]
Adding Quick Start Guide.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632716 13f79535-47bb-0310-9956-ffa450edef68

16 years agoPreparing for FOP 0.95 release.
Clay Leeds [Sat, 1 Mar 2008 07:10:03 +0000 (07:10 +0000)]
Preparing for FOP 0.95 release.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632558 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugfix: Disabled setting widths from AFM since we're using WinAnsiEncoding internally...
Jeremias Maerki [Fri, 29 Feb 2008 14:03:01 +0000 (14:03 +0000)]
Bugfix: Disabled setting widths from AFM since we're using WinAnsiEncoding 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

16 years agoMinor tweak: switch from toString() to getLocalizedMessage() for Exceptions passed...
Andreas L. Delmelle [Thu, 28 Feb 2008 21:33:11 +0000 (21:33 +0000)]
Minor tweak: switch from toString() to getLocalizedMessage() for Exceptions passed into warning()

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632122 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor tweaks/updates:
Andreas L. Delmelle [Thu, 28 Feb 2008 21:29:04 +0000 (21:29 +0000)]
Minor tweaks/updates:
- 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

16 years agoSlight improvement for thin lines in Java2D/AWT output.
Jeremias Maerki [Thu, 28 Feb 2008 14:30:46 +0000 (14:30 +0000)]
Slight improvement for thin lines in Java2D/AWT output.
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

16 years agobpBeforeNormal and bpAfterNormal already include border-separation, no need to re...
Vincent Hennebert [Wed, 27 Feb 2008 15:09:06 +0000 (15:09 +0000)]
bpBeforeNormal and bpAfterNormal already include border-separation, no need 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

16 years agoBugzilla #44497:
Jeremias Maerki [Wed, 27 Feb 2008 13:00:54 +0000 (13:00 +0000)]
Bugzilla #44497:
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

16 years agoMoved the getBody method into PrimaryGridUnit, since it's only needed there and that...
Vincent Hennebert [Tue, 26 Feb 2008 16:23:15 +0000 (16:23 +0000)]
Moved the getBody method into PrimaryGridUnit, since it's only needed there and that allows to simplify EmptyGridUnit

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631276 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGOCA support temporarily removed.
Jeremias Maerki [Tue, 26 Feb 2008 14:30:50 +0000 (14:30 +0000)]
GOCA support temporarily removed.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631226 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReverted revision 603590 which broke the AFP renderer. The other changes after revisi...
Jeremias Maerki [Tue, 26 Feb 2008 11:07:20 +0000 (11:07 +0000)]
Reverted revision 603590 which broke the AFP renderer. The other changes 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

16 years ago- added full support for keep-with-previous on table-row and in table-cell
Vincent Hennebert [Mon, 25 Feb 2008 11:30:43 +0000 (11:30 +0000)]
- added full support for keep-with-previous on table-row and in table-cell
- 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

16 years agoBugfix: When scale-up/down-to-fit was used, the image scaling rule was not always...
Jeremias Maerki [Mon, 25 Feb 2008 09:17:43 +0000 (09:17 +0000)]
Bugfix: When scale-up/down-to-fit was used, the image scaling rule was not always respected.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630772 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed backward compatiblity with 1.4
Maximilian Berger [Fri, 22 Feb 2008 14:17:20 +0000 (14:17 +0000)]
Fixed backward compatiblity with 1.4

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630215 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTurned on XInclude processing for the main source given on the command line.
Maximilian Berger [Thu, 21 Feb 2008 18:22:22 +0000 (18:22 +0000)]
Turned on XInclude processing for the main source given on the command line.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629902 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMoved me to commiters :)
Maximilian Berger [Thu, 21 Feb 2008 12:52:33 +0000 (12:52 +0000)]
Moved me to commiters :)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629769 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed a bug leading to the content of row-spanning cells being duplicated at page...
Vincent Hennebert [Tue, 19 Feb 2008 17:32:18 +0000 (17:32 +0000)]
Fixed a bug leading to the content of row-spanning cells being duplicated at page breaks, when it's small enough to fit on the previous row

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629169 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded support for reading the OS/2 table's usWeightClass value which supports the...
Jeremias Maerki [Tue, 19 Feb 2008 15:47:48 +0000 (15:47 +0000)]
Added support for reading the OS/2 table's usWeightClass value which supports the same font weight values as we use in XSL-FO.
However, in my tests these values proved to be unreliable (like ExtraBlack fonts returning 400). I just hooked the whole thing in so this work isn't lost if anyone has an idea to make it work. The FontInfoFinder will continue to only use guessed font weights for now.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629131 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed NPE when no AFM is available and the PFM didn't provide a xHeight.
Jeremias Maerki [Tue, 19 Feb 2008 15:43:31 +0000 (15:43 +0000)]
Fixed NPE when no AFM is available and the PFM didn't provide a xHeight.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629129 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugfix: a specified font-weight of 100 could result into a resolved font-weight of...
Jeremias Maerki [Tue, 19 Feb 2008 14:16:08 +0000 (14:16 +0000)]
Bugfix: a specified font-weight of 100 could result into a resolved font-weight of 400 even when a font with weight 200 is registered.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629103 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla #44451:
Jeremias Maerki [Tue, 19 Feb 2008 13:08:39 +0000 (13:08 +0000)]
Bugzilla #44451:
The patch fixes two problems:
- If distinct fonts declare the same font family name, the resulting font mapping is currently arbitrary; now, a name-similarity heuristic is used to prioritize the font mappings.
- "Medium" and "demi" fonts are now recognized as "bold", solving several real-world problems (although this solution may be an oversimplification).
Submitted by: Justus Piater <justus-bulk.at.piater.name>

Patch modified by jeremias:
- Style fixes (tab chars)
- Refined font weight identification: medium -> 500, semi/demi -> 600

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629093 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStyle only: removed spurious ^M characters at the end of lines
Vincent Hennebert [Tue, 19 Feb 2008 09:36:23 +0000 (09:36 +0000)]
Style only: removed spurious ^M characters at the end of lines

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629048 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMakes sense to mention the removal of deprecated methods.
Jeremias Maerki [Mon, 18 Feb 2008 17:30:15 +0000 (17:30 +0000)]
Makes sense to mention the removal of deprecated methods.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628829 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMade the necessary changes to remove the long-standing deprecations in the apps packa...
Jeremias Maerki [Mon, 18 Feb 2008 17:24:23 +0000 (17:24 +0000)]
Made the necessary changes to remove the long-standing deprecations in the apps package as discussed.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628826 13f79535-47bb-0310-9956-ffa450edef68

16 years agoIt currently doesn't work properly without a layout-master-set.
Jeremias Maerki [Mon, 18 Feb 2008 17:06:39 +0000 (17:06 +0000)]
It currently doesn't work properly without a layout-master-set.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628816 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReducing noise. Better messages.
Jeremias Maerki [Mon, 18 Feb 2008 16:45:18 +0000 (16:45 +0000)]
Reducing noise. Better messages.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628804 13f79535-47bb-0310-9956-ffa450edef68

16 years agofop-rgb-icc() function did not make the round-trip which caused an error in the color...
Jeremias Maerki [Mon, 18 Feb 2008 15:02:39 +0000 (15:02 +0000)]
fop-rgb-icc() function did not make the round-trip which caused an error in the color_1.xml test case (intermediate format tests). Added a unit test to test the parsing and round-trip.
Documented the cmyk() function.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628775 13f79535-47bb-0310-9956-ffa450edef68

16 years agoExtract original exception in BasePDFTestCase.java. They are normally embedded in...
Jeremias Maerki [Mon, 18 Feb 2008 09:41:03 +0000 (09:41 +0000)]
Extract original exception in BasePDFTestCase.java. They are normally embedded in a TransformerException and sometimes additionally in a SAXException (depending on the JAXP implementation).
Restore validation for Base14 font check when PDF/A is active. Got lost when I refactored to generic structures in the PDF library.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628668 13f79535-47bb-0310-9956-ffa450edef68

16 years agoNo stack traces with missing images.
Jeremias Maerki [Mon, 18 Feb 2008 09:00:08 +0000 (09:00 +0000)]
No stack traces with missing images.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628652 13f79535-47bb-0310-9956-ffa450edef68

16 years agoExtracted most of the code in CodePointMapping (generated by XSLT) into a base class...
Jeremias Maerki [Sat, 16 Feb 2008 12:28:48 +0000 (12:28 +0000)]
Extracted most of the code in CodePointMapping (generated by XSLT) into a base class for easier maintenance and proper Javadocs.
Deprecated FOP's copy of Glyphs.java.
Took a different approach at handling mapping alternatives for single-byte fonts. The AFM now only lists the main character. Substitution is done through Glyphs.java later in CodePointMapping.
Fixed a problem in Type1FontLoader where the PFM overrides asc/desc/cap/x even though the AFM provides the values. It showed itself because the URW Symbol font has wrong values in the PFM.
Added a note to myself in Type1FontLoader to implement the "Flags" value. The whole thing still seems to work without that part.
Added a glyph name list to the CodePointMapping so we can work with the original list from the AFM. Otherwise, various mapping operations to and from resulted in unwanted mappings (because the mappings are not necessarily 1:1) and in the end the PDF received an incorrect Encoding map. Now there's no such problem anymore.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628280 13f79535-47bb-0310-9956-ffa450edef68

16 years agorowStarted doesn't need to be set in the signalNewRow method. If it is, it will preve...
Vincent Hennebert [Fri, 15 Feb 2008 18:33:12 +0000 (18:33 +0000)]
rowStarted doesn't need to be set in the signalNewRow method. If it is, it will prevent the startTablePart event from being triggered on RowGroupBuilder, in addChildNode. This will lead to a NPE being thrown in CollapsingBorderResolver because it would be improperly set up.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628140 13f79535-47bb-0310-9956-ffa450edef68

16 years agobreak-after set on the last child of a row-spanning cell must apply to the last row...
Vincent Hennebert [Thu, 14 Feb 2008 12:09:05 +0000 (12:09 +0000)]
break-after set on the last child of a row-spanning cell must apply to the last row spanned by the cell

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627721 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCreated Constants for unit descriptions
Maximilian Berger [Thu, 14 Feb 2008 11:57:05 +0000 (11:57 +0000)]
Created Constants for unit descriptions

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627719 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSimplified the detection of double as integer
Vincent Hennebert [Thu, 14 Feb 2008 11:36:01 +0000 (11:36 +0000)]
Simplified the detection of double as integer

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627712 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix problem with alternate Unicode code point overriding existing better ones in...
Jeremias Maerki [Thu, 14 Feb 2008 10:41:26 +0000 (10:41 +0000)]
Fix problem with alternate Unicode code point overriding existing better ones in CodePointMapping (ex. a char code for NBSP was used in place of SPACE for non-standard encodings).
Made PFM completely optional if an AFM is available. Widths and Kerning are now also read from the AFM. Fallbacks for missing values are in place. If both AFM and PFM are available, both are used to get the best possible result for certain metrics.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627702 13f79535-47bb-0310-9956-ffa450edef68

16 years agoWhen I first saw this it surprised me, it seems to have been here for quite some...
Adrian Cumiskey [Thu, 14 Feb 2008 10:12:48 +0000 (10:12 +0000)]
When I first saw this it surprised me, it seems to have been here for quite some time.
The code block directly following this if/else condition was identical so I removed the copy/paste duplication and refactored it.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627698 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded support for Type 1 fonts which don't use the AdobeStandardEncoding for PDF...
Jeremias Maerki [Thu, 14 Feb 2008 08:12:34 +0000 (08:12 +0000)]
Added support for Type 1 fonts which don't use the AdobeStandardEncoding for PDF and PS output. Details:
Added an Type 1 AFM parser (only basic ltr script fonts are properly supported).
Font loading changed slightly to allow loading an AFM in addition to a PFM.
Added some mapping functionality to CodePointMapping. Now we also build custom CodePointMapping instances from AFM files and use it in SingleByteFonts.
Changed more PDF object classes to make use of the generic PDFDictionary and PDFArray base classes.
Type 1 Fonts with a special encoding now register their encoding in the Encoding value of the font dictionary so the mapping is correct. For PS this isn't necessary as the interpreter just uses the font's default encoding.
Refactored CMap building code to it can also be used outside the PDF context. A CMap can now also be built from a single byte encoding.
Update of XML Graphics Commons snapshot.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627679 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMoved to the FO tree stage the check for break-before/after on table-row while spanni...
Vincent Hennebert [Wed, 13 Feb 2008 20:10:01 +0000 (20:10 +0000)]
Moved to the FO tree stage the check for break-before/after on table-row while spanning in progress, and fixed bug #44321 as well

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627576 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded support for breaks before and after table cells
Vincent Hennebert [Wed, 13 Feb 2008 18:11:06 +0000 (18:11 +0000)]
Added support for breaks before and after table cells

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627553 13f79535-47bb-0310-9956-ffa450edef68

16 years agoEasy way to force the discarding of the user's font cache file (especially after...
Jeremias Maerki [Wed, 13 Feb 2008 15:57:01 +0000 (15:57 +0000)]
Easy way to force the discarding of the user's font cache file (especially after the recent changes).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627497 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReplace useless javadoc comment.
Jeremias Maerki [Wed, 13 Feb 2008 15:55:34 +0000 (15:55 +0000)]
Replace useless javadoc comment.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627495 13f79535-47bb-0310-9956-ffa450edef68

16 years agoEnsured all SVN properties are set equally
Maximilian Berger [Wed, 13 Feb 2008 12:03:30 +0000 (12:03 +0000)]
Ensured all SVN properties are set equally

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627367 13f79535-47bb-0310-9956-ffa450edef68

16 years agoEnsured all SVN properties are set equally
Maximilian Berger [Wed, 13 Feb 2008 09:35:01 +0000 (09:35 +0000)]
Ensured all SVN properties are set equally

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627324 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded *.xml to svn:ignore
Maximilian Berger [Wed, 13 Feb 2008 09:12:25 +0000 (09:12 +0000)]
Added *.xml to svn:ignore

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627318 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed wrong numbering of cells
Vincent Hennebert [Tue, 12 Feb 2008 11:12:25 +0000 (11:12 +0000)]
Fixed wrong numbering of cells

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620761 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSimplification.
Jeremias Maerki [Tue, 12 Feb 2008 10:45:50 +0000 (10:45 +0000)]
Simplification.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620750 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla #44393:
Jeremias Maerki [Tue, 12 Feb 2008 08:23:04 +0000 (08:23 +0000)]
Bugzilla #44393:
Recognize the newly used EN_AUTO constant for break values. Other LMs generate a -1 value for this case.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620723 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMissing file from r620283
Andreas L. Delmelle [Mon, 11 Feb 2008 18:36:14 +0000 (18:36 +0000)]
Missing file from r620283

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620570 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDisabled region-body_column-count_bug#37468 testcase because of bug 44393
Vincent Hennebert [Mon, 11 Feb 2008 18:24:00 +0000 (18:24 +0000)]
Disabled region-body_column-count_bug#37468 testcase because of bug 44393

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620567 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBetter javadoc for break class
Vincent Hennebert [Mon, 11 Feb 2008 18:18:13 +0000 (18:18 +0000)]
Better javadoc for break class

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620565 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed illegal character in the file
Vincent Hennebert [Mon, 11 Feb 2008 18:11:09 +0000 (18:11 +0000)]
Fixed illegal character in the file

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620559 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded full support for breaks inside table-cell elements
Vincent Hennebert [Mon, 11 Feb 2008 18:10:09 +0000 (18:10 +0000)]
Added full support for breaks inside table-cell elements

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620558 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla 41631: Percentage resolution for arguments to proportional-column-width()
Andreas L. Delmelle [Sun, 10 Feb 2008 13:42:39 +0000 (13:42 +0000)]
Bugzilla 41631: Percentage resolution for arguments to proportional-column-width()

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620285 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrection/Rectification of changes made in r617989:
Andreas L. Delmelle [Sun, 10 Feb 2008 13:17:20 +0000 (13:17 +0000)]
Correction/Rectification of changes made in r617989:
* adjustment in ColorUtil to cater for the change
* added check to the color_1.xml testcase, checking for bug 43705

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620283 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMissing file from r620272
Andreas L. Delmelle [Sun, 10 Feb 2008 13:07:34 +0000 (13:07 +0000)]
Missing file from r620272

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620278 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTweak: wrap numeric values internally in Integers or Longs if possible, Doubles only...
Andreas L. Delmelle [Sun, 10 Feb 2008 13:01:07 +0000 (13:01 +0000)]
Tweak: wrap numeric values internally in Integers or Longs if possible, Doubles only if necessary.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620277 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRevisit background-position shorthand implementation: always convert to percentages...
Andreas L. Delmelle [Sun, 10 Feb 2008 12:50:47 +0000 (12:50 +0000)]
Revisit background-position shorthand implementation: always convert to percentages (more possibilities/precision).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620276 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSome minor tweaks:
Andreas L. Delmelle [Sun, 10 Feb 2008 12:31:46 +0000 (12:31 +0000)]
Some minor tweaks:
* added convenience shortcut to PropertyInfo to get to the user agent.
* replaced occurrences to use the shortcut in PropertyParser and RGBColorFunction.
* PropertyParser -> 0% of a length always yields FixedLength.ZERO_FIXED_LENGTH

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620272 13f79535-47bb-0310-9956-ffa450edef68

16 years agoIn addKnuthElementsForBorderPaddingXXX, if the returnlist is a
Simon Pepping [Fri, 8 Feb 2008 19:20:27 +0000 (19:20 +0000)]
In addKnuthElementsForBorderPaddingXXX, if the returnlist is a
BlockKnuthSequence, the border and padding should be added to the
first or last paragraph inside it, but it is too late to do that
now. At least, avoid adding it to the bpd sequence.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619979 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTestcase for bug #43676, which is now fixed
Vincent Hennebert [Fri, 8 Feb 2008 15:59:21 +0000 (15:59 +0000)]
Testcase for bug #43676, which is now fixed

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619923 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded missing width for Euro glyph.
Jeremias Maerki [Fri, 8 Feb 2008 13:23:47 +0000 (13:23 +0000)]
Added missing width for Euro glyph.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619870 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAlso display the column index in the toString method
Vincent Hennebert [Fri, 8 Feb 2008 12:14:01 +0000 (12:14 +0000)]
Also display the column index in the toString method

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619856 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoved the 900 penalty mechanism which anyway almost always produced visually bad...
Vincent Hennebert [Fri, 8 Feb 2008 12:11:04 +0000 (12:11 +0000)]
Removed the 900 penalty mechanism which anyway almost always produced visually bad results. Now the first step for a row is computed so that each cell starting on it can contribute some content.
Used a similar mechanism to replace backtracking: the current row is now allowed to grow as long as there is not enough space on the current page to make the next row fit. The next row is "delayed", so this mechanism is called "row-delaying"

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619854 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded a clarification that this bug affected PDF/A compliance.
Jeremias Maerki [Fri, 8 Feb 2008 07:27:06 +0000 (07:27 +0000)]
Added a clarification that this bug affected PDF/A compliance.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619790 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTweak: modify PercentLength.toString() to return a value that facilitates debugging.
Andreas L. Delmelle [Thu, 7 Feb 2008 22:41:26 +0000 (22:41 +0000)]
Tweak: modify PercentLength.toString() to return a value that facilitates debugging.
Moved the original code to a getString() implementation, which is now used by the fotree test suite.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619674 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTweak: early percentage resolution by the parser (if the base is known and absolute...
Andreas L. Delmelle [Thu, 7 Feb 2008 22:32:27 +0000 (22:32 +0000)]
Tweak: early percentage resolution by the parser (if the base is known and absolute). Reduces the number of PercentLength instances in favor of cached FixedLengths.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619670 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugfix for date formatting with negative time zones in the PDF's Info object.
Jeremias Maerki [Thu, 7 Feb 2008 15:42:03 +0000 (15:42 +0000)]
Bugfix for date formatting with negative time zones in the PDF's Info object.
Update of xmlgraphics-commons-1.3.jar because of a similar bug with formatting dates in XMP.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619461 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded an option to disable the default sRGB profile in PDF output for those who don...
Jeremias Maerki [Thu, 7 Feb 2008 14:02:44 +0000 (14:02 +0000)]
Added an option to disable the default sRGB profile in PDF output for those who don't care about color fidelity, but care about PDF file size. Note that this option is not possible if PDF/A, PDF/X or an output profile is used. Makes simple PDFs about 4KB smaller. Ha!

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619417 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla #36391:
Jeremias Maerki [Wed, 6 Feb 2008 14:07:03 +0000 (14:07 +0000)]
Bugzilla #36391:
Fixed problem with positioning of content when reference-orientation="180" is used. CTM is now correct. It is updated after the height of the content is known. Instead of somehow inverting the element list, I've simply declared this case non-breakable, i.e. I generate one box.

Fixed a few other problems mostly occurring when rotating block-container content by 90 or 270 degrees plus a few remaining auto-height handling problems. This involved switching off some sometimes unwanted side-effects from auto-updating the BPD in some area classes.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@618992 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFOX_TRANSFORM constant should be static.
Jeremias Maerki [Tue, 5 Feb 2008 12:35:42 +0000 (12:35 +0000)]
FOX_TRANSFORM constant should be static.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@618627 13f79535-47bb-0310-9956-ffa450edef68

16 years agoChange PDFPage to use PDFDictionary in order to make it possible to better set MediaB...
Jeremias Maerki [Tue, 5 Feb 2008 12:34:56 +0000 (12:34 +0000)]
Change PDFPage to use PDFDictionary in order to make it possible to better set MediaBox/TrimBox/BleedBox.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@618626 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded testcase for Bugzilla 44343
Andreas L. Delmelle [Mon, 4 Feb 2008 22:26:53 +0000 (22:26 +0000)]
Added testcase for Bugzilla 44343

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@618470 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed minor typo I stumbled upon while doing something completely unrelated
Vincent Hennebert [Mon, 4 Feb 2008 11:25:13 +0000 (11:25 +0000)]
Fixed minor typo I stumbled upon while doing something completely unrelated

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@618239 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla 43705:
Andreas L. Delmelle [Sun, 3 Feb 2008 14:11:40 +0000 (14:11 +0000)]
Bugzilla 43705:
Fixed a bug when the rgb-icc() function was used before the fo:declarations,
or in documents without fo:declarations. Function now correctly (?) reverts
to the sRGB fallback in those cases.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617989 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded very basic parsing for the xml:lang shorthand.
Andreas L. Delmelle [Sun, 3 Feb 2008 12:05:49 +0000 (12:05 +0000)]
Added very basic parsing for the xml:lang shorthand.
No validation of the specified value, but the language and country
properties now do take the shorthand into account to determine their
value.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617976 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSlight correction for pixel-values: pass the ratio of pixels-per-point into FixedLeng...
Andreas L. Delmelle [Sat, 2 Feb 2008 22:18:30 +0000 (22:18 +0000)]
Slight correction for pixel-values: pass the ratio of pixels-per-point into FixedLength.getInstance()

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617909 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFurther improvement in FixedLength:
Andreas L. Delmelle [Sat, 2 Feb 2008 22:11:12 +0000 (22:11 +0000)]
Further improvement in FixedLength:
* added a special ZERO_FIXED_LENGTH instance
* store only non-zero values in the PropertyCache

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617907 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFurther cleanup/refinement of FixedLength:
Andreas L. Delmelle [Sat, 2 Feb 2008 15:13:40 +0000 (15:13 +0000)]
Further cleanup/refinement of FixedLength:
* improve consistency in use of the PropertyCache
  remove public constructor ->  replaced by getInstance() in a handful of classes
* added a sourceResolution parameter to getInstance() and the private
  constructor to allow better handling of device-dependent units (px)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617812 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed transcoder test after yesterday's changes.
Jeremias Maerki [Sat, 2 Feb 2008 06:45:39 +0000 (06:45 +0000)]
Fixed transcoder test after yesterday's changes.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617765 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor cleanup/improvement:
Andreas L. Delmelle [Sat, 2 Feb 2008 00:06:29 +0000 (00:06 +0000)]
Minor cleanup/improvement:
- FontSizePropertyMaker: remove redundant casts (FixedLength already casts the doubles internally)
- FixedLength: reduce visibility of 'fishy' convert() method (not used anywhere else)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617716 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla 44343:
Andreas L. Delmelle [Fri, 1 Feb 2008 23:30:13 +0000 (23:30 +0000)]
Bugzilla 44343:
Fixed a bug when using relative (smaller/larger) font-sizes in combination with percentages.
Percentages now resolved as per the spec (XSL-FO 1.1 7.9.4):
"A percentage value specifies an absolute font size relative to the parent element's font-size."

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617708 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdd a note about color space overrides which currently aren't supported for natively...
Jeremias Maerki [Fri, 1 Feb 2008 16:31:24 +0000 (16:31 +0000)]
Add a note about color space overrides which currently aren't supported for natively handled images, yet.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617550 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMove sRGB installation into the PDF library. That way it can be used in PDFDocumentGr...
Jeremias Maerki [Fri, 1 Feb 2008 16:02:33 +0000 (16:02 +0000)]
Move sRGB installation into the PDF library. That way it can be used in PDFDocumentGraphics2D, too (via AbstractImageAdapter).
Ensures correct handling of sRGB images in PDFTranscoder.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617531 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAlphaRasterImage now knows how to deal with TYPE_INT Rasters.
Jeremias Maerki [Fri, 1 Feb 2008 14:58:30 +0000 (14:58 +0000)]
AlphaRasterImage now knows how to deal with TYPE_INT Rasters.
Streamlined image handling in Graphics2D.
Support natively handling CCITT images in SVG images.
Add fallback to device RGB if sRGB isn't set up as the default color space in PDF.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617512 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImplemented drawRenderedImage() which fixes painting of PNG images embedded inside...
Jeremias Maerki [Fri, 1 Feb 2008 11:11:02 +0000 (11:11 +0000)]
Implemented drawRenderedImage() which fixes painting of PNG images embedded inside SVG images.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617473 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdate lib README based on recent findings.
Jeremias Maerki [Thu, 31 Jan 2008 13:44:46 +0000 (13:44 +0000)]
Update lib README based on recent findings.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617126 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoved the Dijkstra stuff as it was moved to Commons.
Jeremias Maerki [Wed, 30 Jan 2008 16:03:00 +0000 (16:03 +0000)]
Removed the Dijkstra stuff as it was moved to Commons.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@616798 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoving the previous entry because the new one basically covers the other, too.
Jeremias Maerki [Wed, 30 Jan 2008 09:05:30 +0000 (09:05 +0000)]
Removing the previous entry because the new one basically covers the other, too.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@616694 13f79535-47bb-0310-9956-ffa450edef68

16 years ago"cvt ", "fpgm" and "prep" are all optional tables in TrueType. Some PDF viewers fail...
Jeremias Maerki [Wed, 30 Jan 2008 08:53:48 +0000 (08:53 +0000)]
"cvt ", "fpgm" and "prep" are all optional tables in TrueType. Some PDF viewers fail because FOP didn't handle those correctly.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@616691 13f79535-47bb-0310-9956-ffa450edef68