]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
12 years agoReverted changes made in r1234877, see bugzilla#52513
Mehdi Houshmand [Tue, 24 Jan 2012 09:53:32 +0000 (09:53 +0000)]
Reverted changes made in r1234877, see bugzilla#52513

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

12 years agoMoved the FOUserAgent into the constructor of the Renderers
Mehdi Houshmand [Mon, 23 Jan 2012 16:15:23 +0000 (16:15 +0000)]
Moved the FOUserAgent into the constructor of the Renderers

This breaks the public API but for good reasons:
1) the user-agent is essential for configuring the renderers
2) instantiation of the constructor is always followed by call to "setUserAgent()" (in the examples)
3) simplifies the API and reduces mutability of the Renderers

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

12 years agoBugzilla#52499: non embeddable TTF fonts -- throw exception if trying to embed
Mehdi Houshmand [Mon, 23 Jan 2012 12:08:08 +0000 (12:08 +0000)]
Bugzilla#52499: non embeddable TTF fonts -- throw exception if trying to embed
Submitted by: Luis Bernardo

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

12 years agoAmended a non-ASCII character in a comment
Mehdi Houshmand [Mon, 23 Jan 2012 11:19:46 +0000 (11:19 +0000)]
Amended a non-ASCII character in a comment

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

12 years agoadded svn:eol-style=native property to recently added new files
Chris Bowditch [Fri, 20 Jan 2012 10:39:42 +0000 (10:39 +0000)]
added svn:eol-style=native property to recently added new files

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

12 years agouse of £ was causing some cross platform issues since it's part of the ASCII extended...
Chris Bowditch [Thu, 19 Jan 2012 15:21:40 +0000 (15:21 +0000)]
use of £ was causing some cross platform issues since it's part of the ASCII extended character set. Swapped it for a Unicode reference to resolve the problem.

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

12 years agoremove remaining duplicates with the help of xslt provided by Pascal Sancho
Chris Bowditch [Thu, 19 Jan 2012 15:00:41 +0000 (15:00 +0000)]
remove remaining duplicates with the help of xslt provided by Pascal Sancho

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

12 years agoBugzilla #52416:
Chris Bowditch [Thu, 19 Jan 2012 14:26:06 +0000 (14:26 +0000)]
Bugzilla #52416:
Suppress unnecessary "font not found warnings" when generating AFP with raster fonts
Submitted by: Luis Bernardo

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

12 years agoremove some duplicate exclusions
Chris Bowditch [Wed, 18 Jan 2012 17:04:57 +0000 (17:04 +0000)]
remove some duplicate exclusions

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

12 years agoresolve findbug warnings
Chris Bowditch [Wed, 18 Jan 2012 14:32:43 +0000 (14:32 +0000)]
resolve findbug warnings

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

12 years agoBugzilla #51209:
Chris Bowditch [Wed, 18 Jan 2012 11:54:36 +0000 (11:54 +0000)]
Bugzilla #51209:
SVG text in AFP creates miscoded GOCA text
Submitted by: Luis Bernardo

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

12 years agoBugzilla #50391:
Chris Bowditch [Tue, 10 Jan 2012 16:14:05 +0000 (16:14 +0000)]
Bugzilla #50391:
Add support for different flow-name of fo:region-body in FOP
Submitted by: Peter Hancock

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

12 years agoBugzilla #51644:
Chris Bowditch [Fri, 6 Jan 2012 16:03:44 +0000 (16:03 +0000)]
Bugzilla #51644:
Tagged PDF performance improvement + tests
Submitted by: Mehdi Houshmand

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

12 years agoRemoved file that became empty in rev. 1198853
Vincent Hennebert [Tue, 20 Dec 2011 16:03:29 +0000 (16:03 +0000)]
Removed file that became empty in rev. 1198853

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

12 years agoRename fop.cmd to fop.bat and let fop.cmd call fop.bat
Simon Pepping [Tue, 6 Dec 2011 11:13:00 +0000 (11:13 +0000)]
Rename fop.cmd to fop.bat and let fop.cmd call fop.bat

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

