Jeremias Maerki
2089591b3d
Copy attributes since some XML parsers might reuse the Attributes instance.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1026006 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
e7e2907920
Allow to pass through document-level extensions from the first document passed to the IFConcatenator.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1026003 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
c7f63f3f3a
Wrap the whole page stream in a q..Q pair to avoid problems when the page streams are combined later with additional content.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1025850 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
96d303859b
Bugfix for unescaped name characters which can cause trouble with PDF parsers.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1021325 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
eff5b9fd40
Bugzilla #49379:
Added ability to embed an external AFP page segment resource file (AFP output only).
Submitted by: Peter Hancock <peter.hancock.at.gmail.com>
Changes to patch:
- Replaced AFP parsing code with a more universal MO:DCA parser (as discussed).
- AFPDocumentHandler: addressed a TODO (clearing of the page segment map was not necessary for each page)
- AFPDocumentHandler: merged pageSegmentMap and pageSegmentUriMap by creating a combined object: PageSegmentDescriptor
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1005350 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
8ca38ab9b6
Handled optional CR and LF chars between structured fields.
Extended the field class so it can write itself back to an OutputStream.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1004991 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
18b6055d59
More cleanup of unused methods in Hyphenator
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1004917 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
04701709af
Making fallback from (lang,country) to (lang) consistent
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1004907 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
a6e8eea815
Fixing a few checkstyle warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1003850 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
9e823a1055
Remove unused methods from Hyphenator; this leaves a utility class
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1003845 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
3f407e611f
Make handling of configuration errors consistent
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1003775 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
6d4f489084
Enable configuration of hyphenation pattern file names
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1003774 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
9f74aeeef6
Metrics need to be added before the font properties to avoid NPEs on font replacement.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1002980 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
8a2c2476e3
Added support for font substitutions on PDF/PSTranscoder by configuring the FontManager.
Restored configuration support for the (E)PSTranscoder.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1002550 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
4b3802b450
Some fine-tuning for the font selection in SVG to better match AWT/GVT fonts to FOP's fonts.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@999488 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
fbb42eee69
Bugzilla #46360:
Fixed a multi-threading issue when rendering SVG.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@997602 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
6784fe6d14
Bugzilla #46360:
Fixed a multi-threading issue when rendering SVG.
Submitted by: Alexis Giotis <alex.giotis.at.gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@997599 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
964dd91787
Moving the AFP parser from XGC to FOP for now.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@995762 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
f62155abf5
Fixed formatting of help message
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@995181 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
144138a647
Bugzilla #49885:
Fixed retrieval of available BPD for cases spanning columns and multiple pages with differing page masters.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@993357 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
41b4797e3a
Fixed typos and source code indentation issues.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@992386 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
6faeb0d394
Implemented reset method for changing IPD
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@992029 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
7200fc21fe
Fixed indentation
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@990155 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
b0061f14d5
Removed unused methods
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@990154 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
f7710aa99b
Replaced @asf.todo with normal TODO comment
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@990148 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
0f58f09a9a
Fixed indentation
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@990144 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
26393f0e18
Removed old Renderer implementations for AFP, PCL, PDF, PS.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@989178 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
b35843cb0d
Enabling CMYK encoding for PDF output (applies to decoded bitmap images).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@987448 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
e3be796dcb
Bugfix:
Bitmaps generated by Batik (ex. for filter effects) were not generated at the right resolution if the SVG is scaled inside XSL-FO.
Using better resolution for the intrinsic size to avoid small scaling errors.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@987423 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
80b40cf372
Bugfix for potential java.lang.IndexOutOfBoundsException in PDFDocument.outputTrailer().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986650 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
081bc07f4f
Implemented reset method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986624 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
b69448b24b
Fixed javadoc, checkstyle and ant warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986602 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Adrian Cumiskey
eef7367bea
-delete-cache command line argument replaced with -flush. Seems like a more common use case.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986315 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
7bf29deabe
One closing parenthesis too much.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986204 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
067328663c
Resolved conflict (ClassCastException) with named destinations which in contrast to embedded files adds single objects (producing two values) to the kids array instead of a key/value pairs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@986203 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
cb9936b4c9
Improvements/Bugfixes for PDF attachments (embedded files):
- Acrobat doesn't like indirect objects for the /Length entry of embedded files (make on-the-fly generation more easily configurable).
- Added the /Size entry for embedded files to keep Acrobat happy.
- Moved the embedded files' Names tree to the end of the PDF to be on the safe side.
- Made hyperlinks to embedded files work by using a JavaScript Action (thanks to Matthias Reischenbacher for that idea).
- Added sorting to the names tree node because Acrobat relies on it.
- Added some filename manipulation code to work around possible encoding problems with special characters in the filenames.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985843 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
efea814f69
Removed tab character.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985829 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
173849acbd
Document exits
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985806 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Adrian Cumiskey
5d185fbb32
FIX: The cache-file setting should still be set even if use-cache setting is not provided (as it defaults to true).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985703 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Adrian Cumiskey
ff3a0b1f92
Reinstated support for being able to specify a font cache filepath in the fop user configuration.
Added convenience support for the deletion of the Fop font cache file from the command line.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985700 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
aba436311c
Removed many "// CSOK: ConstantName" instances for constants, by converting them to uppercase as they should really be.
Fixed some other non-Checkstyle issues on the way, imports mainly.
Removed some "log" instances that were not used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985571 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
29e8badcec
Bugzilla #49733:
Resolved compilation (safe one), Checkstyle and many Javadoc warnings.
Submitted by: Glenn Adams <glenn.at.skynav.com>
Changes to patch:
- Restored the deprecated Graphics2DAdapter method (to be removed after Barcode4J 2.1 is released).
- Restored Renderer.startPageSequence(LineArea) pending discussion about removal.
- build.xml: set max VM to 1024MB instead of 2048MB to allow for 32-bit JVMs.
- build.xml: restored longer taskdef names.
- Restored Checkstyle 4 file for people running older IDEs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985537 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
ad93316e32
Bugfix for StringIndexOutOfBoundsException when the PDF grows beyond 2GB.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@985323 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
c81729764a
Removed a bunch of javadoc warnings in addition to patch 49733
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985227 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
3800fbcd38
Bugzilla #44460:
Added support for PDF file attachments (embedded files) including basic-link support to reference them.
Based on work submitted by: Andrejus Chaliapinas <a.chaliapinas.at.infosana.com>
I've changed and improved his patch extensively and added some documentation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@981875 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
b494dac09e
The previous merge didn't go quite as planned.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@965397 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
0622d1a9d5
Bugfix of bugfix for escaped PDF names.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@965390 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
25072c1b24
Merged changes from Trunk (minus JARs).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@965380 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
18f6399908
Added missing PDFColorHandler to PDFDocumentGraphics2D.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@965368 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
5c356af288
Bugfix: "/" must be escaped in names.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@965357 13f79535-47bb-0310-9956-ffa450edef68
14 years ago