]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
16 years agoMerged from Trunk revisions 706551 to 719661.
Jeremias Maerki [Fri, 21 Nov 2008 18:17:47 +0000 (18:17 +0000)]
Merged from Trunk revisions 706551 to 719661.

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

16 years agoThis actually fixes a bug.
Jeremias Maerki [Fri, 21 Nov 2008 17:44:08 +0000 (17:44 +0000)]
This actually fixes a bug.

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

16 years agoFixed possible ClassCastException that was caused by my earlier attempt to support...
Jeremias Maerki [Fri, 21 Nov 2008 17:24:32 +0000 (17:24 +0000)]
Fixed possible ClassCastException that was caused by my earlier attempt to support SVG 1.2. Batik's SAXSVGDocumentFactory doesn't currently deal well with the case when namespaces are declared outside of its scope. Worked around that by doing the SVG version detection in FOP code. SVG12DOMImplementation is obtained by reflection in order to keep backwards compatilibility with earlier Batik versions that don't support SVG 1.2.

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

16 years agoFix for unit test failure in transcoder tests (NullPointerException):
Jeremias Maerki [Fri, 21 Nov 2008 16:33:33 +0000 (16:33 +0000)]
Fix for unit test failure in transcoder tests (NullPointerException):
Have to pass the root PSGraphics2D to NativeTextHandler instead of the PSGenerator as this one hasn't been initialized in PSGraphics2D when the NativeTextHandler is built in AbstractPSTranscoder.

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

16 years agoAdded support for SVG 1.2 inside fo:instream-foreign-object. The code just used the...
Jeremias Maerki [Fri, 21 Nov 2008 16:07:58 +0000 (16:07 +0000)]
Added support for SVG 1.2 inside fo:instream-foreign-object. The code just used the basic SVGDOMImplementation for SVG 1.1. Now it delegates the DOM building to Batik code instead of to a normal DOM builder.

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

16 years agoBugzilla 46240:
Andreas L. Delmelle [Wed, 19 Nov 2008 22:45:06 +0000 (22:45 +0000)]
Bugzilla 46240:
Fixed a bug in combining break-before with a span change.

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

16 years agoAdded page master name to IFDocumentHandler.startPage() method.
Jeremias Maerki [Wed, 19 Nov 2008 20:13:48 +0000 (20:13 +0000)]
Added page master name to IFDocumentHandler.startPage() method.
Wired together the support for out-of-order rendering (only applicable to PDF) when the intermediate format is not used (in-memory rendering).
Fixed a logical bug in IFRenderer that caused some unneeded code. Glyph adjustments (kerning, letter/word space...) were not done right. All painters fixed/adjusted accordingly.
Started implementation of the PostScript painter: Supports only text and filled rectangles so far. Work in progress...

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

16 years agoReduced warning on ascender+descender > EM box to DEBUG level, as this case is compen...
Jeremias Maerki [Wed, 19 Nov 2008 19:46:45 +0000 (19:46 +0000)]
Reduced warning on ascender+descender > EM box to DEBUG level, as this case is compensated for by additional code in guessVerticalMetricsFromGlyphBBox() and is therefore only confusing. I tested problematic fonts and they show an acceptable line layout. No semantics changed.

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

16 years agoChange FontCache.changeLock to a boolean[1], so it can be serialized...
Andreas L. Delmelle [Tue, 18 Nov 2008 20:14:22 +0000 (20:14 +0000)]
Change FontCache.changeLock to a boolean[1], so it can be serialized...

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

16 years agoBugfix: do not reset TextLM.hasChanged, but combine (||) with previous value.
Andreas L. Delmelle [Tue, 18 Nov 2008 17:58:54 +0000 (17:58 +0000)]
Bugfix: do not reset TextLM.hasChanged, but combine (||) with previous value.

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

16 years agoTextHandler interface changes, the Graphics2D implementation is now passed to drawStr...
Adrian Cumiskey [Tue, 18 Nov 2008 13:56:52 +0000 (13:56 +0000)]
TextHandler interface changes, the Graphics2D implementation is now passed to drawString().

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

16 years agoUpdate conference ads.
Jeremias Maerki [Tue, 18 Nov 2008 13:16:32 +0000 (13:16 +0000)]
Update conference ads.

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