12 years agoBugzilla #52206: small performance improvements by declaring some class members as...
Vincent Hennebert [Mon, 5 Dec 2011 14:38:34 +0000 (14:38 +0000)]
Bugzilla #52206: small performance improvements by declaring some class members as static
Patch by Alexis Giotis, applied with minor modifications

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

13 years agoAdded build/fop-hyph.jar to standard-junit-classpath so that hyphenation tests can...
Vincent Hennebert [Tue, 22 Nov 2011 15:51:00 +0000 (15:51 +0000)]
Added build/fop-hyph.jar to standard-junit-classpath so that hyphenation tests can run when the "source" en.xml and de.xml are stored in the hyph/ directory

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

13 years agoChanged the error handling for AFP fonts such that errors are passed to the AFPEventP...
Mehdi Houshmand [Mon, 21 Nov 2011 16:35:41 +0000 (16:35 +0000)]
Changed the error handling for AFP fonts such that errors are passed to the AFPEventProducer.

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

13 years agoBugzilla #52197: Improved support for AdobeStandardEncoding encoded AFM files for...
Mehdi Houshmand [Mon, 21 Nov 2011 13:33:00 +0000 (13:33 +0000)]
Bugzilla #52197: Improved support for AdobeStandardEncoding encoded AFM files for type1 fonts

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

13 years agoAdded mockito JAR for use in unit tests to mock classes
Mehdi Houshmand [Mon, 21 Nov 2011 11:44:25 +0000 (11:44 +0000)]
Added mockito JAR for use in unit tests to mock classes

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

13 years agoBugzilla #52151: added ant script to get JaCoCo code coverage
Vincent Hennebert [Fri, 18 Nov 2011 17:08:20 +0000 (17:08 +0000)]
Bugzilla #52151: added ant script to get JaCoCo code coverage

Patch by Mehdi Houshmand, applied with changes

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

13 years agoBugzilla #52177: Changed the AFP double-byte characterset builder to a singleton...
Mehdi Houshmand [Fri, 18 Nov 2011 16:23:43 +0000 (16:23 +0000)]
Bugzilla #52177: Changed the AFP double-byte characterset builder to a singleton, this now matches the behaviour of the single byte characterset builder

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

13 years agoBugzilla #51592: TTFFontLoader ignores the useKerning attribute used with fonts
Chris Bowditch [Thu, 17 Nov 2011 12:10:34 +0000 (12:10 +0000)]
Bugzilla #51592: TTFFontLoader ignores the useKerning attribute used with fonts
Patch submitted by Mehdi Houshmand (mehdi1985 at gmail.com)

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

13 years agoBugzilla 52136: Added to build file JUnit target that uses a regex to run all of...
Vincent Hennebert [Mon, 7 Nov 2011 18:18:29 +0000 (18:18 +0000)]
Bugzilla 52136: Added to build file JUnit target that uses a regex to run all of the test cases.
Patch by Mehdi Houshmand, applied with minor modifications

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

13 years agoBugzilla#52089: Allow JPEG images to be embedded in an AFP document as
Peter Hancock [Tue, 1 Nov 2011 12:20:21 +0000 (12:20 +0000)]
Bugzilla#52089: Allow JPEG images to be embedded in an AFP document as
is, without being decoded and encoded. It also allows lossy JPEG compression.

Patch by Jeremias Maerki and Mehdi Houshmand.

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

13 years agoAllow to switch to a different page size in mid-document.
Jeremias Maerki [Mon, 24 Oct 2011 12:44:11 +0000 (12:44 +0000)]
Allow to switch to a different page size in mid-document.

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

13 years agoCache the schema for the XML namespace to a local directory. This avoids downloading...
Vincent Hennebert [Thu, 20 Oct 2011 15:38:54 +0000 (15:38 +0000)]
Cache the schema for the XML namespace to a local directory. This avoids downloading it from the W3C website every time the IF test cases are run.

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

13 years agoBugzilla#512010: Simplification of the build.
Peter Hancock [Wed, 19 Oct 2011 10:21:17 +0000 (10:21 +0000)]
Bugzilla#512010: Simplification of the build.
Reduced code duplication and layout engine tests.

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

