Chris Bowditch
5bde3e055a
bug fix: support PFM Files with no extent table
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@782928 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
e7975ad267
AFP Output: Add support for fractional font-sizes, and make sure that, for non-registered sizes, the substitution will always map to the smaller size if there is also a larger one available
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@782289 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
bbe544cf9e
Bugzilla 46960: Previously retrieved marker not cleared when the subsequently retrieved marker was empty.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@781944 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Chris Bowditch
389e068ad9
bug fix: PCL and AFP Document Handlers for new IF were not registering all related MIME Types
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@779046 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Simon Pepping
bb9ed90436
Fixed two typos that were reported to the OFFO project
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@777675 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
a69a5a48f3
Bugzilla #47232: for the last character of a Type1 font, always a width of 0 was returned. Patch submitted by Maxim Wirt.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@777459 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
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
Jeremias Maerki
c5d9b312e0
Bugzilla #46705:
End-user documentation on the new accessibility features and PDF/A-1a.
Based on work by: Jost Klopfstein <jost.klopfstein.at.gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@766030 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
218fa1d72a
Enabled support for PDF/A-1a now that we have Tagged PDF, Natural Language Specification and alternate descriptions (fox:alt-text).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765979 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
8eefdf7d68
Added support for adding natural language information on page-sequence and document level to a tagged PDF.
The document-level language is assumed to be the language of the first page-sequence.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765965 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
eeb0cc4fb8
Made use of method overloading to homogenize the addition of standard mappings.
A bit of pretty-printing.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765928 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
7882e4711f
Removed FO to role mapping from the PDF library and moved it next to the renderer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765890 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
2a16dbaa20
Incorporated some more of the feedback to #46705:
- String Constant for "accessibility"
- Removed unused constructors
- Remove unnecessary null-checks.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765889 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
0fc0d56d8b
Bugfix: Previous simplification requires keeping track of whether we are in a marked content sequence.
Removed unused variable accessEnabled in PDFContentGenerator.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765539 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
75fde7d021
Some cleanup.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765528 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
edba3dbe22
Bugfix for navigation elements when parsing intermediate content.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765526 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
5a0c020ad1
Fixed some bugs concerning marked content generation inside leaders (use-content case).
Removed marked content logic from PDFTextUtil and concentrated it in PDFContentGenerator to make Artifact generation more uniform. Not only text generates Artifacts but inside leaders images can also be Artifacts.
Some code simplifications.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765525 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
721ef295c3
Fixed a possible NPE when intermediate content is parsed and navigation elements are present.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765524 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
64ed5db8c1
Introduced the StructurePointerPropertySet interface to aid with accessing the structure pointer uniformly (similar to BreakPropertySet).
Getting null as the pointer in TextLayoutManager should not be a reason for a warning anymore. A null value can simply indicate that the text is part of a leader which is treated as a painting artifact during rendering.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765522 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
Jeremias Maerki
04e5717494
Enabled parsing support for foreign attributes on page-sequence.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764935 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
2b8757bd0c
Avoid empty "ptr" traits in the area tree.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764926 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
fb5ad866dd
Missing javadocs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764861 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
5e88427ee8
Fixed copy/paste mistake.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764805 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
45e74b066f
Reverted changes for "ptr" to painter interface as announced in #46705. The pointer value is now provided through the IFContext so only the implementations that support it have to deal with it.
Also, the method signature changes in the renderers are now reverted. They are not necessary.
Found a few other smaller omissions (IFRenderer, IFSerializer) that didn't seem to have been merged properly from Trunk.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764802 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
df97c24632
Fix test case: fox:alt was renamed to fox:alt-text.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764798 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
59f151eaef
Strange, this change didn't get merged over. Not sure why.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764785 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
b6a655ca97
Merge from Trunk revisions 744927 - 763662.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764744 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
5a2e8bf69d
Bugzilla #46974:
Possible NPE fixed in PDFImageHandlerRawJPEG.handleImage().
Submitted by: Jost Klopfstein <jost.klopfstein.at.gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@763549 13f79535-47bb-0310-9956-ffa450edef68
15 years ago