]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
18 years agoMake FontInfo look for the same font-family and weight first, but with default font...
Andreas L. Delmelle [Tue, 29 Aug 2006 22:00:29 +0000 (22:00 +0000)]
Make FontInfo look for the same font-family and weight first, but with default font-style

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

18 years agoSome javadoc improvements
Andreas L. Delmelle [Tue, 29 Aug 2006 21:42:54 +0000 (21:42 +0000)]
Some javadoc improvements

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

18 years agoMy last attempt at fixing SVG gradients in PDF wasn't successful. This one is:
Jeremias Maerki [Sat, 26 Aug 2006 18:59:42 +0000 (18:59 +0000)]
My last attempt at fixing SVG gradients in PDF wasn't successful. This one is:
Improved resolution of transformation matrices in PDF patterns.
Renamed PDFState.setTransform() to PDFState.concatenate() because setTransform() does a concationation and is therefore misleading. The old method is still there (just in case) but it is deprecated.
Simplified the whole transformation tracking by including the basic page transformation in the stack.
Verified the changes with basic-links in FO, fixed block-containers, a-links in SVG and SVG gradients.

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

18 years agoJust isn't my day... last one
Andreas L. Delmelle [Thu, 24 Aug 2006 21:29:48 +0000 (21:29 +0000)]
Just isn't my day... last one

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

18 years agoAnother slip...
Andreas L. Delmelle [Thu, 24 Aug 2006 21:27:31 +0000 (21:27 +0000)]
Another slip...

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

18 years agoForgot FOTree tests after r434497 => re-enabled and rectified...
Andreas L. Delmelle [Thu, 24 Aug 2006 21:25:02 +0000 (21:25 +0000)]
Forgot FOTree tests after r434497 => re-enabled and rectified...

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

18 years agoA few changes combined:
Andreas L. Delmelle [Thu, 24 Aug 2006 20:32:02 +0000 (20:32 +0000)]
A few changes combined:

1) Bugzilla #40308
   Added relaxed validation for non-unique ids
   as suggested by Hussein Shafi (hussein.at.xmlmind.com)

2) Checkstyle cleanup in FObj

3) Changed propertyMakerTable to a static final, and
   altered FOPropertyMapping, to be 100% certain that
   the static arrays are only structurally modified
   once

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

18 years agoReset visibility to public...
Andreas L. Delmelle [Thu, 24 Aug 2006 20:11:09 +0000 (20:11 +0000)]
Reset visibility to public...

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