13 years agoRestored PDFDocumentGraphics2D functionality.
Jeremias Maerki [Sat, 15 Oct 2011 10:32:15 +0000 (10:32 +0000)]
Restored PDFDocumentGraphics2D functionality.
Bugfix: NPE after PDFDocumentGraphics2D.create() due to missing font setup and other missing initializations.
Bugfix: Properly handle state in PDFGraphics2D.drawString().
Added an example class demonstrating the use of PDFDocumentGraphics2D.

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

13 years agoBugzilla#51962: Bugfix for when the last simple-page-master referenced in a page...
Peter Hancock [Tue, 11 Oct 2011 08:44:08 +0000 (08:44 +0000)]
Bugzilla#51962: Bugfix for when the last simple-page-master referenced in a page-sequence-master is not chosen when force-page-count=odd.

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

13 years agoBugzilla #51928: Upgraded all tests to JUnit 4
Vincent Hennebert [Tue, 4 Oct 2011 10:09:01 +0000 (10:09 +0000)]
Bugzilla #51928: Upgraded all tests to JUnit 4
Patch by Mehdi Houshmand, applied with minor cosmetics and error fixes

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

13 years agoFixed a findbugs warning introduced in rev#1177251
Peter Hancock [Mon, 3 Oct 2011 09:08:59 +0000 (09:08 +0000)]
Fixed a findbugs warning introduced in rev#1177251

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

13 years agoFix FO tree hierarchy: BasicLink shouldn't inherit from Inline
Peter Hancock [Thu, 29 Sep 2011 10:18:53 +0000 (10:18 +0000)]
Fix FO tree hierarchy: BasicLink shouldn't inherit from Inline

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

13 years agoVarious small fixes
Simon Pepping [Thu, 29 Sep 2011 08:58:12 +0000 (08:58 +0000)]
Various small fixes

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

13 years agoBugzilla#48696 version 4: Bugfix for color model in IOCA IDE structure parameter...
Peter Hancock [Mon, 26 Sep 2011 11:43:38 +0000 (11:43 +0000)]
Bugzilla#48696 version 4: Bugfix for color model in IOCA IDE structure parameter for 4- and 8-bit grayscale images.

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

13 years agoBugzilla#51760: PS images stored as an embedded file which has no length limit.
Peter Hancock [Mon, 26 Sep 2011 10:06:22 +0000 (10:06 +0000)]
Bugzilla#51760: PS images stored as an embedded file which has no length limit.

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

13 years agoPDFFactory responsible for asdigning name to a subset font.
Peter Hancock [Mon, 26 Sep 2011 09:48:20 +0000 (09:48 +0000)]
PDFFactory responsible for asdigning name to a subset font.

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

13 years agoProper fix for Bugzilla #51789: no non-ascii characters permitted
Vincent Hennebert [Mon, 12 Sep 2011 14:53:34 +0000 (14:53 +0000)]
Proper fix for Bugzilla #51789: no non-ascii characters permitted

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

13 years agoBugzilla #51790: source file contains non-ascii character
Vincent Hennebert [Mon, 12 Sep 2011 14:27:25 +0000 (14:27 +0000)]
Bugzilla #51790: source file contains non-ascii character
Removed @author tags

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

13 years agoBugzilla #51789: removed non-ascii characters in source files
Vincent Hennebert [Mon, 12 Sep 2011 14:19:03 +0000 (14:19 +0000)]
Bugzilla #51789: removed non-ascii characters in source files
Patch submitted by Christopher Yeleighton

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

13 years agoBugzill#51530: Improved support for EBCDIC encoded double byte fonts fo AFP.
Peter Hancock [Mon, 5 Sep 2011 09:42:00 +0000 (09:42 +0000)]
Bugzill#51530: Improved support for EBCDIC encoded double byte fonts fo AFP.
Submitted by: Mehdi Houshmand <med1985.at.gmail.com>

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

13 years agoBugzilla#51205: Corrected typographical errors in AFPBase12FontCollection.
Peter Hancock [Mon, 5 Sep 2011 07:55:05 +0000 (07:55 +0000)]
Bugzilla#51205: Corrected typographical errors in AFPBase12FontCollection.
Submitted by: Mehdi Houshmand <med1985.at.gmail.com>

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