16 years agoImproved the FAQ by creating a separate entry for the problem about keep-together...
Vincent Hennebert [Tue, 18 Nov 2008 11:10:19 +0000 (11:10 +0000)]
Improved the FAQ by creating a separate entry for the problem about keep-together on table-cell, and the added support for inline keeps in 0.95

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

16 years agoRemoved erroneous end-element...
Andreas L. Delmelle [Tue, 18 Nov 2008 06:43:08 +0000 (06:43 +0000)]
Removed erroneous end-element...

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

16 years agoBugzilla 46211:
Andreas L. Delmelle [Mon, 17 Nov 2008 18:18:20 +0000 (18:18 +0000)]
Bugzilla 46211:
Fixed some multi-threading issues in FontCache.java (+ some minor cleanup: simplification of conditionals)
Thanks to rogov.AT.devexperts.com for tracing and reporting the problem.

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

16 years agoReadded dependency on avalon-framework-impl
Maximilian Berger [Thu, 6 Nov 2008 07:22:15 +0000 (07:22 +0000)]
Readded dependency on avalon-framework-impl
http://markmail.org/message/kkdfwhkblb2mltla
http://fop-dev.markmail.org/message/col6fuklj7f545k3

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

16 years agoMaking conversion hints available to ImageHandler implementations, too.
Jeremias Maerki [Tue, 4 Nov 2008 15:10:31 +0000 (15:10 +0000)]
Making conversion hints available to ImageHandler implementations, too.
(Re-)implemented Graphics2D support for PCL. It can be disabled by fox:conversion-mode="bitmap" if necessary.
Fixed a bug with non-uniform image scaling when encoding bitmap images.
Commented some code that did not reliably convert color images to grayscale. The (probably slower) fallback code is used instead.
Some performance improvements for text painting using bitmaps when <rendering>speed<rendering> is selected.
Removed the RenderingContext interface from RendererContext since it's not used.

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

16 years agoRe-Implemented "quality" rendering mode (painting borders and rules using bitmaps).
Jeremias Maerki [Thu, 30 Oct 2008 08:49:44 +0000 (08:49 +0000)]
Re-Implemented "quality" rendering mode (painting borders and rules using bitmaps).
Added a new rendering mode "bitmap" (in addition to "speed" and "bitmap") that uses Java2DPainter for the whole page and paints a single bitmap (much like most PCL drivers operate). Quality: "speed" < "quality" < "bitmap", Performance: "speed" > "quality" > "bitmap" (at high page complexity "bitmap" might actually be better), File Size: "speed" < "quality" < "bitmap"
Increased bitmap encoding performance by up to 100% (by optimizing the Java code and by supporting the "zeroed row" PCL command)

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

16 years agoAdded a variant with fox:conversion-mode="bitmap" for visual testing.
Jeremias Maerki [Wed, 29 Oct 2008 09:40:44 +0000 (09:40 +0000)]
Added a variant with fox:conversion-mode="bitmap" for visual testing.

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

16 years agoAdding variant with fox:conversion-mode="bitmap" for visual testing.
Jeremias Maerki [Wed, 29 Oct 2008 09:32:07 +0000 (09:32 +0000)]
Adding variant with fox:conversion-mode="bitmap" for visual testing.

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

16 years agoTest case for WMF images. Useful also for visual testing.
Jeremias Maerki [Wed, 29 Oct 2008 08:56:00 +0000 (08:56 +0000)]
Test case for WMF images. Useful also for visual testing.

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

16 years agoadded FAQ for Font Cache Warning
Chris Bowditch [Mon, 27 Oct 2008 14:12:36 +0000 (14:12 +0000)]
added FAQ for Font Cache Warning

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

16 years agoBugzilla 45113:
Andreas L. Delmelle [Sun, 26 Oct 2008 16:32:16 +0000 (16:32 +0000)]
Bugzilla 45113:
Added PDF /Launch action, which is used in case of references to URIs using the file:// protocol.
Thanks to Alexander Stamenov (astamenov.AT.gmail.com) for the input!

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

16 years agoFixed a problem where the BPD or a block area could be wrong if there is a nested...
Jeremias Maerki [Fri, 24 Oct 2008 13:42:59 +0000 (13:42 +0000)]
Fixed a problem where the BPD or a block area could be wrong if there is a nested, absolutely positioned area (for example a block-container).
This was most probably introduced by rev 618992.

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

