Vincent Hennebert
74dd94b26c
Directly use FOP fonts to lay out SVG images for PDF, PS and AFP outputs.
The metrics are now taken from FOP configured fonts and no longer from AWT equivalents. That avoids discrepancies in case AWT and FOP use slightly different fonts, or if the font is not installed on the system. That actually also avoids having to install the font on the system.
FOP is also used for the primary layout of text (prior to SVG-specific transforms like translation or rotation) for consistency between SVG and XSL-FO.
This is a joint work from Peter Hancock and myself.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_FopFontsForSVG@1508208 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
cc9e320253
Directly use FOP fonts for SVG images, without going trough AWT fonts
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_FopFontsForSVG@1508203 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
0ddf24d48b
FOP-2265: Enable xlint cast; patch submitted by Simon Steiner; failed to commit changes to build.xml before.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1503396 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
55a7cd0c40
FOP-2265: Enable xlint cast; patch submitted by Simon Steiner
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1502902 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
ced4544dfc
FOP-2271: XSL Infinite loop; test case: patch submitted by Simon Steiner.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1502725 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
0352bc65c2
FOP-2271: XSL Infinite loop; patch submitted by Simon Steiner.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1502722 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
c5813226c1
FOP-2273: Stroke miter limit is not clamped when writing PDFs; patch submitted by Max Gilead
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1502705 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
a175b8a777
FOP-2259: 1 bit TIFF error; patch submitted by Simon Steiner
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1502694 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
fc0abb38c1
FOP-2250: Arabic characters are not connected on PCL; partial implementation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1495898 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
782fbe0f93
FOP-2246: Exception java.lang.IllegalArgumentException: min (1650) > opt (0); changes to avoid exception and default to "reasonable" values if no invalid value was explicitly provided.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1494364 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Clay Leeds
84ac86c9d7
Adding MarkDown docs/ directory for XML Graphics FOP.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1493425 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Peter Hancock
3c6f7cff12
Improved fop.xconf validation
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1489375 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
c9dc596061
FOP-2248: add support for AES 256 PDF encryption
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1484190 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
505348e32e
FOP-2221: Make overflow messages easier to read and fix wrong/ missing messages; patch submitted by Simon Steiner
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1482140 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
b4ef600c8e
Cosmetics only: removed Checkstyle SuppressWithNearbyCommentFilter and fixed corresponding issues
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1480018 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
8657e238ff
Cosmetics only: enabled Checkstyle MethodParamPad rule and fixed corresponding violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1479969 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
0a522e1ed9
FOP-2245: height attribute on external-graphic with percentage value behaves incorrectly
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1477872 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
90041001e5
FOP-2244: Encrypted image colorspace fails; patch submitted by Simon Steiner
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1477861 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
90dbe6c158
FOP-2238: updated xgc jar (revision 1477369)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1477371 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Peter Hancock
133c01f525
FOP-2211: fixed in previous
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1468367 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Peter Hancock
edd19cce3b
Fix & improve the handling of temporary files using the new URI resource resolvers
Thanks to Alexios Giotis for valuable contribution
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1468361 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
599adfb0fc
FOP-2221: Make overflow messages easier to read and fix wrong/ missing messages; applied second patch by Simon Steiner.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1468239 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
9ec064cc36
Note to self: do not start something else while committing
Removed premature uncommenting of MethodParamPad rule
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1466154 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
62bb3aa6be
Cosmetics only: enabled Checkstyle ParenPad rule and fixed corresponding violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1466146 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
1225f2cfde
FOP #2234: NPE when rendering a document with markers and accessibility is enabled
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1465599 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
ed9337a13c
FOP-2226: Image resources are not closed when rendering into the Intermediate Format
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1458382 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
0a4b28454b
FOP-2216: PDF forms are offset; patch submitted by Simon Steiner
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1457282 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
ec27338ecf
FOP-2223: Lines do not span to the end in rounded border cells in AFP; patch submitted by Simon Steiner.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1457188 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
2ccaaa4de5
FOP-2224: NPE for SVG text in AFP; patch submitted by Simon Steiner
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1457183 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
caf50d4057
FOP-2221: Make overflow messages easier to read and fix wrong/ missing messages; patch submitted by Simon Steiner.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1457180 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
8c7d620038
FOP-2044: Hyphenation of Uppercase Words, Combined with Underlines; applied second patch by Robert Meyer; expanded the layout test case.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1457168 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Chris Bowditch
228e9fd7df
FOP-2217; Image scaling change was adversely affecting other image types
Submitted by Robert Meyer (rmeyer.at.hotmail.co.uk)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1452859 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Chris Bowditch
84e9a4fb31
FOP-2214; forgot to commit status.xml
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1452735 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Chris Bowditch
f773e4f8ad
FOP-2215; Thin dashed border look like dots
Submitted by Simon Steiner (ssteiner.at.thunderhead.com)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1452734 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Chris Bowditch
7bedeb893d
FOP-2215; NullPointerException when generating IF with fox:external-document
Submitted by Simon Steiner (ssteiner.at.thunderhead.com)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1449718 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
390f429eee
FOP-2177: If a right aligned image exceeds a table cells bounds, it will overflow in the wrong direction; patch submitted by Robert Meyer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1448860 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
e4505c7d70
FOP-2181: Add a test case for the recent fix made in FOP-2174 and XGC-76 regarding source resolution scaling with SVG and images; patch submitted by Robert Meyer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1448484 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
bf7d64f32e
FOP-2183: Use event producer when Colour Profile in PNG Image is bad; patch submitted by Simon Steiner
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1448483 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
b4f6b99dc3
FOP-2044: Hyphenation of Uppercase Words, Combined with Underlines; patch submitted by Robert Meyer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1448469 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Glenn Adams
68a897b468
Partial revert of r1444573 to restore intermediate-format-ng.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1444631 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Clay Leeds
833826280d
Removing Forrest-based documentation files from build.xml.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1444575 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Clay Leeds
a2e998db8e
Removing Forrest-based documentation files.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1444573 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
0442cdb075
FOP-2148: make page-position="only" work
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1444217 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
8edc4ddf06
FOP-2206: adds unit test for PSPainter.drawText()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1442992 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Glenn Adams
e752d87283
FOP-2206: Add support for CS placement and escapement data in PS renderer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1442711 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Pascal Sancho
2b86f52231
Jira FOP-2203: Fix xml syntax in XSD
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1440381 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
eb7dcda8ce
JIRA-1719 Fix IIOBE thrown when the final footnote-only page starts on a new footnote
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1440094 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Glenn Adams
47d07941dc
FOP-2197: missing GlyphTester class in transcoder archives
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1437102 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Glenn Adams
7a9006cd3a
FOP-2195: use sparse arrays for position adjustments
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1435400 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Glenn Adams
e9f6cf0753
FOP-2194: optimize lazy font load invocation for hot methods
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1435344 13f79535-47bb-0310-9956-ffa450edef68
11 years ago