13 years agoImproved fix for bugzilla#48062
Peter Hancock [Thu, 25 Aug 2011 15:48:26 +0000 (15:48 +0000)]
Improved fix for bugzilla#48062

Bug relates to PCL painter thread safetly. Previous fix in rev 895012 worked by synchronizing methods of a static instance of Java2DFontMetrics. This fix uses a unique instance for per thread.

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

13 years agoOnly some values of the format property are supported; change requested by Glenn...
Simon Pepping [Thu, 25 Aug 2011 07:11:00 +0000 (07:11 +0000)]
Only some values of the format property are supported; change requested by Glenn Adams

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

13 years agoFixed favicon.ico problem.
Jeremias Maerki [Tue, 23 Aug 2011 21:01:23 +0000 (21:01 +0000)]
Fixed favicon.ico problem.
Fixed trademark statement in skinconf.xml.
Fixed validation issue in skinconf.xml.

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

13 years agoFixed a bug in AFP where an ArrayOutofBoundsException is throwqn when embedding a...
Peter Hancock [Mon, 22 Aug 2011 15:14:54 +0000 (15:14 +0000)]
Fixed a bug in AFP where an ArrayOutofBoundsException is throwqn when embedding a Page Segment.

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

13 years agoFixed checkstyle warnings
Peter Hancock [Mon, 22 Aug 2011 09:59:53 +0000 (09:59 +0000)]
Fixed checkstyle warnings

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

13 years agoRemoved debug output to System.out
Vincent Hennebert [Tue, 9 Aug 2011 15:21:23 +0000 (15:21 +0000)]
Removed debug output to System.out

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

13 years agoBugzilla #51596: A composite glyph can be remapped more than once in a TTF subset...
Vincent Hennebert [Mon, 8 Aug 2011 17:34:46 +0000 (17:34 +0000)]
Bugzilla #51596: A composite glyph can be remapped more than once in a TTF subset, resulting in garbled character
Test and clean-up provided by Mehdi Houshmand

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

13 years agoAdded support for 128bit encryption in PDF output. Based on work by Michael Rubin.
Vincent Hennebert [Mon, 8 Aug 2011 15:51:43 +0000 (15:51 +0000)]
Added support for 128bit encryption in PDF output. Based on work by Michael Rubin.

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

13 years agoFixed a bug in AFP where the object area axes of an Include Object was incorrectly...
Peter Hancock [Wed, 27 Jul 2011 14:02:20 +0000 (14:02 +0000)]
Fixed a bug in AFP where the object area axes of an Include Object was incorrectly set when rotated by 180

Removed non-ascii characters in a comment

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

13 years agoFixed a bug in AFP where the object area axes of an Include Object was incorrectly...
Peter Hancock [Wed, 27 Jul 2011 12:53:45 +0000 (12:53 +0000)]
Fixed a bug in AFP where the object area axes of an Include Object was incorrectly set when rotated by 180

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

13 years agoFixed a bug in AFP where the object area axes of an Include Object was incorrectly...
Peter Hancock [Wed, 27 Jul 2011 12:50:12 +0000 (12:50 +0000)]
Fixed a bug in AFP where the object area axes of an Include Object was incorrectly set when rotated by 180

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

13 years agoAttempt at making the remapComposite "more readable".
Jeremias Maerki [Wed, 27 Jul 2011 12:37:29 +0000 (12:37 +0000)]
Attempt at making the remapComposite "more readable".

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

13 years agoFixed a bug in TTF subsetting where a composite glyph could get remapped more than...
Jeremias Maerki [Tue, 26 Jul 2011 18:28:07 +0000 (18:28 +0000)]
Fixed a bug in TTF subsetting where a composite glyph could get remapped more than once resulting in garbled character.

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

13 years agoRemoved the lastMediumMap variable and the check to omit the IMM if it doesn't change...
Jeremias Maerki [Fri, 8 Jul 2011 15:00:47 +0000 (15:00 +0000)]
Removed the lastMediumMap variable and the check to omit the IMM if it doesn't change. I wonder why I came up with that. This can lead, among other things, to problems when an AFP file is split.

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

13 years agoStatus update for bug #50605
Jeremias Maerki [Sat, 2 Jul 2011 10:38:35 +0000 (10:38 +0000)]
Status update for bug #50605

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

