Simon Pepping
cfa853d5b2
findbugs-reported bug squashing; 959 bugs left (findbugs 1.3.9)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036179 13f79535-47bb-0310-9956-ffa450edef68
13 роки тому
Vincent Hennebert
c04a030afc
Re-ordered class members
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035611 13f79535-47bb-0310-9956-ffa450edef68
13 роки тому
Vincent Hennebert
338ae70df4
Made the result of toString more readable
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035610 13f79535-47bb-0310-9956-ffa450edef68
13 роки тому
Vincent Hennebert
e126edb6ed
Do not re-create an AlignmentContext instance if one already exists.
Fixes a bug when the changing IPD hack is triggered and the getNextKnuthElements method is called a second time
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035609 13f79535-47bb-0310-9956-ffa450edef68
13 роки тому
Simon Pepping
1939c00e19
Applied patch 50240 by Mehdi Houshmand with changes: Java source and
target changed to 1.5. EncodingMode changed from class -> enum.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1033859 13f79535-47bb-0310-9956-ffa450edef68
13 роки тому
Jeremias Maerki
5d507935e6
Small improvement for XMP generation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1028021 13f79535-47bb-0310-9956-ffa450edef68
13 роки тому
Jeremias Maerki
a2f1dbe772
Added two more character to be escaped in a PDF name (now in sync with PDFBox).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1027520 13f79535-47bb-0310-9956-ffa450edef68
13 роки тому
Jeremias Maerki
351d9426da
Bugzilla #42600:
Wrong constant used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1026114 13f79535-47bb-0310-9956-ffa450edef68
13 роки тому
Jeremias Maerki
0a3aa3b66c
Bugzilla #42600:
Added some support for break-before/-after for RTF output.
Submitted by: Maximilian Aster <maximilian.aster.at.boc-eu.com>
Changes to patch:
- Code style fixes
- Removed dependency from rtflib to FO Constants.
- Tried to implement even/odd/column breaks
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1026110 13f79535-47bb-0310-9956-ffa450edef68
13 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
Simon Pepping
5f6c218eac
Add the availability of nightly snapshots
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@999324 13f79535-47bb-0310-9956-ffa450edef68
13 роки тому
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
13 роки тому
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
13 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
Vincent Hennebert
7200fc21fe
Fixed indentation
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@990155 13f79535-47bb-0310-9956-ffa450edef68
14 роки тому
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 роки тому
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 роки тому
Vincent Hennebert
0f58f09a9a
Fixed indentation
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@990144 13f79535-47bb-0310-9956-ffa450edef68
14 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
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 роки тому
Simon Pepping
173849acbd
Document exits
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985806 13f79535-47bb-0310-9956-ffa450edef68
14 роки тому
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 роки тому
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 роки тому