Mehdi Houshmand
96f6f23137
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
12 years ago
Mehdi Houshmand
69e5c269a3
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
12 years ago
Vincent Hennebert
07f082ad3d
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
12 years ago
Mehdi Houshmand
3d2b970d8e
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
12 years ago
Chris Bowditch
32ad33cda1
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
12 years ago
Vincent Hennebert
02303acdd9
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
12 years ago
Peter Hancock
fd263a114c
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
12 years ago
Jeremias Maerki
54a4751b61
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
12 years ago
Vincent Hennebert
ae7c3b4bd8
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
12 years ago
Peter Hancock
9860d5a133
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
12 years ago
Jeremias Maerki
87f892d9d8
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
12 years ago
Peter Hancock
25d268f166
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
12 years ago
Vincent Hennebert
91c66d9742
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
12 years ago
Peter Hancock
7d33c81a0a
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
12 years ago
Peter Hancock
5fac6eaf12
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
12 years ago
Simon Pepping
0a4a0fdf2e
Various small fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1177228 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Peter Hancock
eebad9b8a3
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
12 years ago
Peter Hancock
677accf2e9
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
12 years ago
Peter Hancock
a4b5668e88
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
12 years ago
Vincent Hennebert
2f433908c6
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
12 years ago
Vincent Hennebert
a9ecadc9d8
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
12 years ago
Vincent Hennebert
bc91753c04
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
12 years ago
Peter Hancock
de056bce77
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
12 years ago
Peter Hancock
2b875243ac
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
12 years ago
Peter Hancock
355eb32c4a
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
12 years ago
Simon Pepping
ff8d999ad2
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
12 years ago
Jeremias Maerki
dd1bee20f4
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
12 years ago
Peter Hancock
937d2cbd25
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
12 years ago
Peter Hancock
c3e956474f
Fixed checkstyle warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1160172 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
5ed41f9cfc
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 ago
Vincent Hennebert
fb02159c7d
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 ago
Vincent Hennebert
8e894b822f
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
3331d47de9
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
3c834f58e8
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
eee73c4ded
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
24158d577f
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
61bbd77c1e
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
284ff1805d
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
ca917dad2b
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
8b266c1f6d
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
e3ac5256c7
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
fa9fc6d171
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
20dd19ff66
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
95960da762
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
679802c476
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
6c398f41ee
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
634a8abadc
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
d54e7a6681
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
1df8c0b1db
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
79b6690593
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