aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Bugzilla#52513: Moved FOUserAgent to the constructor of the RenderersMehdi Houshmand2012-01-3025-148/+98
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237582 13f79535-47bb-0310-9956-ffa450edef68
* Amended error message to describe licensing restriction flag in fontMehdi Houshmand2012-01-241-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235358 13f79535-47bb-0310-9956-ffa450edef68
* Corrected typo in error messageMehdi Houshmand2012-01-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235191 13f79535-47bb-0310-9956-ffa450edef68
* Reverted changes made in r1234877, see bugzilla#52513Mehdi Houshmand2012-01-2425-98/+148
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235189 13f79535-47bb-0310-9956-ffa450edef68
* Moved the FOUserAgent into the constructor of the RenderersMehdi Houshmand2012-01-2325-148/+98
| | | | | | | | | | 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
* Bugzilla#52499: non embeddable TTF fonts -- throw exception if trying to embedMehdi Houshmand2012-01-231-2/+7
| | | | | | | Submitted by: Luis Bernardo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1234761 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #52416:Chris Bowditch2012-01-191-12/+14
| | | | | | | 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
* resolve findbug warningsChris Bowditch2012-01-182-2/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1232905 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51209:Chris Bowditch2012-01-184-24/+38
| | | | | | | 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
* Bugzilla #50391:Chris Bowditch2012-01-1017-84/+255
| | | | | | | 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
* Bugzilla #51644:Chris Bowditch2012-01-0613-139/+154
| | | | | | | 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
* Bugzilla #52206: small performance improvements by declaring some class ↵Vincent Hennebert2011-12-054-22/+23
| | | | | | | | | 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
* Changed the error handling for AFP fonts such that errors are passed to the ↵Mehdi Houshmand2011-11-218-153/+185
| | | | | | AFPEventProducer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204579 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #52197: Improved support for AdobeStandardEncoding encoded AFM ↵Mehdi Houshmand2011-11-214-134/+611
| | | | | | files for type1 fonts git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204488 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #52177: Changed the AFP double-byte characterset builder to a ↵Mehdi Houshmand2011-11-182-25/+41
| | | | | | 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
* Bugzilla #51592: TTFFontLoader ignores the useKerning attribute used with fontsChris Bowditch2011-11-171-1/+1
| | | | | | 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
* Bugzilla 52136: Added to build file JUnit target that uses a regex to run ↵Vincent Hennebert2011-11-078-8/+52
| | | | | | | | | 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
* Bugzilla#52089: Allow JPEG images to be embedded in an AFP document asPeter Hancock2011-11-0125-135/+498
| | | | | | | | | 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
* Allow to switch to a different page size in mid-document.Jeremias Maerki2011-10-241-2/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1188123 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#512010: Simplification of the build.Peter Hancock2011-10-191-3/+2
| | | | | | | 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
* Restored PDFDocumentGraphics2D functionality.Jeremias Maerki2011-10-152-6/+14
| | | | | | | | 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
* Bugzilla#51962: Bugfix for when the last simple-page-master referenced in a ↵Peter Hancock2011-10-112-2/+30
| | | | | | 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
* Fixed a findbugs warning introduced in rev#1177251Peter Hancock2011-10-031-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1178350 13f79535-47bb-0310-9956-ffa450edef68
* Fix FO tree hierarchy: BasicLink shouldn't inherit from InlinePeter Hancock2011-09-293-4/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1177251 13f79535-47bb-0310-9956-ffa450edef68
* Various small fixesSimon Pepping2011-09-295-27/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1177228 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#48696 version 4: Bugfix for color model in IOCA IDE structure ↵Peter Hancock2011-09-262-2/+4
| | | | | | 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
* Bugzilla#51760: PS images stored as an embedded file which has no length limit.Peter Hancock2011-09-261-24/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1175764 13f79535-47bb-0310-9956-ffa450edef68
* PDFFactory responsible for asdigning name to a subset font.Peter Hancock2011-09-265-42/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1175754 13f79535-47bb-0310-9956-ffa450edef68
* Proper fix for Bugzilla #51789: no non-ascii characters permittedVincent Hennebert2011-09-122-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1169780 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51790: source file contains non-ascii characterVincent Hennebert2011-09-121-6/+0
| | | | | | | Removed @author tags git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1169766 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51789: removed non-ascii characters in source filesVincent Hennebert2011-09-123-4/+4
| | | | | | | Patch submitted by Christopher Yeleighton git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1169758 13f79535-47bb-0310-9956-ffa450edef68
* Bugzill#51530: Improved support for EBCDIC encoded double byte fonts fo AFP.Peter Hancock2011-09-058-107/+288
| | | | | | | 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
* Bugzilla#51205: Corrected typographical errors in AFPBase12FontCollection.Peter Hancock2011-09-051-4/+4
| | | | | | | 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
* Improved fix for bugzilla#48062Peter Hancock2011-08-258-71/+69
| | | | | | | 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
* Only some values of the format property are supported; change requested by ↵Simon Pepping2011-08-251-4/+4
| | | | | | Glenn Adams git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1161419 13f79535-47bb-0310-9956-ffa450edef68
* Fixed favicon.ico problem.Jeremias Maerki2011-08-232-1/+2
| | | | | | | 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
* Fixed a bug in AFP where an ArrayOutofBoundsException is throwqn when ↵Peter Hancock2011-08-221-32/+28
| | | | | | embedding a Page Segment. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1160298 13f79535-47bb-0310-9956-ffa450edef68
* Fixed checkstyle warningsPeter Hancock2011-08-221-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1160172 13f79535-47bb-0310-9956-ffa450edef68
* Removed debug output to System.outVincent Hennebert2011-08-091-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1155396 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51596: A composite glyph can be remapped more than once in a TTF ↵Vincent Hennebert2011-08-083-188/+246
| | | | | | | | | 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
* Added support for 128bit encryption in PDF output. Based on work by Michael ↵Vincent Hennebert2011-08-0816-388/+933
| | | | | | Rubin. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1154998 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug in AFP where the object area axes of an Include Object was ↵Peter Hancock2011-07-271-2/+2
| | | | | | | | | 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
* Fixed a bug in AFP where the object area axes of an Include Object was ↵Peter Hancock2011-07-275-149/+111
| | | | | | incorrectly set when rotated by 180 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1151452 13f79535-47bb-0310-9956-ffa450edef68
* Attempt at making the remapComposite "more readable".Jeremias Maerki2011-07-271-13/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1151447 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug in TTF subsetting where a composite glyph could get remapped ↵Jeremias Maerki2011-07-261-38/+49
| | | | | | 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
* Removed the lastMediumMap variable and the check to omit the IMM if it ↵Jeremias Maerki2011-07-081-5/+1
| | | | | | 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
* Fixed some FindBugs issues.Jeremias Maerki2011-07-023-19/+18
| | | | | | | Added some generics. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1142192 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: select the right font to paint replacement glyphs. This used to ↵Jeremias Maerki2011-07-021-11/+23
| | | | | | 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
* Bugfix: AFMFile sometimes indirectly caused wrong assignments of char widths ↵Jeremias Maerki2011-07-021-36/+64
| | | | | | | | | 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
* Removed fallback mechanism in AbstractCodePointMapping. This is superfluous ↵Jeremias Maerki2011-07-021-40/+2
| | | | | | 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