aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-0813-383/+846
| | | | | | 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
* Fixed a typo and two FindBugs issues.Jeremias Maerki2011-06-301-14/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1141464 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a multi-threading bug for SVG images included through svg:image inside ↵Jeremias Maerki2011-06-301-4/+12
| | | | | | 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
* Fixed regression introduced by rev 1137971:Jeremias Maerki2011-06-211-7/+10
| | | | | | 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
* Performance improvement:Jeremias Maerki2011-06-212-239/+304
| | | | | | 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
* Fixed regression introduced by SVN rev 1088079:Jeremias Maerki2011-06-211-4/+4
| | | | | | Endless loop with empty fo:inline. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1137921 13f79535-47bb-0310-9956-ffa450edef68
* Added an IFDocumentHandler filter for triggering rendering events. Peter Hancock2011-06-204-1/+64
| | | | | | | 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
* Fix checkstyle and findbugs issuesSimon Pepping2011-06-157-23/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1135995 13f79535-47bb-0310-9956-ffa450edef68
* Fixed regression introduced with rev 1095887:Jeremias Maerki2011-06-143-30/+23
| | | | | | | 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
* Bugfix: alternative text not working in tagged PDF for TIFF imagesVincent Hennebert2011-05-184-80/+83
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1124394 13f79535-47bb-0310-9956-ffa450edef68
* Fixed io exception in MODCAParser caused by the improper use of mark() and ↵Peter Hancock2011-05-174-354/+373
| | | | | | | | | 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
* More happiness for FindBugs.Jeremias Maerki2011-05-051-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1099857 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51144:Jeremias Maerki2011-05-052-11/+3
| | | | | | | 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
* Bugzilla #50899:Jeremias Maerki2011-05-051-3/+5
| | | | | | | 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
* AFP GOCA:Jeremias Maerki2011-05-056-158/+195
| | | | | | | | 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
* Avert a few possible NPEs, ex. rgc-icc() and named-color() on fo:root.Jeremias Maerki2011-04-293-3/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1097736 13f79535-47bb-0310-9956-ffa450edef68
* Fix a potential NPE which can apparently happen in very exotic cases ↵Jeremias Maerki2011-04-221-1/+6
| | | | | | (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
* Update graphics state when applying color.Jeremias Maerki2011-04-221-32/+62
| | | | | | | 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
* Make FindBugs happier.Jeremias Maerki2011-04-221-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095883 13f79535-47bb-0310-9956-ffa450edef68
* Added option to place AFP NOPs right before the end of a named page group ↵Jeremias Maerki2011-04-225-15/+148
| | | | | | (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
* Added option for PostScript output to optimize for file size rather than ↵Jeremias Maerki2011-04-226-12/+103
| | | | | | | | 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
* Log image encoding times.Jeremias Maerki2011-04-221-2/+19
| | | | | | Make FindBugs happier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095877 13f79535-47bb-0310-9956-ffa450edef68
* Enable fox:conversion-mode="bitmap" for PDF output.Jeremias Maerki2011-04-222-4/+23
| | | | | | 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
* AFP GOCA: Added option to disable GOCA and to control text painting inside ↵Jeremias Maerki2011-04-226-18/+128
| | | | | | GOCA graphics. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095874 13f79535-47bb-0310-9956-ffa450edef68
* Forgot a file added for revision 1095739.Jeremias Maerki2011-04-211-0/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095744 13f79535-47bb-0310-9956-ffa450edef68
* AFP GOCA: Work-around for InfoPrint's AFP implementation (AFP Viewer ↵Jeremias Maerki2011-04-213-13/+50
| | | | | | | | 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
* Bugfix for AFP GOCA segments: they were not properly marked as appended ↵Jeremias Maerki2011-04-202-10/+35
| | | | | | 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
* Bugzilla #51010: Bookmarks create useless lines in RTF Chris Bowditch2011-04-191-2/+14
| | | | | | | | Patch submitted by Max Aster git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095086 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51008: page-number-citation-last does not work in RTF Chris Bowditch2011-04-191-0/+27
| | | | | | | | Patch submitted by Max Aster git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095076 13f79535-47bb-0310-9956-ffa450edef68
* Added id element to intermediate format to track the origin of content.Vincent Hennebert2011-04-185-12/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1094690 13f79535-47bb-0310-9956-ffa450edef68
* Added javadoc to createInlineParent methodVincent Hennebert2011-04-081-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1090194 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 51032: Fixed regression due to oversight in refactoring ↵Andreas L. Delmelle2011-04-061-3/+5
| | | | | | | | text-decoration. Invalid values properly reported as errors again, instead of causing a NPE. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1089559 13f79535-47bb-0310-9956-ffa450edef68
* Proper fix for Bugzilla 50987Vincent Hennebert2011-04-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088973 13f79535-47bb-0310-9956-ffa450edef68
* Fixed regression introduced in rev. 1088079: also remove the element pointed ↵Vincent Hennebert2011-04-051-1/+2
| | | | | | to by restartPosition.getIndex() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088950 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 50988: Fixed a NullPointerException in case a fo:character was ↵Andreas L. Delmelle2011-04-031-0/+15
| | | | | | | | removed due to white-space handling. Thanks to Matthias Reischenbacher. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088242 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 50987: Fixed an issue where a link was added to the parent tree ↵Andreas L. Delmelle2011-04-031-1/+1
| | | | | | | | | instead of the related structure element. Thanks to Martin Koegler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088234 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 50986: Fixed an issue where invalid PDF page content was generated ↵Andreas L. Delmelle2011-04-031-1/+1
| | | | | | | | | due to incorrect ET/EMC sequences. Thanks to Martin Koegler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088231 13f79535-47bb-0310-9956-ffa450edef68
* Minor code fixupsAndreas L. Delmelle2011-04-021-25/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088079 13f79535-47bb-0310-9956-ffa450edef68
* Properly fix the case of unresolved bookmarks for the intermediate format: ↵Andreas L. Delmelle2011-03-271-9/+8
| | | | | | bypass serialization of the bookmarks, instead of only its action. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085944 13f79535-47bb-0310-9956-ffa450edef68