]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
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 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 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 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 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 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 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 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 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 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 agoWasn't an NPE, but actually a division by zero.
Jeremias Maerki [Thu, 14 Aug 2008 14:32:28 +0000 (14:32 +0000)]
Wasn't an NPE, but actually a division by zero.

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

16 years agoMoved static method lightenColor() from PrintRenderer to ColorUtil. Thats one less...
Adrian Cumiskey [Thu, 14 Aug 2008 13:25:54 +0000 (13:25 +0000)]
Moved static method lightenColor() from PrintRenderer to ColorUtil.  Thats one less Renderer interface dependency to worry about :).

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

16 years agoFixed the source for a division by zero when the content of an fo:leader with leader...
Jeremias Maerki [Thu, 14 Aug 2008 13:03:20 +0000 (13:03 +0000)]
Fixed the source for a division by zero when the content of an fo:leader with leader-pattern="use-content" collapses to zero width during layout.

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

16 years agoRemoved three unused classes in the traits package.
Jeremias Maerki [Thu, 14 Aug 2008 06:32:52 +0000 (06:32 +0000)]
Removed three unused classes in the traits package.

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

16 years agoFixed border trait parsing for the area tree XML when CMYK or ICC colors were used.
Jeremias Maerki [Wed, 13 Aug 2008 14:34:03 +0000 (14:34 +0000)]
Fixed border trait parsing for the area tree XML when CMYK or ICC colors were used.

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

16 years agoBugzilla #45606:
Jeremias Maerki [Sun, 10 Aug 2008 19:35:27 +0000 (19:35 +0000)]
Bugzilla #45606:
Fixed generation of "fonttbl" for RTF output to fix loading problem with AbiWord.
Submitted by: Pavel Kysilka <goldenfish.at.linuxsoft.cz>

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

16 years agoMerge from 0_95 branch:
Jeremias Maerki [Sun, 10 Aug 2008 19:18:22 +0000 (19:18 +0000)]
Merge from 0_95 branch:
Fixed ID resolution for nested bookmarks with duplicated IDs.

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

16 years agoAdded 'due-to' to the wrong entry...
Andreas L. Delmelle [Sun, 10 Aug 2008 12:40:58 +0000 (12:40 +0000)]
Added 'due-to' to the wrong entry...

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

16 years agoBugzilla 45490: Avoid altering the original 'href' if the protocol is other than...
Andreas L. Delmelle [Sun, 10 Aug 2008 12:35:42 +0000 (12:35 +0000)]
Bugzilla 45490: Avoid altering the original 'href' if the protocol is other than 'file:' (suggested by Thomas Stieler)

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

16 years agoAdded fop.js to binary distribution
Simon Pepping [Fri, 8 Aug 2008 18:38:07 +0000 (18:38 +0000)]
Added fop.js to binary distribution

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