16 years agoAFPFontReader a lot more robust now with less copy/pasted code but still far from...
Adrian Cumiskey [Fri, 24 Oct 2008 13:20:51 +0000 (13:20 +0000)]
AFPFontReader a lot more robust now with less copy/pasted code but still far from ideal, the whole AFP FOCA parsing/handling still in need of a rewrite at some point.
CharacterSetOrientation width() renamed to getWidth() and now protects itself against a possible ArrayIndexOutOfBoundsException.

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

16 years agoMoved IFState instance variable into AbstractIFPainter as all implementations use it.
Jeremias Maerki [Thu, 23 Oct 2008 10:03:27 +0000 (10:03 +0000)]
Moved IFState instance variable into AbstractIFPainter as all implementations use it.
Refactored default image handling methods in AbstractIFPainter a bit to make them more universal.
Fixed a small mistake in Java2DImageHandlerRenderedImage.
Added configurator code for new PCL implementation.
Fixed smaller issues in PCLGenerator.
Added support for painting images (e-g and i-f-o) as bitmaps (depends on rev 707329 in XML Graphics Commons).
Added support for text with custom fonts to be painted as bitmaps.

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

16 years agoBeen hanging around here unused since 2002 and no longer relevant as far as I can...
Adrian Cumiskey [Wed, 22 Oct 2008 14:05:56 +0000 (14:05 +0000)]
Been hanging around here unused since 2002 and no longer relevant as far as I can tell.

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

16 years agoWired in the configuration for IFDocumentHandler.
Jeremias Maerki [Tue, 21 Oct 2008 21:16:29 +0000 (21:16 +0000)]
Wired in the configuration for IFDocumentHandler.

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

16 years agoReluctantly added a note about how to clear the image cache.
Jeremias Maerki [Tue, 21 Oct 2008 10:13:27 +0000 (10:13 +0000)]
Reluctantly added a note about how to clear the image cache.

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

16 years agoMerge from Trunk revisions 699793 to 706550.
Jeremias Maerki [Tue, 21 Oct 2008 08:58:08 +0000 (08:58 +0000)]
Merge from Trunk revisions 699793 to 706550.

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

16 years agoBugzilla #45956:
Jeremias Maerki [Mon, 20 Oct 2008 15:11:08 +0000 (15:11 +0000)]
Bugzilla #45956:
Minimal support for leader-pattern="rule" for PCL output.

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

16 years agoFixed size of images when vector graphic images are painted using fox:conversion...
Jeremias Maerki [Mon, 20 Oct 2008 13:20:26 +0000 (13:20 +0000)]
Fixed size of images when vector graphic images are painted using fox:conversion-mode="bitmap" (for PDF output).
Added support for fox:conversion-mode="bitmap" for PS output.
Avoid "unsupported target ImageFlavor" error after the fix in XML Graphics Commons (rev 706270).

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

16 years agoVisually separated retroweaver part from hyphenation part.
Jeremias Maerki [Mon, 20 Oct 2008 13:14:03 +0000 (13:14 +0000)]
Visually separated retroweaver part from hyphenation part.

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

16 years agoCheck for plan namespace to avoid errors while parsing plan XML.
Jeremias Maerki [Mon, 20 Oct 2008 07:16:47 +0000 (07:16 +0000)]
Check for plan namespace to avoid errors while parsing plan XML.

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

16 years agoRemoved superfluous brackets
Vincent Hennebert [Fri, 17 Oct 2008 09:36:40 +0000 (09:36 +0000)]
Removed superfluous brackets

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

16 years agoFix for ps:ps-page-setup-code.
Adrian Cumiskey [Wed, 15 Oct 2008 13:28:25 +0000 (13:28 +0000)]
Fix for ps:ps-page-setup-code.

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

16 years agoMore readable.
Adrian Cumiskey [Wed, 15 Oct 2008 13:27:06 +0000 (13:27 +0000)]
More readable.

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

16 years agoBugzilla #45971: improved the behaviour of the command line interface:
Vincent Hennebert [Mon, 13 Oct 2008 10:34:32 +0000 (10:34 +0000)]
Bugzilla #45971: improved the behaviour of the command line interface:
- display 'fop' instead of 'Fop' in help messages
- do not throw exception when running fop without argument or with -v or -h
- return more meaningful error codes
Patch submitted with some modifications by Tom Browder (tom_dot.browder.at_gmail.dot_com)

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