18 years agoFix: suppressed call to PercentLength.getBaseLength() without context (introduced...
Andreas L. Delmelle [Thu, 24 Aug 2006 20:08:26 +0000 (20:08 +0000)]
Fix: suppressed call to PercentLength.getBaseLength() without context (introduced in r433385)

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

18 years agoMinor improvement: avoid potential problems in case of nested blocks
Andreas L. Delmelle [Wed, 23 Aug 2006 11:28:29 +0000 (11:28 +0000)]
Minor improvement: avoid potential problems in case of nested blocks

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

18 years agoCleanup: removal of suspicious static in FOText
Andreas L. Delmelle [Wed, 23 Aug 2006 00:10:20 +0000 (00:10 +0000)]
Cleanup: removal of suspicious static in FOText

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

18 years agocorrected a couple of javadoc warnings issued by checkstyle
Chris Bowditch [Tue, 22 Aug 2006 15:49:26 +0000 (15:49 +0000)]
corrected a couple of javadoc warnings issued by checkstyle

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

18 years agoMinor enhancement of column-number property code / removal of unused method
Andreas L. Delmelle [Tue, 22 Aug 2006 01:43:29 +0000 (01:43 +0000)]
Minor enhancement of column-number property code / removal of unused method

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

18 years agoMinor enhancement of FOTree test output
Andreas L. Delmelle [Tue, 22 Aug 2006 01:39:35 +0000 (01:39 +0000)]
Minor enhancement of FOTree test output

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

18 years agoReset visibility to public
Andreas L. Delmelle [Mon, 21 Aug 2006 22:19:35 +0000 (22:19 +0000)]
Reset visibility to public

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

18 years agoMinor fix: set negative values to zero for b-p-d/i-p-d
Andreas L. Delmelle [Mon, 21 Aug 2006 21:59:30 +0000 (21:59 +0000)]
Minor fix: set negative values to zero for b-p-d/i-p-d

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

18 years agoRework of default column-creation and setting column-widths from the first row (fixes...
Andreas L. Delmelle [Mon, 21 Aug 2006 17:18:37 +0000 (17:18 +0000)]
Rework of default column-creation and setting column-widths from the first row (fixes Bugzilla 35656)

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

18 years agoChanged testcases failing due to r432190
Andreas L. Delmelle [Thu, 17 Aug 2006 21:50:36 +0000 (21:50 +0000)]
Changed testcases failing due to r432190

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

18 years agoCorrection: r432201 caused FOTree test failure
Andreas L. Delmelle [Thu, 17 Aug 2006 19:41:34 +0000 (19:41 +0000)]
Correction: r432201 caused FOTree test failure

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

18 years agoCleanup: removed obsolete class
Andreas L. Delmelle [Thu, 17 Aug 2006 18:32:50 +0000 (18:32 +0000)]
Cleanup: removed obsolete class

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

18 years agoC&P error, left the old bug number
Andreas L. Delmelle [Thu, 17 Aug 2006 15:16:36 +0000 (15:16 +0000)]
C&P error, left the old bug number

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

18 years agoForgot to include status.xml on last two commits
Andreas L. Delmelle [Thu, 17 Aug 2006 15:08:11 +0000 (15:08 +0000)]
Forgot to include status.xml on last two commits

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

18 years agoAdded relaxed validation for empty list-item-* (as produced by the buggy Microsoft...
Andreas L. Delmelle [Thu, 17 Aug 2006 10:25:27 +0000 (10:25 +0000)]
Added relaxed validation for empty list-item-* (as produced by the buggy Microsoft Word2FO stylesheet)

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

18 years agoA nit: use PropertyInfo methods instead of accessing the PropertyList
Andreas L. Delmelle [Thu, 17 Aug 2006 09:50:54 +0000 (09:50 +0000)]
A nit: use PropertyInfo methods instead of accessing the PropertyList

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

18 years agoShould cause an error when used with auto-layout
Andreas L. Delmelle [Thu, 17 Aug 2006 09:40:14 +0000 (09:40 +0000)]
Should cause an error when used with auto-layout

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

18 years agoBugfix: Corrected painting of shading patterns and position of links for SVG images...
Jeremias Maerki [Fri, 11 Aug 2006 12:47:35 +0000 (12:47 +0000)]
Bugfix: Corrected painting of shading patterns and position of links for SVG images inside FO documents.

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

18 years agoHelper XSLT which can split an FO file into multiple FO files at page-sequence bounda...
Jeremias Maerki [Wed, 9 Aug 2006 20:20:35 +0000 (20:20 +0000)]
Helper XSLT which can split an FO file into multiple FO files at page-sequence boundaries.

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

18 years agoSmall update in the table-layout code
Andreas L. Delmelle [Tue, 8 Aug 2006 15:40:12 +0000 (15:40 +0000)]
Small update in the table-layout code

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

18 years agoSmall update in the table-layout code
Andreas L. Delmelle [Tue, 8 Aug 2006 15:26:54 +0000 (15:26 +0000)]
Small update in the table-layout code

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

18 years agoRework of the marker/retrieve-marker implementation to cater for correct evaluation...
Andreas L. Delmelle [Sun, 6 Aug 2006 18:23:59 +0000 (18:23 +0000)]
Rework of the marker/retrieve-marker implementation to cater for correct evaluation of percentages and relative font-sizes, as well as more correct white-space handling.

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

18 years agoBugzilla #39840:
Jeremias Maerki [Fri, 4 Aug 2006 15:13:53 +0000 (15:13 +0000)]
Bugzilla #39840:
Changed the way overflowing pages are handled. The overflow property on region-body is now used to define the behaviour. It removes the "Some content could not fit..." exception that bugged so many. However, the change does not yet change any keep behaviour.

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

18 years agoFixed a memory-leak: The FO tree part of a page-sequence was not released when a...
Jeremias Maerki [Thu, 3 Aug 2006 16:53:41 +0000 (16:53 +0000)]
Fixed a memory-leak: The FO tree part of a page-sequence was not released when a page-sequence was finished.

Added a "MemoryEater" debug helper which can replicate page-sequences of a regular FO file using the fo-replicator.xsl. Without the fix a JVM set to the normal 64MB heap size throws an OutOfMemoryError when replicating readme.fo 150 times. With the fix the memory consumption doesn't go above 10MB for the 1350 pages. Note that about one third of the time goes into garbage collection.

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

18 years agoDocumentation update for the "output-profile" value necessary for PDF/X-3:2003.
Jeremias Maerki [Thu, 3 Aug 2006 07:41:39 +0000 (07:41 +0000)]
Documentation update for the "output-profile" value necessary for PDF/X-3:2003.
Some updates for the config schema.

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

18 years agoReestablish custom font configuration for PDFTranscoder.
Jeremias Maerki [Wed, 2 Aug 2006 20:37:18 +0000 (20:37 +0000)]
Reestablish custom font configuration for PDFTranscoder.

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

18 years agoBy using the getRGB() method we convert all PNG images to sRGB regardless of their...
Jeremias Maerki [Wed, 2 Aug 2006 15:50:20 +0000 (15:50 +0000)]
By using the getRGB() method we convert all PNG images to sRGB regardless of their original color spaces. So we should also always return the sRGB color space. Otherwise, grayscale PNGs, for example, will not be displayed correctly.

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

18 years agoBugfix: Table headers and footers were swallowed when a table was nested in a list...
Jeremias Maerki [Wed, 2 Aug 2006 14:49:00 +0000 (14:49 +0000)]
Bugfix: Table headers and footers were swallowed when a table was nested in a list-block.

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

18 years agoMerge from Temp_Floats branch:
Jeremias Maerki [Wed, 2 Aug 2006 09:28:51 +0000 (09:28 +0000)]
Merge from Temp_Floats branch:
Fixed a bug with indent handling when margins are used on a surrounding block and not start/end-indent.

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

18 years agoChanged license headers and updated NOTICE file according to: http://www.apache.org...
Jeremias Maerki [Fri, 28 Jul 2006 15:44:37 +0000 (15:44 +0000)]
Changed license headers and updated NOTICE file according to: http://www.apache.org/legal/src-headers.html

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

18 years agoOops. Wrong copyright.
Jeremias Maerki [Fri, 28 Jul 2006 14:49:11 +0000 (14:49 +0000)]
Oops. Wrong copyright.

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

18 years agoBugzilla #40106:
Jeremias Maerki [Fri, 28 Jul 2006 10:04:23 +0000 (10:04 +0000)]
Bugzilla #40106:
Compatibility fix for GCJ (GNU Classpath): Using "UTF-16BE" instead of "UnicodeBigUnmarked" encoding.
Submitted by: Jeroen Meijer <jmeijer.at.notice.nu>

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

18 years agoJust a few nits
Jeremias Maerki [Fri, 28 Jul 2006 09:38:09 +0000 (09:38 +0000)]
Just a few nits

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

18 years agoAdded support for a 8x8 bayer dither matrix if anyone wants to try that. Currently...
Jeremias Maerki [Fri, 28 Jul 2006 09:26:20 +0000 (09:26 +0000)]
Added support for a 8x8 bayer dither matrix if anyone wants to try that. Currently, 4x4 is hard-coded. The 8x8 might only be an option for larger areas (i.e. not text) but the results didn't look any better when printed.

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

18 years agoAttempt to make grayscale patterns look nicer when using PCL commands. The standard...
Jeremias Maerki [Wed, 26 Jul 2006 12:06:49 +0000 (12:06 +0000)]
Attempt to make grayscale patterns look nicer when using PCL commands. The standard PCL shades are very coarse and I replaced them with a simple 4x4 bayer dither pattern defined as a user-defined pattern in PCL.
Current side-effect: Darker gray values will result in almost black output on some printers (at least on mine).

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

18 years agoActivating ImageIOImage for reading PNG images in the ImageFactory made some test...
Jeremias Maerki [Mon, 24 Jul 2006 20:40:02 +0000 (20:40 +0000)]
Activating ImageIOImage for reading PNG images in the ImageFactory made some test cases fail. The reason is that the PNGReader cannot extract the image resolution and leaves the default of 72dpi.
Added code to inspect the image metadata for resolution info.
I added the same hack as is already used in PNGImage to force loading the whole image when the image dimensions are requested, i.e. getting the right image size is more important than efficient memory use for now.
The image package needs that redesign sooner or later....

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

18 years agoPromote AFP and PCL renderers from sandbox to main source tree.
Jeremias Maerki [Mon, 24 Jul 2006 13:24:10 +0000 (13:24 +0000)]
Promote AFP and PCL renderers from sandbox to main source tree.

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

18 years agoPromote AFP and PCL renderers from sandbox to main source tree.
Jeremias Maerki [Mon, 24 Jul 2006 13:17:12 +0000 (13:17 +0000)]
Promote AFP and PCL renderers from sandbox to main source tree.

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

18 years agoPromoting the PCL renderer from sandbox to the main source tree.
Jeremias Maerki [Mon, 24 Jul 2006 13:16:23 +0000 (13:16 +0000)]
Promoting the PCL renderer from sandbox to the main source tree.

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

18 years agoPromoting the AFP renderer from sandbox to the main source tree.
Jeremias Maerki [Mon, 24 Jul 2006 13:15:33 +0000 (13:15 +0000)]
Promoting the AFP renderer from sandbox to the main source tree.

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

18 years agoDocument PCL-specific extension.
Jeremias Maerki [Mon, 24 Jul 2006 09:40:30 +0000 (09:40 +0000)]
Document PCL-specific extension.

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

18 years agoBugzilla #40062:
Jeremias Maerki [Mon, 24 Jul 2006 09:28:13 +0000 (09:28 +0000)]
Bugzilla #40062:
Fixed handling for CCITT Group 4 images with fill order 2.
Submitted by: Gilles Beaugeais <gbeaugeais.at.voila.fr>

JM: Patch slightly modified/streamlined.

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

18 years agoBugzilla #38714 and #40048:
Jeremias Maerki [Mon, 24 Jul 2006 08:50:48 +0000 (08:50 +0000)]
Bugzilla #38714 and #40048:
Fixed setting of page margin like it was done in the print renderer.

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

18 years agoApacheCon is over, ApacheCon coming up.
Jeremias Maerki [Mon, 24 Jul 2006 08:04:07 +0000 (08:04 +0000)]
ApacheCon is over, ApacheCon coming up.

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

18 years agoCommand-line integration of PDF/X support. Generalized the specifying of PDF profiles...
Jeremias Maerki [Mon, 24 Jul 2006 07:43:19 +0000 (07:43 +0000)]
Command-line integration of PDF/X support. Generalized the specifying of PDF profiles (-pdfprofile parameter).
Documentation update for PDF/A.
Documentation for PDF/X.

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

18 years agoFixed two memory-leaks in image handling (ImageFactory and ExternalGraphic). The...
Jeremias Maerki [Fri, 21 Jul 2006 15:01:17 +0000 (15:01 +0000)]
Fixed two memory-leaks in image handling (ImageFactory and ExternalGraphic). The image cache is finally working properly. Currently implemented without the cleanup thread as done by Batik.
Added ImageIO provider for handling PNG in addition to the internal codec. ImageIO proved to be faster and less memory-intensive for PNGs. ImageIO takes precedence of the internal codec.

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

18 years agoA W3C schema for FOP user configuration files
Simon Pepping [Sun, 16 Jul 2006 19:31:52 +0000 (19:31 +0000)]
A W3C schema for FOP user configuration files

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

18 years agoFixed removeNode() as discussed on fop-dev. No more checks for footnotes and removal...
Jeremias Maerki [Thu, 13 Jul 2006 12:08:52 +0000 (12:08 +0000)]
Fixed removeNode() as discussed on fop-dev. No more checks for footnotes and removal of nodes even if they are not in the normally expected order.

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

18 years agoRDF calendar file for http://asylum.zones.apache.org/rdfcal/
Jeremias Maerki [Tue, 11 Jul 2006 13:54:26 +0000 (13:54 +0000)]
RDF calendar file for http://asylum.zones.apache.org/rdfcal/

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

18 years agoBugzilla #39608:
Jeremias Maerki [Tue, 11 Jul 2006 12:45:29 +0000 (12:45 +0000)]
Bugzilla #39608:
Let numeric property values without a unit be treated as pixels like in HTML. This fixes certain NullPointerExceptions when no units are specified.

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

18 years agoBugfix: Potential multi-threading issue (ConcurrentModificationException) eliminated...
Jeremias Maerki [Tue, 11 Jul 2006 11:42:27 +0000 (11:42 +0000)]
Bugfix: Potential multi-threading issue (ConcurrentModificationException) eliminated for ElementMapping classes.

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

18 years agoMade FOUserAgent.configure() protected again (not to tempt any users to play with...
Jeremias Maerki [Tue, 11 Jul 2006 08:28:02 +0000 (08:28 +0000)]
Made FOUserAgent.configure() protected again (not to tempt any users to play with it). Instead improved CommandLineOptions to properly build and adjust the FOUserAgent. Manuel's fix was ok, but I wasn't too comfortable with the public configure() method.

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

18 years agoShowing a problem with SVG used inside a basic-link. The size of the link rect is...
Jeremias Maerki [Tue, 11 Jul 2006 08:13:05 +0000 (08:13 +0000)]
Showing a problem with SVG used inside a basic-link. The size of the link rect is wrong and only spans the area of the nominal line rect. (As reported on fop-users)

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

18 years agoSometimes I do stuff much too quickly. Removed debug code.
Jeremias Maerki [Mon, 10 Jul 2006 20:45:31 +0000 (20:45 +0000)]
Sometimes I do stuff much too quickly. Removed debug code.

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

18 years agoBugzilla #39983:
Jeremias Maerki [Mon, 10 Jul 2006 20:15:17 +0000 (20:15 +0000)]
Bugzilla #39983:
Moved the setting of the system look&feel to CommandLineOptions. Shouldn't really be in PreviewDialog.java.
Added a parameter to createPreviewDialog() so embedders don't get a System.exit() when the user closes the preview dialog. System.exit() may only be called if the preview dialog is the main window.

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

18 years agoBugzilla #39709:
Jeremias Maerki [Mon, 10 Jul 2006 20:11:44 +0000 (20:11 +0000)]
Bugzilla #39709:
Forgot the new trivial interface.

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

18 years agoBugzilla #39709:
Jeremias Maerki [Mon, 10 Jul 2006 19:56:49 +0000 (19:56 +0000)]
Bugzilla #39709:
Some clean-up in the AWT Renderer/Preview.
Submitted by: Stefan Ziel <stefan.ziel.at.claninfo.ch>

Original patch slightly modified for (hopefully) better naming.

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

18 years agoSome config file settings were not correctly set in FOUserAgent when invoked from...
Manuel Mall [Mon, 10 Jul 2006 14:32:07 +0000 (14:32 +0000)]
Some config file settings were not correctly set in FOUserAgent when invoked from command line

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

18 years agoEscape Unicode characters properly for list-item labels.
Jeremias Maerki [Mon, 10 Jul 2006 14:12:20 +0000 (14:12 +0000)]
Escape Unicode characters properly for list-item labels.

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

18 years agoAdded Vincent Hennebert to list of Contributors. Many thanks to Vincent for his contr...
Chris Bowditch [Wed, 5 Jul 2006 08:24:20 +0000 (08:24 +0000)]
Added Vincent Hennebert to list of Contributors. Many thanks to Vincent for his contributions to FOP so far!

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

18 years agoRe-routing SVG painting to the Graphics2DAdapter and teach the latter to respect...
Jeremias Maerki [Thu, 29 Jun 2006 10:13:08 +0000 (10:13 +0000)]
Re-routing SVG painting to the Graphics2DAdapter and teach the latter to respect the renderer's colorImages setting.
Removed obsolete SVGConverter.
This fixes painting SVG at a hard-coded resolution. Now uses the target resolution from the user agent.

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

18 years agoFixed (another) NPE in AFP Renderer
Manuel Mall [Wed, 28 Jun 2006 15:37:51 +0000 (15:37 +0000)]
Fixed (another) NPE in AFP Renderer

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

18 years agoFix NPE if there's no ElementMapping for a particular namespace.
Jeremias Maerki [Tue, 27 Jun 2006 18:17:11 +0000 (18:17 +0000)]
Fix NPE if there's no ElementMapping for a particular namespace.

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

18 years agoFix NPE in case there are no extension attachments and the area tree was built from...
Jeremias Maerki [Tue, 27 Jun 2006 18:16:31 +0000 (18:16 +0000)]
Fix NPE in case there are no extension attachments and the area tree was built from the intermediate format.

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

18 years agoFixed possible NPE in AFP Renderer
Manuel Mall [Mon, 26 Jun 2006 14:08:29 +0000 (14:08 +0000)]
Fixed possible NPE in AFP Renderer

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

18 years agoUpdates to the AFP Renderer documentation
Manuel Mall [Thu, 22 Jun 2006 13:10:40 +0000 (13:10 +0000)]
Updates to the AFP Renderer documentation

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

18 years agoBugfix for NullPointerException when xmp:ModifyDate isn't set in the FO metadata.
Jeremias Maerki [Wed, 21 Jun 2006 13:06:58 +0000 (13:06 +0000)]
Bugfix for NullPointerException when xmp:ModifyDate isn't set in the FO metadata.

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

18 years agoBugzilla #39846, #39847:
Jeremias Maerki [Wed, 21 Jun 2006 07:13:12 +0000 (07:13 +0000)]
Bugzilla #39846, #39847:
Nits
Submitted by: Patrick Paul <ppaul_apache.at.yahoo.ca>

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

18 years agoXML Graphics Commons 1.0 replaced with a SVN snapshot (containing the XMP framework).
Jeremias Maerki [Tue, 20 Jun 2006 14:57:44 +0000 (14:57 +0000)]
XML Graphics Commons 1.0 replaced with a SVN snapshot (containing the XMP framework).
Reworked the XMP support for PDF to use the XMP framework from XML Graphics Commons.
XMP metadata embedded in fo:declarations is now properly handled. Its values are copied to the Info object according to the rules from PDF/A-1.
Metadata values from the user agent (title, author etc.) are properly merged with metadata from the XSL-FO document. UserAgent metadata overrides FO metadata.
Note: This is useful and active even if you don't activate PDF/A support.

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

18 years agoAdded initial support for PDF/X-3:2003 (ISO 15930-6:2003(E)).
Jeremias Maerki [Wed, 14 Jun 2006 14:34:29 +0000 (14:34 +0000)]
Added initial support for PDF/X-3:2003 (ISO 15930-6:2003(E)).
Fixed bugs in PDF/A support: Transparency is now switched off and the CIDSet object is generated for CID fonts.
PDF/A and PDF/X are now "profiles" (see PDFProfile) which are used to control the allowed, required and forbidden features in PDF. PDF/A-1b and PDF/X-3:2003 can both be activated simultaneously as they are compatible.
For PDF/X, color handling has been improved a little (PDFColorSpace is now an interface, the old PDFColorSpace is now PDFDeviceColorSpace) and most importantly, the "DefaultRGB" color space is now mapped to the sRGB color space (for all colors in DeviceRGB) which ensures that all sRGB colors from XSL-FO are also sRGB colors in PDF which wasn't necessarily the case before.
For PDF/X, added support for a custom, non-sRGB output profile because PDF/X requires a "Output Device Profile" (which sRGB is not).
ICC profiles are now shared/cached among images.
Added support for fox:conversion-mode="bitmap" in the PDFRenderer to handle SVGs with transparency when transparency is forbidden (PDF/X and PDF/A). Only drawback: the image is not combined with the background. An opaque bitmap with a white background is generated.

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

18 years agoBugzilla #39809:
Jeremias Maerki [Wed, 14 Jun 2006 07:54:01 +0000 (07:54 +0000)]
Bugzilla #39809:
Fixed NullPointerException when there's no user configuration file for the FOP Ant task.

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

18 years agoBugzilla #39777:
Jeremias Maerki [Wed, 14 Jun 2006 07:47:46 +0000 (07:47 +0000)]
Bugzilla #39777:
Javadocs updates and code touch-ups
Submitted by: Vincent Hennebert <vincent.hennebert.at.enseeiht.fr>

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

18 years agoTest case for change/revision 411180 ("Extends white-space removal to occur also...
Jeremias Maerki [Mon, 12 Jun 2006 09:30:18 +0000 (09:30 +0000)]
Test case for change/revision 411180 ("Extends white-space removal to occur also before nested block-*level* FOs instead of only blocks.")

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

18 years agoDocumentation update for Java2DRenderer and descendants.
Jeremias Maerki [Fri, 9 Jun 2006 08:12:27 +0000 (08:12 +0000)]
Documentation update for Java2DRenderer and descendants.

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

18 years agoAdded region-body_display-align to demonstrate the default behaviour for adjustable...
Jeremias Maerki [Thu, 8 Jun 2006 12:46:50 +0000 (12:46 +0000)]
Added region-body_display-align to demonstrate the default behaviour for adjustable spaces when display-align is set to "auto".
Reactivated proprietary display-align="distribute" so a block-container can cause its content to be "justified" in the reference area if it's large enough and the adjustable elements (min/opt/max) allow for it. I may be misusing the original intended behaviour of "distribute" but for block-container this seemed suitable since it's destined to produce only one viewport/reference pair if possible. Test added that demonstrates the proprietary value on block-container. Note: on normal region-body elements, display-align="distribute" has currently no effect since the code did not evolve with the changes in the layout engine.

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

18 years agoSet a PrefixResolver for the "true" check, too, not only for "eval".
Jeremias Maerki [Thu, 8 Jun 2006 12:36:23 +0000 (12:36 +0000)]
Set a PrefixResolver for the "true" check, too, not only for "eval".
Added optional "tolerance" value for number comparisons using the "eval" check. Simplifies certain checks.

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

18 years agoBugfix: components of border-separation weren't set when using shorthand-mode, leadin...
Andreas L. Delmelle [Thu, 8 Jun 2006 10:09:15 +0000 (10:09 +0000)]
Bugfix: components of border-separation weren't set when using shorthand-mode, leading to an NPE being thrown (Bugzilla 39712)

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

18 years agoBugfix: Table headers were omitted when a table is a child of a block-container.
Jeremias Maerki [Wed, 7 Jun 2006 14:28:09 +0000 (14:28 +0000)]
Bugfix: Table headers were omitted when a table is a child of a block-container.

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

18 years agoAdd bookmarks even if one of the leaves didn't resolve.
Jeremias Maerki [Wed, 7 Jun 2006 12:30:30 +0000 (12:30 +0000)]
Add bookmarks even if one of the leaves didn't resolve.

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

18 years agoSee r412224: forgot to move the related code for TableColumn...
Andreas L. Delmelle [Wed, 7 Jun 2006 11:55:10 +0000 (11:55 +0000)]
See r412224: forgot to move the related code for TableColumn...

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

18 years agoFixes Bugzilla 39560: make sure the interaction between FOs and properties is only...
Andreas L. Delmelle [Tue, 6 Jun 2006 21:52:19 +0000 (21:52 +0000)]
Fixes Bugzilla 39560: make sure the interaction between FOs and properties is only performed once

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

18 years agoBlocklevel attributes did not work for last fo:block element under fo:table-cell...
Peter Herweg [Mon, 5 Jun 2006 11:32:59 +0000 (11:32 +0000)]
Blocklevel attributes did not work for last fo:block element under fo:table-cell. Fixed.

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

18 years agoTweak: change expected value to an absolute
Andreas L. Delmelle [Mon, 5 Jun 2006 11:11:48 +0000 (11:11 +0000)]
Tweak: change expected value to an absolute

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

18 years agoBugfix: All fonts names were converted unnecessarily to lower case in RTF output.
Jeremias Maerki [Mon, 5 Jun 2006 09:53:22 +0000 (09:53 +0000)]
Bugfix: All fonts names were converted unnecessarily to lower case in RTF output.

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

18 years agoOops, remove debug code.
Jeremias Maerki [Mon, 5 Jun 2006 08:33:47 +0000 (08:33 +0000)]
Oops, remove debug code.

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

18 years agoSet "junit.haltonfailure = on" in build-local.properties to make JUnit tests halt...
Jeremias Maerki [Mon, 5 Jun 2006 08:31:01 +0000 (08:31 +0000)]
Set "junit.haltonfailure = on" in build-local.properties to make JUnit tests halt immediately if an test failure is encountered.

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

18 years agoUpdate assertions to reflect recent modification to the method in question
Andreas L. Delmelle [Sun, 4 Jun 2006 10:10:54 +0000 (10:10 +0000)]
Update assertions to reflect recent modification to the method in question

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

18 years agoExtends white-space removal to occur also before nested block-*level* FOs instead...
Andreas L. Delmelle [Fri, 2 Jun 2006 15:12:56 +0000 (15:12 +0000)]
Extends white-space removal to occur also before nested block-*level* FOs instead of only blocks.

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

18 years agoBugzilla #39701:
Jeremias Maerki [Fri, 2 Jun 2006 07:34:25 +0000 (07:34 +0000)]
Bugzilla #39701:
Fix potential NullPointerException when buggy JAXP implementations return null instead of an empty String as namespace URI.
Submitted by: Stefan Ziel <stefan.ziel.at.claninfo.ch>

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

18 years agoFixed border position for areas with padding (only affects "quality" border rendering).
Jeremias Maerki [Thu, 1 Jun 2006 09:02:05 +0000 (09:02 +0000)]
Fixed border position for areas with padding (only affects "quality" border rendering).

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

18 years agoAdded detection code for AFM and PFB files. Sadly, for PFM there does not seem to...
Jeremias Maerki [Thu, 1 Jun 2006 07:34:29 +0000 (07:34 +0000)]
Added detection code for AFM and PFB files. Sadly, for PFM there does not seem to be a reliable method of detecting the file type. For example, I remember is PFM file that did not contain the right file size (file size is in the header).

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

18 years agoImproved accuracy of font size selection. The font size is not rounded down to the...
Jeremias Maerki [Wed, 31 May 2006 21:17:18 +0000 (21:17 +0000)]
Improved accuracy of font size selection. The font size is not rounded down to the next integer point value anymore. (Java2D renderers profit from that one, too)

PCL Renderer:
Found a use case for that Java2D ascent value (which I call MaxAscent). It is used for painting text as bitmaps and to make sure the image the text is painted on is big enough if the font ascends beyond the em box. For non-Java2D fonts, MaxAscent is the same as ascent.
Added a check that lets text painting fall back to bitmaps if there are characters that are not in the ISO-8859-1 encoding. This also enables Symbol and ZapfDingbats fonts.
A "text-rendering" setting allows to disable PCL text painting in case the mix of PCL and bitmap text painting should result in unwelcome output. Note: the bitmap rendering is relatively slow (many small bitmaps). In the end we might end up rendering using a BitmapRenderer and only wrapping the whole thing in PCL (much like the Windows PCL drivers do). This would be faster than creating many small bitmaps.

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