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
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
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
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
Andreas L. Delmelle
3048022fd7
Bugzilla 46828: Activation of the possibility to use CachedRenderPagesModel to conserve memory in case of large documents with a lot of cross-references. (area tree will be serialized to disk to avoid keeping it entirely in memory)
Thanks to Dario Laeria for submitting and testing.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@753327 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
995749caed
Updated website copyright year.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752161 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
095587e468
Restored ability to specify any URI base URI (URL), not just file URLs. For file URLs and file paths there's still a check whether the directory exists.
Enabled FontBaseBadTestCase.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752153 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
1914db175f
Added full URI resolution support for AFP fonts.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752133 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
090c6205ee
AreaTreeParser redirecting image loading exceptions to event subsystem.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752010 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
efcd8b9100
Restored compatibility with Java VMs that don't support nio Charsets for codepages such as Cp500 (EBCDIC). The simplifications for the fallback case may look wrong but the code basically represents the state before revision 746664 which introduced this problem.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@751613 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
afec2bca7d
Deleted to much during last change.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749303 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
bad0864882
EventProducer update didn't get adjusted when AFPEventProducer was moved.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749272 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
bdb4db0bbc
AFP Output: Tag Logical Element (TLE) is now also allowed on fo:page-sequence (page group level).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749258 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
593cb69d65
AFP: Backported IMM (Invoke Medium Map) to AFPRenderer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749251 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
05f1c240b6
Fixed BPD trait and border painting for leaders with leader-pattern="space" (and similar cases).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749012 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
dc201205b7
Added support for adding extension elements and foreign attributes on fo:page-sequence.
AFP: Added support for Invoke Medium Map (IMM).
AFP: Fixed a bug adding TLEs in DataStream (TLEs were added to the page group instead of to the page).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@748981 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
7d5beca43a
Examples for "sub-font" usage with TTCs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@748794 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
60779d79a8
Removed unnecessary setContext method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@747741 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Simon Pepping
3ab1679f07
Clarified error message if base is not an existing directory
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@747126 13f79535-47bb-0310-9956-ffa450edef68
15 years ago