]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
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

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 agoInitial implementation for border painting for the new IF (including support for...
Jeremias Maerki [Thu, 14 Aug 2008 09:13:09 +0000 (09:13 +0000)]
Initial implementation for border painting for the new IF (including support for PDF, but not SVG, yet)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@685827 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 agoMerged from Trunk revision 685573:
Jeremias Maerki [Wed, 13 Aug 2008 15:00:57 +0000 (15:00 +0000)]
Merged from Trunk revision 685573:
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/branches/Temp_AreaTreeNewDesign@685579 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 agoAdded document-trailer element to the IF (for example for the bookmark tree).
Jeremias Maerki [Wed, 13 Aug 2008 07:13:52 +0000 (07:13 +0000)]
Added document-trailer element to the IF (for example for the bookmark tree).

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

16 years agoRemoved temporary debug code.
Jeremias Maerki [Wed, 13 Aug 2008 06:56:32 +0000 (06:56 +0000)]
Removed temporary debug code.
Switched tests to changed namespace URI for document navigation.
Added IF checks for fox:destionation.

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

16 years agoRemoved obsolete addTarget() method from IFPainter.
Jeremias Maerki [Tue, 12 Aug 2008 15:43:54 +0000 (15:43 +0000)]
Removed obsolete addTarget() method from IFPainter.

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

16 years agoImplemented named destinations for PDF painter.
Jeremias Maerki [Tue, 12 Aug 2008 15:41:03 +0000 (15:41 +0000)]
Implemented named destinations for PDF painter.

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

16 years agoWidened "bookmarks" to "document-navigation" to fit named destination into this names...
Jeremias Maerki [Tue, 12 Aug 2008 15:30:54 +0000 (15:30 +0000)]
Widened "bookmarks" to "document-navigation" to fit named destination into this namespace as both bookmarks and named destinations share some action types.
Added support for named destinations (no implementation for PDF and no tests, yet).

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

16 years agoAdded support for bookmarks to intermediate format (including PDF painter).
Jeremias Maerki [Tue, 12 Aug 2008 14:44:55 +0000 (14:44 +0000)]
Added support for bookmarks to intermediate format (including PDF painter).
Added infrastructure for IF testing similar to AT testing with XPaths. To minimize the additional processing needed it is attached to the layout engine tests and only executed if there are IF checks in the test case.

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

16 years agoMake IFParserTestCase use the temporary, attributed MIME type for PDF (so the PDFPain...
Jeremias Maerki [Tue, 12 Aug 2008 12:55:29 +0000 (12:55 +0000)]
Make IFParserTestCase use the temporary, attributed MIME type for PDF (so the PDFPainter is found and used).

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

16 years agoExtracted some often-used XML constants and utility methods into an interface and...
Jeremias Maerki [Tue, 12 Aug 2008 12:53:50 +0000 (12:53 +0000)]
Extracted some often-used XML constants and utility methods into an interface and a class in org.apache.fop.util.

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

16 years agoResolved a build problem after the last merge from trunk.
Jeremias Maerki [Tue, 12 Aug 2008 12:48:28 +0000 (12:48 +0000)]
Resolved a build problem after the last merge from trunk.

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

16 years agoMerge from Trunk revisions 680381-685126.
Jeremias Maerki [Tue, 12 Aug 2008 12:36:18 +0000 (12:36 +0000)]
Merge from Trunk revisions 680381-685126.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@685132 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 agoNow that the most important stuff is working in IFRenderer, reduce verbosity at debug...
Jeremias Maerki [Fri, 8 Aug 2008 12:14:00 +0000 (12:14 +0000)]
Now that the most important stuff is working in IFRenderer, reduce verbosity at debug level.

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

16 years agoUpdate for image elements.
Jeremias Maerki [Thu, 7 Aug 2008 19:42:31 +0000 (19:42 +0000)]
Update for image elements.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@683691 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 agoImplemented foreign-object support for the new intermediate format.
Jeremias Maerki [Thu, 7 Aug 2008 16:01:31 +0000 (16:01 +0000)]
Implemented foreign-object support for the new intermediate format.
Note: foreign namespace are only properly processed if there is an ImagePreloader and, where necessary, one or more supporting ImageConverters and/or ImageHandlers.

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

16 years agoBugfix: Don't use getWidth/Height() from superclass as this is accessing the original...
Jeremias Maerki [Wed, 6 Aug 2008 19:37:18 +0000 (19:37 +0000)]
Bugfix: Don't use getWidth/Height() from superclass as this is accessing the original size, not the effective size of the bitmap (could have been rendered to a different size by an image converter).

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

16 years agoFix for kerning (switched to SVG semantics, now working correctly for both SVG and...
Jeremias Maerki [Wed, 6 Aug 2008 18:40:47 +0000 (18:40 +0000)]
Fix for kerning (switched to SVG semantics, now working correctly for both SVG and PDF)
Introduced a special SVG image handler (the successor to PDFSVGHandler).
Fixed placement of patterns and links in SVGs for PDF output (the transformations for viewbox and group were not recorded in the state).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@683364 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 agoFirst steps at unified image handling as proposed on http://wiki.apache.org/xmlgraphi...
Jeremias Maerki [Tue, 5 Aug 2008 15:31:00 +0000 (15:31 +0000)]
First steps at unified image handling as proposed on http://wiki.apache.org/xmlgraphics-fop/ImageSupport/ImageHandler. This shall serve as a preview to motivate early feedback if anyone is interested.
Basic external-graphic support now available for PDF and SVG painters (for PDF: RenderedImage, SVG, JPEG, CCITT and Java2D, for SVG: embedded SVG and RFC2397 data URLs containing PNG and JPEG images)
Change to IFPainter: added support for foreign attributes for the "image" tag.
PDFContentGenerator introduced to hold the most important objects for PDF generation (unification for renderer and painter).
Re-routed most image handling through the new image handling code (not fully done, yet, some code duplication remains).

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

16 years agoFix for plan reloader when the namespace doesn't match.
Jeremias Maerki [Tue, 5 Aug 2008 15:20:54 +0000 (15:20 +0000)]
Fix for plan reloader when the namespace doesn't match.
Added a viewBox attribute to the generated SVG so scaling is done properly when embedded in another SVG file.

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

16 years agoRefinements based on the extensions of XML Graphics Commons (better distinction of...
Jeremias Maerki [Tue, 5 Aug 2008 15:19:02 +0000 (15:19 +0000)]
Refinements based on the extensions of XML Graphics Commons (better distinction of the various image flavors).
Added an image converter from Java2D to SVG (using Batik's SVGGraphics2D).

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

16 years agoBugfix for leading glyph adjust in TJ array.
Jeremias Maerki [Tue, 5 Aug 2008 15:17:04 +0000 (15:17 +0000)]
Bugfix for leading glyph adjust in TJ array.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@682743 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