13 years agoFixed some FindBugs issues.
Jeremias Maerki [Sat, 2 Jul 2011 10:22:03 +0000 (10:22 +0000)]
Fixed some FindBugs issues.
Added some generics.

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

13 years agoBugfix: select the right font to paint replacement glyphs. This used to paint some...
Jeremias Maerki [Sat, 2 Jul 2011 10:20:33 +0000 (10:20 +0000)]
Bugfix: select the right font to paint replacement glyphs. This used to paint some characters on top of each others when a font with an auxiliary encoding was active.

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

13 years agoBugfix: AFMFile sometimes indirectly caused wrong assignments of char widths to code...
Jeremias Maerki [Sat, 2 Jul 2011 10:18:35 +0000 (10:18 +0000)]
Bugfix: AFMFile sometimes indirectly caused wrong assignments of char widths to code points in a single-byte encoding due to mapping multiple characters to the same code points (see overridePrimaryEncoding).
Fixed some FindBugs issues.
Added some generics.

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

13 years agoRemoved fallback mechanism in AbstractCodePointMapping. This is superfluous now that...
Jeremias Maerki [Sat, 2 Jul 2011 10:17:46 +0000 (10:17 +0000)]
Removed fallback mechanism in AbstractCodePointMapping. This is superfluous now that SingleByteFont handles all substitutions. This actually fixes a bug: the glyph "minus" was painted using "hyphen" but used the width of "minus" due to this fallback mechanism.

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

13 years agoPorted to Trunk changes made to fop-1_0 branch in revisions 1139721, 1139722, 1140594
Vincent Hennebert [Fri, 1 Jul 2011 17:20:45 +0000 (17:20 +0000)]
Ported to Trunk changes made to fop-1_0 branch in revisions 113972111397221140594

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

13 years agoFixed a typo and two FindBugs issues.
Jeremias Maerki [Thu, 30 Jun 2011 10:00:28 +0000 (10:00 +0000)]
Fixed a typo and two FindBugs issues.

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

13 years agoFixed a multi-threading bug for SVG images included through svg:image inside SVG...
Jeremias Maerki [Thu, 30 Jun 2011 09:49:55 +0000 (09:49 +0000)]
Fixed a multi-threading bug for SVG images included through svg:image inside SVG document. Similar to the fix required in PDFImageHandlerSVG. The SVG DOM must be cloned because Batik attaches the CSS parser to the DOM tree and manipulates the same.

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

13 years agoFixed regression introduced by rev 1137971:
Jeremias Maerki [Tue, 21 Jun 2011 15:07:50 +0000 (15:07 +0000)]
Fixed regression introduced by rev 1137971:
Bi-level images that are generated as page segments and don't need to be resampled produced garbled output because the size of the image data got set to wrong values.

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

13 years agoPerformance improvement:
Jeremias Maerki [Tue, 21 Jun 2011 12:14:45 +0000 (12:14 +0000)]
Performance improvement:
The code is now checking re-use of an already encoded image before actually encoding it. Before, the image was encoded in every case, but only really embedded the first time.

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

13 years agoFixed regression introduced by SVN rev 1088079:
Jeremias Maerki [Tue, 21 Jun 2011 09:44:42 +0000 (09:44 +0000)]
Fixed regression introduced by SVN rev 1088079:
Endless loop with empty fo:inline.

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

13 years agoAdded an IFDocumentHandler filter for triggering rendering events.
Peter Hancock [Mon, 20 Jun 2011 09:51:42 +0000 (09:51 +0000)]
Added an IFDocumentHandler filter for triggering rendering events.
Created an Event that captures an end page event with the page number.

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

13 years agoFix checkstyle and findbugs issues
Simon Pepping [Wed, 15 Jun 2011 11:04:33 +0000 (11:04 +0000)]
Fix checkstyle and findbugs issues

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

13 years agoFixed regression introduced with rev 1095887:
Jeremias Maerki [Tue, 14 Jun 2011 12:58:55 +0000 (12:58 +0000)]
Fixed regression introduced with rev 1095887:
Painting state was not properly handled when painting text runs which could lead to missing color setters and therefore wrong font colors.
Removed save/restoreGraphicsState from PDFTextUtil as that doesn't update the painting state. Instead the code is now using equivalent methods from PDFGraphics2D.

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

