Vincent Hennebert
4242a406d9
ApacheCon Europe 2009 is over, commented out link.
Increased max heap size allocated to Cocoon, otherwise an OutOfMemoryError will occur when generating the compliance PDF (I finally found out why I was having this error and how to fix it).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@776269 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
2e6df1438d
Changed meaning of '-v' option to 'verbose', which will print FOP's version and proceed. Added a '-version' option to simply print the version then exit, following Java practices.
Change made as per user demand, see thread here:
http://markmail.org/thread/e7juy7wvj7ujkltx
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@774724 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
83266f47d0
Bugzilla #47101: The cells of a table inside a marker were duplicated at every marker retrieval.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@774280 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
03ed498076
Bugfix: use the effective color profile supplied by the ImageEncodingHelper, instead of the original one.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@772943 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Chris Bowditch
a19fc7534d
bug fix: allow back slashes for file URLs as they are commonly used in Windows
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@772672 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
7133e60492
Added relevant link to http://xmlgraphics.apache.org/fop/trunk/running.html#memory.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@772147 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
6b02f65893
Added tip for reducing memory consumption.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@771874 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
65cc46dec3
Changes from revision 768320 introduced another bug: footnotes from later steps were taken into account too early
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@770635 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
88f28b18dc
Bugfix: reset graphic state when a page is finished in PostScript.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@770223 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
54bd1f47b3
Added setting to enable dithered painting of filled rectangles in AFP and PCL.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769445 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
2da3ee7877
Added support for CMYK colors in PTOCA
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769437 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
567829784c
Bugfix: take rotation into account also when resource level is not inline
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769436 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
1aa5983642
In the AFP stream, put the TLE fields associated to a page sequence before the Page elements instead of after
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@768321 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
d39bfced9a
Bugfix: footnotes occurring within the forced height of a table row did not appear on the output
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@768320 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Chris Bowditch
0abbe4b5e6
include Vincent's recent changes for AFM Parser bug
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@767826 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
66ad1ff9a3
Typo.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766645 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
6b14d50265
Disabled auto-fonts in the PS transcoders by default because of OutOfMemoryErrors. Details in code comments.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766644 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
eea5b25ec8
Bugzilla #47031:
PDFGraphics2D.writeClip doesn't generate a clip command anymore when the clip path is empty.
Submitted by: Francois Fernandes <f.fernandes.at.web.de>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766596 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
e471816c05
Bugzilla #47000:
Added a custom text painter for rendering SVG text using text operators when rendering to PostScript or EPS. Text is no longer painted as shapes, thus creating much smaller files.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766594 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
5deedc814c
Bugzilla 47027: Correction for interpretation of pixel-lengths, as suggested by Jeremias.
+ minor changes to the fotreetest-classes: distinguish between fatal errors due to malformed testcases, and genuine assertion failures.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766492 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
8ba6098493
Some cleanup:
* extraction of the footnote-related loops in getNextKnuthElements() into private methods
to facilitate step-over when debugging (no additional breakpoints needed to skip those loops)
* merging of the private doPhase3() methods, so theoretically, it becomes possible to do
column-balancing, even with a last page condition, and to eliminate a significant amount
of duplicate lines of code
* other minor changes, like renaming stray Hungarians, renaming some variables to make the
code slightly more self-explanatory, removal of unused import, and whatnot...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@765272 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
e31e7a7845
Remove svn:executable property...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@764320 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
f31c3fbd4b
Fix the behaviour of pixel-lengths: influenced by target-resolution, rather than source-resolution (which is meant for images)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@764317 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
4d9f95a6af
Removed AbstractRenderer.getMimeType() as per Vincent's suggestion.
Moved getMimeType() implementation from PrintRenderer to PageableRenderer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@761596 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
600aabc692
Fixed a bug that left the PrintRenderer unconfigured even if a configuration was specified for "application/X-fop-print".
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@761554 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
d4a7b0d540
Improved multi-threading testbed a bit:
- Prints out a report with some statistics at the end.
- Worker threads moved into their own thread group for easier profiling.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@759147 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
e51b2acde7
Reverted changes from revision 757852.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@758234 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
69f30cdeaa
Forgot to add getBackgroundColor() accessor.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@758207 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
cc0fa5f921
Added some accessor methods to some public member variables. I have left the public member variables exposed for now as changing them to private/protected may possibly break something external to FOP.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@758204 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
eb4b7caf25
Cleaned up unused imports.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757874 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
d4d822328c
Added some nice bean methods for pageSequenceMaster and simplePageMaster, this also makes startOfNode() easier to read too.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757852 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
79fb0a5e60
Simplified the setting of filters in the AbstractPDFStream hierarchy. Instead of unnecessarily re-defining the setupFilterList method, sub-classes just define a getDefaultFilterName method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757712 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
c71b4374b1
Amendment to revision 755894:
The mimicking fix didn't work for all output formats.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757681 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
837cacd296
Set svn:eol-style property on page-position-last_break-before_bugzilla46489.xml test case. Simplified it by removing superfluous content and references to fonts that are not available by default.
Fixed small indentation issue in ElementListUtils.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757382 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Chris Bowditch
e46d4be9ee
added extra blank line which is consistent with the other files in this folder and makes it easier to merge these files with their counterparts in xgc
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757375 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
a5f60685ab
Deprecated font base url methods on user agent level in favor of the methods on the FontManager accessible via FopFactory as proposed in:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200903.mbox/%3C20090310161419.8FA8.60BA733C@jeremias-maerki.ch%3E
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757341 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
a384002ccf
Bugzilla #46882:
Fixed the handling of CMYK colors in PDFGraphics2D.
Suggested by: Yegor Kozlov <yegor.at.dinom.ru>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757338 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
462737dc5e
Minor refactoring: extract code-blocks from the Region implementations into protected final method on SimplePageMaster.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757256 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
3df2eea282
revert some changes... and do it right, this time
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757245 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
93c2e5aa45
revert some changes, dependent on other local changes, which would cause a compile error...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757244 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
15487f9780
Add startsWithForcedBreak() utility method to ElementListUtils.
Avoid generating "in-between" penalties if the content list that will be appended already starts with a forced break.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757241 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
39846b082a
Bugzilla 46489:
Issue when combining page-position="last" with a block with break-before as a descendant of a table.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757239 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
43ecaa845e
Added a command-line tool to list all configured fonts (org.apache.fop.tools.fontlist.FontListMain).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757172 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Chris Bowditch
085000aa2a
bug fix: 46867: afp:invoke-medium-map extension not working in the AFP Renderer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756894 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
6dfb589f8b
Moved the font cache change check from outside PrintRendererConfigurator to inside the FontInfoConfigurator.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756583 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
4360e04174
Minor optimization.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756533 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
6caf23b89c
A little font configuration cleaning.
* Extracted business logic from PrintRendererConfigurator and created a new FontDetector and FontAdder in org.apache.fop.fonts package.
* Created a new FontInfoConfigurator that factors out a lot of the static stuff in PrintRendererConfigurator.
* PDFDocumentGraphics2DConfigurator now uses a new FontInfoConfigurator() instead of static PrintRendererConfigurator.buildFontListFromConfiguration() call.
* static method updateReferencedFonts() in PrintRendererConfigurator moved to an instance method in FontManager.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756522 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
41850c971a
Added some generics comments for the List collections.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756471 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
3c5ac0297c
Bugfix: IFSerializer's mimicking feature didn't work properly. The wrong configuration got selected.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@755894 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Adrian Cumiskey
633d03c896
Minor spelling corrections.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@755647 13f79535-47bb-0310-9956-ffa450edef68
15 years ago