16 years agoSplit IFPainter into IFDocumentHandler and IFPainter. This makes the implementation...
Jeremias Maerki [Sun, 28 Sep 2008 13:17:57 +0000 (13:17 +0000)]
Split IFPainter into IFDocumentHandler and IFPainter. This makes the implementation classes smaller, better allows to isolate the painting parts and helps with formats that generate one object per page (SVG, PNG etc.).
Added ImageHandlerFactory to FopFactory.
Started TIFF output in order to develop the Java2DPainter that will be needed for certain tasks when generating PCL.
Tweaked the way XML is generated for IF and SVG output.

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

16 years agoMerge from Trunk revisions 685575-699792.
Jeremias Maerki [Sun, 28 Sep 2008 11:38:15 +0000 (11:38 +0000)]
Merge from Trunk revisions 685575-699792.

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

16 years agochanged my GPG KEY
Maximilian Berger [Sat, 27 Sep 2008 21:09:43 +0000 (21:09 +0000)]
changed my GPG KEY

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

16 years agoAdded two missing files from r698280
Andreas L. Delmelle [Wed, 24 Sep 2008 17:45:51 +0000 (17:45 +0000)]
Added two missing files from r698280

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

16 years agoCleanup firstWhiteSpaceInSeq at end of block too...
Andreas L. Delmelle [Tue, 23 Sep 2008 19:55:02 +0000 (19:55 +0000)]
Cleanup firstWhiteSpaceInSeq at end of block too...

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

16 years agoBugzilla 40798: A conditional-page-master-reference with page-position="last" is...
Andreas L. Delmelle [Tue, 23 Sep 2008 18:48:34 +0000 (18:48 +0000)]
Bugzilla 40798: A conditional-page-master-reference with page-position="last" is also eligible for an only page (first as well as last)
Additionally: added support for page-position="only"

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