13 years agoFix a regexp error in the schema
Simon Pepping [Wed, 8 Jun 2011 10:05:05 +0000 (10:05 +0000)]
Fix a regexp error in the schema

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

13 years agoBugfix: alternative text not working in tagged PDF for TIFF images
Vincent Hennebert [Wed, 18 May 2011 19:31:58 +0000 (19:31 +0000)]
Bugfix: alternative text not working in tagged PDF for TIFF images

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

13 years agoFixed io exception in MODCAParser caused by the improper use of mark() and reset()
Peter Hancock [Tue, 17 May 2011 11:07:06 +0000 (11:07 +0000)]
Fixed io exception in MODCAParser caused by the improper use of mark() and reset()
on the MODCA data input stream.  See bugzilla 50909.

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

13 years agoFOP Site: cleanup copy/paste from 0.94 (I guess) in trunk tab
Pascal Sancho [Mon, 9 May 2011 15:01:21 +0000 (15:01 +0000)]
FOP Site: cleanup copy/paste from 0.94 (I guess) in trunk tab

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

13 years agoMore happiness for FindBugs.
Jeremias Maerki [Thu, 5 May 2011 15:55:20 +0000 (15:55 +0000)]
More happiness for FindBugs.

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

13 years agoBugzilla #51144:
Jeremias Maerki [Thu, 5 May 2011 15:50:20 +0000 (15:50 +0000)]
Bugzilla #51144:
Removed invalid entries in ToUnicode table of CID subset fonts.
Submitted by: Mehdi Houshmand <med1985.at.gmail.com>

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

13 years agoBugzilla #50899:
Jeremias Maerki [Thu, 5 May 2011 15:38:17 +0000 (15:38 +0000)]
Bugzilla #50899:
Fixed mapping of font weights between CSS values and TextAttribute.WEIGHT_*.
Submitted by: Glenn Adams <glenn.at.skynav.com>

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

13 years agoAFP GOCA:
Jeremias Maerki [Thu, 5 May 2011 14:49:27 +0000 (14:49 +0000)]
AFP GOCA:
fonts were not embedded from within AFPGraphics2D.
Changed the way FOP fonts are selected based on Batik's GVT fonts to match the behaviour of PDF/PS output.

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

13 years agoSite: update DOC for bookmarks
Pascal Sancho [Thu, 5 May 2011 07:18:55 +0000 (07:18 +0000)]
Site: update DOC for bookmarks

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

13 years agoAdded Pascal Sancho to the Active Committers again
Simon Pepping [Wed, 4 May 2011 17:41:12 +0000 (17:41 +0000)]
Added Pascal Sancho to the Active Committers again

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

13 years agohttps://issues.apache.org/jira/browse/XERCESJ-1505
Jeremias Maerki [Fri, 29 Apr 2011 13:18:58 +0000 (13:18 +0000)]
https://issues.apache.org/jira/browse/XERCESJ-1505
Schemas should not be downloaded from the W3C website!

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

13 years agoAvert a few possible NPEs, ex. rgc-icc() and named-color() on fo:root.
Jeremias Maerki [Fri, 29 Apr 2011 09:07:58 +0000 (09:07 +0000)]
Avert a few possible NPEs, ex. rgc-icc() and named-color() on fo:root.

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

13 years agoUpdated website
Peter Hancock [Thu, 28 Apr 2011 08:21:51 +0000 (08:21 +0000)]
Updated website

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

