Vincent Hennebert
c74764e436
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 ago
Peter Hancock
6ab2dbd43a
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 ago
Peter Hancock
2f8e738af2
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 ago
Peter Hancock
08bd0d573a
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 ago
Jeremias Maerki
42751948e1
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 ago
Jeremias Maerki
cf9d02f04f
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 ago
Jeremias Maerki
d482d51d5f
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 ago
Jeremias Maerki
b6e7b9676b
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 ago
Jeremias Maerki
3b5f92c4ff
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 ago
Jeremias Maerki
f7eaac8843
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 ago
Jeremias Maerki
ac435448b7
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 ago
Jeremias Maerki
2d2a93eeb0
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 ago
Vincent Hennebert
5bbdf65922
Ported to Trunk changes made to fop-1_0 branch in revisions 1139721, 1139722, 1140594
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1141996 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
eda4671c68
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 ago
Jeremias Maerki
15b62403cd
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 ago
Jeremias Maerki
2e274dac0d
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 ago
Jeremias Maerki
3086fef536
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 ago
Jeremias Maerki
809289db9d
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 ago
Peter Hancock
a1db53f04f
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 ago
Simon Pepping
b8984bb862
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 ago
Jeremias Maerki
b7c5ccaff4
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 ago
Simon Pepping
7739f0e4dc
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 ago
Vincent Hennebert
e4712d4a4a
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 ago
Peter Hancock
fac959a376
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 ago
Pascal Sancho
d141184f84
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 ago
Jeremias Maerki
b67282d09a
More happiness for FindBugs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1099857 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
db4d698e21
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 ago
Jeremias Maerki
74a049cf21
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 ago
Jeremias Maerki
775cbccadf
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 ago
Pascal Sancho
1aa6645cd3
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 ago
Simon Pepping
9c6069faf7
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 ago
Jeremias Maerki
c5f35170e6
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 ago
Jeremias Maerki
2277f0d2c4
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 ago
Peter Hancock
b37051ce5e
Updated website
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1097354 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
d9cc21c350
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 ago
Jeremias Maerki
8ad8518b7a
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 ago
Jeremias Maerki
75133d2497
Make FindBugs happier.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095883 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
4258093db8
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 ago
Jeremias Maerki
c88d7de80e
Forgot status update.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095879 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
21884422e5
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 ago
Jeremias Maerki
7bf0e006ff
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 ago
Jeremias Maerki
4786226cf2
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 ago
Jeremias Maerki
e6597aa162
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 ago
Jeremias Maerki
ac50603abd
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 ago
Jeremias Maerki
2e4670f4cf
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 ago
Jeremias Maerki
9918b28ea6
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 ago
Chris Bowditch
57c80df660
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 ago
Chris Bowditch
85f3db888e
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 ago
Vincent Hennebert
9f0263b32c
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 ago
Simon Pepping
70c0065d8d
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 ago