16 years agoBugzilla 45842: Use FOP_OPTS environment variable in fop.bat and fop.cmd (patch submi...
Andreas L. Delmelle [Fri, 19 Sep 2008 17:01:03 +0000 (17:01 +0000)]
Bugzilla 45842: Use FOP_OPTS environment variable in fop.bat and fop.cmd (patch submitted by Carsten Siedentop)

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

16 years agoFixed stray "xml.apache.org".
Jeremias Maerki [Fri, 19 Sep 2008 15:57:54 +0000 (15:57 +0000)]
Fixed stray "xml.apache.org".

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

16 years agoBugzilla #45795:
Jeremias Maerki [Wed, 17 Sep 2008 16:41:14 +0000 (16:41 +0000)]
Bugzilla #45795:
PDF Output: Added support for handling 16-bit alpha channel. They are currently converted to 8 bits.

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

16 years agoRe-enabled image loader testcases
Maximilian Berger [Tue, 16 Sep 2008 08:56:12 +0000 (08:56 +0000)]
Re-enabled image loader testcases
Made sure SVG converters use SVG flavor (updated in commons)
Added new ImageLoaderTest which tests JPGs embedded in SVG

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

16 years agoBugzilla #45755:
Jeremias Maerki [Mon, 15 Sep 2008 15:15:44 +0000 (15:15 +0000)]
Bugzilla #45755:
Removed ALv2 license header as this file does not have a "creativity" value and only serves as an example.

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

16 years agoPDF Output: Made sure the XMP Metadata stream is never compressed.
Jeremias Maerki [Mon, 15 Sep 2008 15:06:28 +0000 (15:06 +0000)]
PDF Output: Made sure the XMP Metadata stream is never compressed.

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

16 years agoMinor fix: avoid attempts at converting a default namespace declaration as a FO prope...
Andreas L. Delmelle [Wed, 10 Sep 2008 13:24:00 +0000 (13:24 +0000)]
Minor fix: avoid attempts at converting a default namespace declaration as a FO property, if the parser reports it as a regular attribute

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

16 years agoCredits where credits are due. I only noticed afterwards that there was a patch attac...
Jeremias Maerki [Wed, 10 Sep 2008 10:59:27 +0000 (10:59 +0000)]
Credits where credits are due. I only noticed afterwards that there was a patch attached to the issue.

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

16 years agoBugzilla #45734:
Jeremias Maerki [Wed, 10 Sep 2008 10:52:45 +0000 (10:52 +0000)]
Bugzilla #45734:
Fix for PFMReader after bug #43089 (r567078) changed the behavior of PFMFile. Fixes baseline problems when Type 1 fonts are used in conjunction with XML font metric files.
Submitted by: J. Frantzius <jfrantzius.at.web.de>

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

16 years agoBugzilla #45616:
Jeremias Maerki [Wed, 10 Sep 2008 09:00:16 +0000 (09:00 +0000)]
Bugzilla #45616:
Fix for table handling in RTF output, so the output works with OpenOffice and AbiWord, too.
Submitted by: Pavel Kysilka <goldenfish.at.linuxsoft.cz>

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

16 years agoSome older TTF fonts have shorter OS/2 tables. This fixes potential EOFExceptions.
Jeremias Maerki [Wed, 10 Sep 2008 07:46:23 +0000 (07:46 +0000)]
Some older TTF fonts have shorter OS/2 tables. This fixes potential EOFExceptions.

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

16 years agoThis is a better fix which will cater for the case where the first character encounte...
Adrian Cumiskey [Tue, 9 Sep 2008 13:35:13 +0000 (13:35 +0000)]
This is a better fix which will cater for the case where the first character encountered is the EOF (-1) character.  EOF test now only occurs when loop is exit so this should execute more efficiently.

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

16 years agoMake PFM string parsing a little more robust
Adrian Cumiskey [Tue, 9 Sep 2008 11:00:58 +0000 (11:00 +0000)]
Make PFM string parsing a little more robust

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

16 years agoAvoid test failure if the backup directory is not available, yet.
Jeremias Maerki [Mon, 1 Sep 2008 08:12:43 +0000 (08:12 +0000)]
Avoid test failure if the backup directory is not available, yet.

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

16 years agoPartial fix for Bugzilla 45702: instead of wrapping the forcedBreakAfterLast element...
Andreas L. Delmelle [Sat, 30 Aug 2008 16:37:53 +0000 (16:37 +0000)]
Partial fix for Bugzilla 45702: instead of wrapping the forcedBreakAfterLast element, simply add it to the returnList

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

16 years agoBugzilla 45667: avoid NullPointerExceptions during hyphenation for empty inlines.
Andreas L. Delmelle [Fri, 29 Aug 2008 20:12:34 +0000 (20:12 +0000)]
Bugzilla 45667: avoid NullPointerExceptions during hyphenation for empty inlines.

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

16 years agoAdded missing generation of areas for empty grid units in tables with collapsing...
Jeremias Maerki [Fri, 29 Aug 2008 16:42:38 +0000 (16:42 +0000)]
Added missing generation of areas for empty grid units in tables with collapsing border model. (missing test case)

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

16 years agoAdded missing generation of areas for empty grid units in tables with collapsing...
Jeremias Maerki [Fri, 29 Aug 2008 16:36:17 +0000 (16:36 +0000)]
Added missing generation of areas for empty grid units in tables with collapsing border model.

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

16 years agoExpanded warning message about borders and paddings on regions.
Luca Furini [Wed, 27 Aug 2008 10:48:54 +0000 (10:48 +0000)]
Expanded warning message about borders and paddings on regions.

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

16 years agoStarted the PCL painter. Native Text, viewports (without clipping), groups and filled...
Jeremias Maerki [Wed, 27 Aug 2008 10:10:15 +0000 (10:10 +0000)]
Started the PCL painter. Native Text, viewports (without clipping), groups and filled rectangles work already. Work in progress...

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

16 years agoFixed ArrayIndexOutOfBoundsException when there is a long text with very few kerning...
Jeremias Maerki [Wed, 27 Aug 2008 08:28:47 +0000 (08:28 +0000)]
Fixed ArrayIndexOutOfBoundsException when there is a long text with very few kerning adjustments.

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

16 years agoadded URIResolutionTestCase
Maximilian Berger [Tue, 26 Aug 2008 12:08:57 +0000 (12:08 +0000)]
added URIResolutionTestCase

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

16 years agoAdded a default ErrorListener just to be on the safe side.
Jeremias Maerki [Tue, 26 Aug 2008 11:50:31 +0000 (11:50 +0000)]
Added a default ErrorListener just to be on the safe side.

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

16 years agoCan disable the warning now, replaced by an explanation of the simplification.
Jeremias Maerki [Tue, 26 Aug 2008 10:47:01 +0000 (10:47 +0000)]
Can disable the warning now, replaced by an explanation of the simplification.

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

16 years agoMust exit text object before painting a leader.
Jeremias Maerki [Tue, 26 Aug 2008 10:32:13 +0000 (10:32 +0000)]
Must exit text object before painting a leader.

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

16 years agopt -> mpt conversion must round.
Jeremias Maerki [Tue, 26 Aug 2008 09:05:13 +0000 (09:05 +0000)]
pt -> mpt conversion must round.

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

16 years agoForgot to add deprecated public statics.
Adrian Cumiskey [Tue, 26 Aug 2008 08:59:31 +0000 (08:59 +0000)]
Forgot to add deprecated public statics.

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

16 years agoDeprecate UnitConv now that it resides only in xmlgraphics commons.
Adrian Cumiskey [Tue, 26 Aug 2008 08:34:45 +0000 (08:34 +0000)]
Deprecate UnitConv now that it resides only in xmlgraphics commons.

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

16 years agoFixed cursor advancement for fixed width spaces.
Jeremias Maerki [Tue, 26 Aug 2008 08:14:11 +0000 (08:14 +0000)]
Fixed cursor advancement for fixed width spaces.
Set color before "BT" (beginText) to match the old PDFRenderer.

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

16 years agoMerge from 0.95 branch:
Jeremias Maerki [Mon, 25 Aug 2008 11:24:15 +0000 (11:24 +0000)]
Merge from 0.95 branch:
Fixed jar-sources target.

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

16 years agoHmm, I missed the redirects for the 0.95 release.
Jeremias Maerki [Mon, 25 Aug 2008 09:15:22 +0000 (09:15 +0000)]
Hmm, I missed the redirects for the 0.95 release.

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

16 years agoCommonURIResolver is no longer a singleton
Maximilian Berger [Mon, 25 Aug 2008 09:00:27 +0000 (09:00 +0000)]
CommonURIResolver is no longer a singleton

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

16 years agoMinor documentation improvements, most notably a comment about keep-together="always".
Jeremias Maerki [Mon, 25 Aug 2008 08:59:27 +0000 (08:59 +0000)]
Minor documentation improvements, most notably a comment about keep-together="always".

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

16 years agoFixed example.
Jeremias Maerki [Mon, 25 Aug 2008 08:41:29 +0000 (08:41 +0000)]
Fixed example.
Thanks for noticing, Pascal Sancho!

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

16 years agoAdded a page on metadata (partly ported from the FOP Wiki).
Jeremias Maerki [Mon, 25 Aug 2008 08:23:31 +0000 (08:23 +0000)]
Added a page on metadata (partly ported from the FOP Wiki).

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

16 years agoRe-added moved class as deprecated
Maximilian Berger [Mon, 25 Aug 2008 08:19:13 +0000 (08:19 +0000)]
Re-added moved class as deprecated

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

16 years agoFixed memory leak in property cache (not cleaning stale PropertyCache$CacheEntry...
Jeremias Maerki [Mon, 25 Aug 2008 06:42:44 +0000 (06:42 +0000)]
Fixed memory leak in property cache (not cleaning stale PropertyCache$CacheEntry instances).
Special thanks to Andreas Delmelle for his help!

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

16 years agoMoved DataURIResolver from FOP to commons; use new URIResolver registry
Maximilian Berger [Sun, 24 Aug 2008 13:12:02 +0000 (13:12 +0000)]
Moved DataURIResolver from FOP to commons; use new URIResolver registry

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

16 years agominor spelling mistakes
Maximilian Berger [Fri, 22 Aug 2008 18:08:36 +0000 (18:08 +0000)]
minor spelling mistakes

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

16 years agoMerge from branch https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95:
Jeremias Maerki [Fri, 22 Aug 2008 14:16:58 +0000 (14:16 +0000)]
Merge from branch https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95:
Fixed text stroking in SVG when the stroke-width is zero.

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

16 years agoFinal statistics output after the test with average speed indication.
Jeremias Maerki [Fri, 22 Aug 2008 13:02:37 +0000 (13:02 +0000)]
Final statistics output after the test with average speed indication.

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

16 years agoAdded some performance statistics to MemoryEater.
Jeremias Maerki [Thu, 21 Aug 2008 15:49:13 +0000 (15:49 +0000)]
Added some performance statistics to MemoryEater.

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

16 years agoAdded an FAQ entry about the element mismatch error message.
Jeremias Maerki [Thu, 21 Aug 2008 08:51:50 +0000 (08:51 +0000)]
Added an FAQ entry about the element mismatch error message.

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

16 years agoIncluded patched retroweaver which does not modify Boolean.valueOf
Maximilian Berger [Thu, 21 Aug 2008 06:25:40 +0000 (06:25 +0000)]
Included patched retroweaver which does not modify Boolean.valueOf

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

16 years agoAdded support for painting leaders (implemented as drawLine in IFPainter).
Jeremias Maerki [Wed, 20 Aug 2008 20:47:34 +0000 (20:47 +0000)]
Added support for painting leaders (implemented as drawLine in IFPainter).
Removed unused "stroke" parameter in drawRect and renamed the method to fillRect.

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

16 years ago* Updated xmlgraphics-commons-14svn.jar to reflect UnitConv additions.
Adrian Cumiskey [Wed, 20 Aug 2008 15:13:56 +0000 (15:13 +0000)]
* Updated xmlgraphics-commons-14svn.jar to reflect UnitConv additions.
* Removed UnitConv and its unit test case (now resides in commons).
* Updated all fop util package references fpr UnitConv to xmlgraphics commons util package.

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

16 years agoBoolean.valueOf() is available in 1.4, but retroweaver still tried to weave it
Maximilian Berger [Wed, 20 Aug 2008 15:00:03 +0000 (15:00 +0000)]
Boolean.valueOf() is available in 1.4, but retroweaver still tried to weave it

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

16 years agoUse retroweaver for 1.4 verification
Maximilian Berger [Wed, 20 Aug 2008 13:32:19 +0000 (13:32 +0000)]
Use retroweaver for 1.4 verification

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

16 years agovalueOf is Java 1.5+ only
Maximilian Berger [Wed, 20 Aug 2008 13:24:18 +0000 (13:24 +0000)]
valueOf is Java 1.5+ only

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

16 years agoMoved mptToPt() and ptToMpt() from AbstractRenderer to UnitConv. One less dependency...
Adrian Cumiskey [Wed, 20 Aug 2008 12:59:11 +0000 (12:59 +0000)]
Moved mptToPt() and ptToMpt() from AbstractRenderer to UnitConv.  One less dependency to worry about.

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

16 years agoFixed a mistake made when extracting code to PDFContentGenerator. Restores fixed...
Jeremias Maerki [Fri, 15 Aug 2008 17:01:22 +0000 (17:01 +0000)]
Fixed a mistake made when extracting code to PDFContentGenerator. Restores fixed block-containers.

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

16 years agoHad to introduce "clip-rect" to handle clipping on background images, leader etc...
Jeremias Maerki [Fri, 15 Aug 2008 15:31:55 +0000 (15:31 +0000)]
Had to introduce "clip-rect" to handle clipping on background images, leader etc. A full viewport is probably too heavy-weight here. This is to be considered temporary pending verification with SVG and PCL implementations.

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

16 years ago"ET" (endTextObject()) forgotten. Caused to swallow some border rectangles.
Jeremias Maerki [Fri, 15 Aug 2008 14:27:23 +0000 (14:27 +0000)]
"ET" (endTextObject()) forgotten. Caused to swallow some border rectangles.

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

16 years agoExtended to allow generating the renderer and painter PDF alongside each other for...
Jeremias Maerki [Fri, 15 Aug 2008 14:20:47 +0000 (14:20 +0000)]
Extended to allow generating the renderer and painter PDF alongside each other for visual inspection.

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

16 years agoMade the IFRenderer smarter so it combines lines of text into a single text element...
Jeremias Maerki [Fri, 15 Aug 2008 14:19:51 +0000 (14:19 +0000)]
Made the IFRenderer smarter so it combines lines of text into a single text element where possible. Makes the final output files smaller.
Fixed problems with letter and word spacing.

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

16 years agoSome fixes for SVG along the way:
Jeremias Maerki [Fri, 15 Aug 2008 14:17:52 +0000 (14:17 +0000)]
Some fixes for SVG along the way:
Fix for group nesting.
Fix for reused content (metadata etc.) cause exceptions.

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