13 years agoFix a potential NPE which can apparently happen in very exotic cases (actually, it...
Jeremias Maerki [Fri, 22 Apr 2011 08:58:55 +0000 (08:58 +0000)]
Fix a potential NPE which can apparently happen in very exotic cases (actually, it rather points to a Java class library bug).

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

13 years agoUpdate graphics state when applying color.
Jeremias Maerki [Fri, 22 Apr 2011 08:25:30 +0000 (08:25 +0000)]
Update graphics state when applying color.
Optimize painting of rectangles where possible to reduce file sizes.
Some generics and FindBugs fixes.

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

13 years agoMake FindBugs happier.
Jeremias Maerki [Fri, 22 Apr 2011 07:47:49 +0000 (07:47 +0000)]
Make FindBugs happier.

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

13 years agoAdded option to place AFP NOPs right before the end of a named page group (page-seque...
Jeremias Maerki [Fri, 22 Apr 2011 07:44:46 +0000 (07:44 +0000)]
Added option to place AFP NOPs right before the end of a named page group (page-sequence), rather than after the start.

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

13 years agoForgot status update.
Jeremias Maerki [Fri, 22 Apr 2011 07:17:13 +0000 (07:17 +0000)]
Forgot status update.

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

13 years agoAdded option for PostScript output to optimize for file size rather than quality.
Jeremias Maerki [Fri, 22 Apr 2011 07:15:43 +0000 (07:15 +0000)]
Added option for PostScript output to optimize for file size rather than quality.
Fixed some missing PostScript command mappings.

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

13 years agoLog image encoding times.
Jeremias Maerki [Fri, 22 Apr 2011 07:00:11 +0000 (07:00 +0000)]
Log image encoding times.
Make FindBugs happier.

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

13 years agoEnable fox:conversion-mode="bitmap" for PDF output.
Jeremias Maerki [Fri, 22 Apr 2011 06:55:48 +0000 (06:55 +0000)]
Enable fox:conversion-mode="bitmap" for PDF output.
Release memory from Batik GVT as early as possible to break some peaks.

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

13 years agoAFP GOCA: Added option to disable GOCA and to control text painting inside GOCA graphics.
Jeremias Maerki [Fri, 22 Apr 2011 06:43:22 +0000 (06:43 +0000)]
AFP GOCA: Added option to disable GOCA and to control text painting inside GOCA graphics.

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

13 years agoForgot a file added for revision 1095739.
Jeremias Maerki [Thu, 21 Apr 2011 15:08:29 +0000 (15:08 +0000)]
Forgot a file added for revision 1095739.

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

13 years agoAFP GOCA: Work-around for InfoPrint's AFP implementation (AFP Viewer 3.5.4.1, AFP...
Jeremias Maerki [Thu, 21 Apr 2011 14:59:09 +0000 (14:59 +0000)]
AFP GOCA: Work-around for InfoPrint's AFP implementation (AFP Viewer 3.5.4.1, AFP Workbench 2.5.4.1) which seems to lose the character set state over Graphics Data (GAD) boundaries. Setting the SegFlag on the SFI header did not help. Instead, the character set is re-set before each Character String order.
As part of the fix, some additional flags were implemented, but now not used. They might be useful in the future.

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

13 years agoBugfix for AFP GOCA segments: they were not properly marked as appended which could...
Jeremias Maerki [Wed, 20 Apr 2011 14:07:36 +0000 (14:07 +0000)]
Bugfix for AFP GOCA segments: they were not properly marked as appended which could lead to graphics state changes in some implementations.

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

13 years agoBugzilla #51010: Bookmarks create useless lines in RTF
Chris Bowditch [Tue, 19 Apr 2011 13:49:40 +0000 (13:49 +0000)]
Bugzilla #51010: Bookmarks create useless lines in RTF
Patch submitted by Max Aster

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

13 years agoBugzilla #51008: page-number-citation-last does not work in RTF
Chris Bowditch [Tue, 19 Apr 2011 13:06:27 +0000 (13:06 +0000)]
Bugzilla #51008: page-number-citation-last does not work in RTF
Patch submitted by Max Aster

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

13 years agoAdded id element to intermediate format to track the origin of content.
Vincent Hennebert [Mon, 18 Apr 2011 18:36:05 +0000 (18:36 +0000)]
Added id element to intermediate format to track the origin of content.

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

13 years agoAdd link to Frank Liang's paper on hyphenation, provided by PBW
Simon Pepping [Tue, 12 Apr 2011 12:34:13 +0000 (12:34 +0000)]
Add link to Frank Liang's paper on hyphenation, provided by PBW

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

13 years agoAdded javadoc to createInlineParent method
Vincent Hennebert [Fri, 8 Apr 2011 10:49:45 +0000 (10:49 +0000)]
Added javadoc to createInlineParent method

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