16 years agoAdded fop.cmd to binary distribution (not sure if any of the others should be include...
Jeremias Maerki [Thu, 7 Aug 2008 19:26:54 +0000 (19:26 +0000)]
Added fop.cmd to binary distribution (not sure if any of the others should be included, too)

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

16 years agoConverted the project news to a special XML format so I can generate an RSS feed...
Jeremias Maerki [Wed, 6 Aug 2008 08:24:53 +0000 (08:24 +0000)]
Converted the project news to a special XML format so I can generate an RSS feed. Mostly copied from XML Graphics Commons.

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

16 years agoSome missing release info.
Jeremias Maerki [Wed, 6 Aug 2008 06:49:36 +0000 (06:49 +0000)]
Some missing release info.

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

16 years agoOopsy, that wasn't intended to get into trunk.
Jeremias Maerki [Tue, 5 Aug 2008 08:28:07 +0000 (08:28 +0000)]
Oopsy, that wasn't intended to get into trunk.

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

16 years agoRemoved "Areas of expertise" as discussed.
Jeremias Maerki [Tue, 5 Aug 2008 08:12:25 +0000 (08:12 +0000)]
Removed "Areas of expertise" as discussed.
News update for 0.95 release.

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

16 years agoFixed small mistake with weight adjustment on font lookup. Weight 400 was slipping...
Jeremias Maerki [Tue, 5 Aug 2008 07:57:36 +0000 (07:57 +0000)]
Fixed small mistake with weight adjustment on font lookup. Weight 400 was slipping through the cracks.

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

16 years agoThe FontEventListener was not wired into font auto-detection. An error while loading...
Jeremias Maerki [Tue, 5 Aug 2008 07:47:18 +0000 (07:47 +0000)]
The FontEventListener was not wired into font auto-detection. An error while loading a font wasn't relayed to the event subsystem.

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

16 years agoSkip IO Exception when loading a PFM and an AFM could be loaded. The PFM is only...
Jeremias Maerki [Tue, 5 Aug 2008 07:46:14 +0000 (07:46 +0000)]
Skip IO Exception when loading a PFM and an AFM could be loaded. The PFM is only a fallback and not necessary when the AFM is available. Motivation: The "URW Bookman L" fonts from GhostScript have bad PFM files.

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

16 years agoRemoved merge tracking for "svnmerge" for
Jeremias Maerki [Tue, 5 Aug 2008 06:55:12 +0000 (06:55 +0000)]
Removed merge tracking for "svnmerge" for
https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95

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

16 years agoMerged revisions 636407-637074,637076-637118,637120-637790,637792-637856,637858-63799...
Jeremias Maerki [Tue, 5 Aug 2008 06:51:32 +0000 (06:51 +0000)]
Merged revisions 636407-637074,637076-637118,637120-637790,637792-637856,637858-637992,637994-638047,638049-638307,638309-638315,638318-638936,638938-640888,640890-642905,642907-647402,647404-647536,647538-648983,648985-649005,649007-649013,649015-650549,650551-651301,651303-653536,653538-654452,654454-656285,656287-656523,656525-657519,657521-661579,661581-663481,663483-664691,664693-666634,666636-666661,666663-668532,668535-668549,668551-668569,668571-668640,668642-669117,669119-669172,669174-669477,669479-670550,670552-673749,673751-674303,674305-674313,674315-674316,674318-675105,675107-675149,675153-675706,675708-680714,680716-680819,680821-681283,681285,681287-681289,681293-681370,681372-682601 via svnmerge from
https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95

........
  r681309 | jeremias | 2008-07-31 11:31:35 +0200 (Do, 31 Jul 2008) | 2 lines

  0.95beta -> 0.95
  Added links to the new SVN mirror in the Netherlands.
........
  r681314 | vhennebert | 2008-07-31 11:41:33 +0200 (Do, 31 Jul 2008) | 2 lines

  Corrected bug number
........
  r681329 | vhennebert | 2008-07-31 12:38:10 +0200 (Do, 31 Jul 2008) | 2 lines

  Slight re-phrasing to make it clearer (I believe) that this page only lists changes made since 0.95beta, but that changes from that latter are of course also available in 0.95 final
........
  r681330 | vhennebert | 2008-07-31 12:39:50 +0200 (Do, 31 Jul 2008) | 2 lines

  Don't be shy Max ;-) Restored alphabetical order in the list of active committers
........
  r681350 | jeremias | 2008-07-31 14:09:41 +0200 (Do, 31 Jul 2008) | 1 line

  Fixed validation errors.
........

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

16 years agoBlocked revisions 681371 via svnmerge
Jeremias Maerki [Tue, 5 Aug 2008 06:46:31 +0000 (06:46 +0000)]
Blocked revisions 681371 via svnmerge

........
  r681371 | jeremias | 2008-07-31 15:54:16 +0200 (Do, 31 Jul 2008) | 1 line

  Adjust fop.bat to JAR upgrade.
........

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

16 years agoMerged revisions 636407-637074,637076-637118,637120-637790,637792-637856,637858-63799...
Jeremias Maerki [Thu, 31 Jul 2008 09:06:10 +0000 (09:06 +0000)]
Merged revisions 636407-637074,637076-637118,637120-637790,637792-637856,637858-637992,637994-638047,638049-638307,638309-638315,638318-638936,638938-640888,640890-642905,642907-647402,647404-647536,647538-648983,648985-649005,649007-649013,649015-650549,650551-651301,651303-653536,653538-654452,654454-656285,656287-656523,656525-657519,657521-661579,661581-663481,663483-664691,664693-681285,681287-681290,681292-681298 via svnmerge from
https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95

........
  r666635 | jeremias | 2008-06-11 14:18:53 +0200 (Mi, 11 Jun 2008) | 1 line

  Fixed resolution handling inside AWT preview dialog.
........
  r666662 | jeremias | 2008-06-11 15:33:20 +0200 (Mi, 11 Jun 2008) | 1 line

  Some notes on RTF and print output.
........
  r668533 | jeremias | 2008-06-17 09:57:55 +0200 (Di, 17 Jun 2008) | 2 lines

  Bugzilla #45151:
  Note on the "compiling" page that Ant 1.7 is required. The README file already points to this page.
........
  r668534 | jeremias | 2008-06-17 09:58:40 +0200 (Di, 17 Jun 2008) | 2 lines

  Update known issues.
  Remove ApacheConEU logo.
........
  r668550 | jeremias | 2008-06-17 10:05:22 +0200 (Di, 17 Jun 2008) | 2 lines

  Bugzilla #45146:
  Removed duplicate LICENSE.txt and Notice.txt from the JAR.
........
  r668570 | jeremias | 2008-06-17 10:54:07 +0200 (Di, 17 Jun 2008) | 1 line

  Wrong line number reported in the case of a line overflow.
........
  r668641 | jeremias | 2008-06-17 14:59:25 +0200 (Di, 17 Jun 2008) | 1 line

  Fixed potential NPE.
........
  r669118 | jeremias | 2008-06-18 11:02:45 +0200 (Mi, 18 Jun 2008) | 4 lines

  Bugzilla #44412:
  Regression fix for empty pages caused by multiple collapsible breaks.
  No more empty block areas if a break-before occurs on the first child of an FO to match the behaviour of tables and other FO implementations (clarification by XSL WG pending).
  Added an accessor interface for break-before/-after to avoid long if..else lists in BlockStackingLayoutManager.
........
  r669173 | jeremias | 2008-06-18 16:07:27 +0200 (Mi, 18 Jun 2008) | 7 lines

  Bugzilla #44887:
  Fixed potential multi-threading problem concerning the use of DecimalFormat.

  Results from performance measurements in a separate test (operation repeated 100'000 times, exemplary):
  shared static variable: ~220ms (old choice, problematic!)
  always create new instance: ~480ms
  ThreadLocal: ~220ms (new choice)
........
  r669478 | jeremias | 2008-06-19 15:03:57 +0200 (Do, 19 Jun 2008) | 4 lines

  Bugzilla #44412:
  Improvements after Vincent's feedback:
  Removal of the somewhat ugly Reference.
  getBreakBefore() reduced to private visibility.
........
  r670551 | jeremias | 2008-06-23 14:54:27 +0200 (Mo, 23 Jun 2008) | 3 lines

  Use configured source and target resolution for foreign objects in RTF output.
  Fixed intrinsic size calculation for SVG images when source resolution is not 72 dpi.
  Fixed calculation of px2mm values in the SVG to G2D converter (used by RTF output).
........
  r673750 | adelmelle | 2008-07-03 20:25:01 +0200 (Do, 03 Jul 2008) | 1 line

  Fix for Bugzilla 45295 (already committed to the trunk with r672010, r672495 and r672496)
........
  r674304 | jeremias | 2008-07-06 17:09:10 +0200 (So, 06 Jul 2008) | 18 lines

  Bugzilla #43606:
  column-width accepts percent values (proportional-column-width and % working)
  Table width accepts percent values (100% of the page width as standard)
  Nested tables are working
  It is also possible to make nested tables with a higher depth than 3 without causing word to crash
  Submitted by: Maximilan Aster <maximilian.aster.at.boc-eu.com>

  Changes to the patch by Jeremias:
  - Patch simplified (reuse of ColumnSetup from the layoutmgr package)
  - Percentages and proportional-column-width didn't work properly in my tests -> fixed
  - Adjustments for FOP code conventions

  Bugzilla #43824:
  page-number-citation working but has to be refreshed inside word to show the correct values
  Submitted by: Maximilan Aster <maximilian.aster.at.boc-eu.com>

  Changes to the patch by Jeremias:
  - Adjustments for FOP code conventions
........
  r674314 | jeremias | 2008-07-06 18:40:08 +0200 (So, 06 Jul 2008) | 7 lines

  Bugzilla #43825:
  leader supports fixed percent values for leader-length, most other properties
  use-content, leader-pattern-width not implemented
  Submitted by: Maximilan Aster <maximilian.aster.at.boc-eu.com>

  Changes to the patch by Jeremias:
  - Adjustments for FOP code conventions
........
  r674317 | jeremias | 2008-07-06 18:44:43 +0200 (So, 06 Jul 2008) | 1 line

  Doc update after RTF changes.
........
  r675106 | jeremias | 2008-07-09 09:03:46 +0200 (Mi, 09 Jul 2008) | 2 lines

  Bugzilla #45366:
  Document missing feature.
........
  r675150 | jeremias | 2008-07-09 14:56:41 +0200 (Mi, 09 Jul 2008) | 2 lines

  Bugzilla #39980:
  Fixed image scaling for RTF output.
........
  r675151 | jeremias | 2008-07-09 14:57:06 +0200 (Mi, 09 Jul 2008) | 1 line

  Removed unused code.
........
  r675152 | jeremias | 2008-07-09 14:58:18 +0200 (Mi, 09 Jul 2008) | 1 line

  Don't generate commands for default values.
........
  r675707 | jeremias | 2008-07-10 21:58:27 +0200 (Do, 10 Jul 2008) | 1 line

  Bugfix: -imagein didn't work because the stylesheet didn't get copied into fop.jar.
........
  r680715 | jeremias | 2008-07-29 16:37:10 +0200 (Di, 29 Jul 2008) | 1 line

  Found a surplus "pop state" which somehow causes a regression (fill color doesn't get properly reset) between 0.94 and 0.95. Shows in Barcode4J's fop-extension-demo.fo. The line has already been there in 0.94 but only shows in 0.95 probably due to an additional save/restore state pair added in PDFRenderer for reference areas after the block-container area refactoring.
........
  r680820 | jeremias | 2008-07-29 22:02:14 +0200 (Di, 29 Jul 2008) | 2 lines

  Bugzilla #41306:
  The AWT Renderer is really not out-of-order capable.
........
  r681284 | jeremias | 2008-07-31 08:47:49 +0200 (Do, 31 Jul 2008) | 1 line

  Some updates to status.xml (I was not the only one working on the final release).
........
  r681290 | jeremias | 2008-07-31 09:44:51 +0200 (Do, 31 Jul 2008) | 2 lines

  Website updates for the 0.95 release.
  The projectInfo plug-in of Forrest is not ideal for doing a bugfix release. It's not possible to combine the changes for two releases.
........
  r681292 | jeremias | 2008-07-31 09:47:13 +0200 (Do, 31 Jul 2008) | 1 line

  Disabling the ApacheCon ad for the release build.
........

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

16 years agoBlocked revisions 681286,681291 via svnmerge
Jeremias Maerki [Thu, 31 Jul 2008 08:07:42 +0000 (08:07 +0000)]
Blocked revisions 681286,681291 via svnmerge

........
  r681286 | jeremias | 2008-07-31 09:15:23 +0200 (Do, 31 Jul 2008) | 1 line

  Move to XML Graphics Commons 1.3.1.
........
  r681291 | jeremias | 2008-07-31 09:45:13 +0200 (Do, 31 Jul 2008) | 1 line

  Increase version number.
........

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

16 years agoReverted revision 670341 and replaced it with a different solution as discussed:
Jeremias Maerki [Mon, 28 Jul 2008 15:05:14 +0000 (15:05 +0000)]
Reverted revision 670341 and replaced it with a different solution as discussed:
addCharacters() is now deprecated and called by the new characters() method which uses start/length instead of start/end.
Fixed bugs in the AFP and PS extensions (ArrayIndexOutOfBoundsExceptions). They were not properly changed when the interface changed.
Discussion: http://markmail.org/message/pdgzf6odxrnhflby

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

16 years agoBugzilla #45470:
Jeremias Maerki [Mon, 28 Jul 2008 14:24:51 +0000 (14:24 +0000)]
Bugzilla #45470:
Added LayoutManagerMapping.registerMaker() to make registration of custom layout managers easier.

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

16 years agoFed up with all those trailing whitespaces. Let's remove them all (once... and for...
Vincent Hennebert [Thu, 24 Jul 2008 09:35:34 +0000 (09:35 +0000)]
Fed up with all those trailing whitespaces. Let's remove them all (once... and for all?)

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

16 years agoOnly update the generated files if any source file is newer than the generated ones.
Jeremias Maerki [Wed, 23 Jul 2008 19:33:24 +0000 (19:33 +0000)]
Only update the generated files if any source file is newer than the generated ones.

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

16 years agoMy bad.. copy paste error I introduced which broke forrest.
Adrian Cumiskey [Wed, 23 Jul 2008 10:39:11 +0000 (10:39 +0000)]
My bad..  copy paste error I introduced which broke forrest.

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

16 years agoMinor optimization.
Adrian Cumiskey [Wed, 23 Jul 2008 09:26:40 +0000 (09:26 +0000)]
Minor optimization.

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

16 years agoLets free a little memory in every BlockParent :).. Commented out the unused private...
Adrian Cumiskey [Tue, 22 Jul 2008 12:14:37 +0000 (12:14 +0000)]
Lets free a little memory in every BlockParent :)..  Commented out the unused private member variable 'orientation'.

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

16 years agoHacked CommandLineOptions so that it accepts '-' as a specification of stdin/stdout.
Vincent Hennebert [Tue, 22 Jul 2008 10:09:06 +0000 (10:09 +0000)]
Hacked CommandLineOptions so that it accepts '-' as a specification of stdin/stdout.
Made it work also when infile is specified without any option ('fop - -pdf res.pdf')
TODO Investigate the adoption of Apache Commons CLI

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

16 years agoDesynchronized createFontKey() and removed single use of static TRIPLETS_TYPE in...
Adrian Cumiskey [Tue, 22 Jul 2008 09:30:22 +0000 (09:30 +0000)]
Desynchronized createFontKey() and removed single use of static TRIPLETS_TYPE in fontLookup() following a suggestion by Jeremias Ingo Maas' threading issue (http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200807.mbox/%3C000a01c8eb4b$42166e60$a701010a@ebp01422%3E).

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

16 years agoRenamed fname to more correct name fontKey.
Adrian Cumiskey [Mon, 21 Jul 2008 16:48:14 +0000 (16:48 +0000)]
Renamed fname to more correct name fontKey.
Made createFontKey() in FontInfo synchronized which should hopefully fix Ingo Maas's threading problem (http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200807.mbox/%3C000a01c8eb4b$42166e60$a701010a@ebp01422%3E).

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

16 years agoRemoved unnecessary storing of byte[] nameBytes
Adrian Cumiskey [Fri, 18 Jul 2008 17:15:59 +0000 (17:15 +0000)]
Removed unnecessary storing of byte[] nameBytes

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

16 years agoOk, I am much happier with this fix now, it doesn't feel like a temporary hack anymor...
Adrian Cumiskey [Fri, 18 Jul 2008 09:11:10 +0000 (09:11 +0000)]
Ok, I am much happier with this fix now, it doesn't feel like a temporary hack anymore :).

I have revised the fontLookup() algorithm in FontInfo so it now first tries to find matching font triplets by iterating over all the font family names *without substitutions*, if this fails it then iterates over all the font family names looking for matching font triplets *with substitutions* rather then just take the last one in the font family name list with substitutions.

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

16 years agoI'm not really happy with this workaround, it is a bit of a hack (as Symbol and ZapfD...
Adrian Cumiskey [Thu, 17 Jul 2008 18:47:58 +0000 (18:47 +0000)]
I'm not really happy with this workaround, it is a bit of a hack (as Symbol and ZapfDingbats are not available) but it does prevent the IllegalArgumentException from being thrown.

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