Jeremias Maerki
221c8bd6ab
Better class description.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@733024 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
23d07ef716
Added missing license header.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@733021 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
6895ef4848
Removed code that doesn't have any effect.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732631 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
d58f083cff
Added a note explaining things that we should look out for.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732376 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Vincent Hennebert
727eafe46b
Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732299 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
9b1bf31580
Happy new year.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732278 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
1e2343b663
Give javadoc utility some more memory to avoid OutOfMemoryErrors.
Some additional package description and better package grouping.
Handle @event.severity tag.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732274 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
f6768c2460
Bugfix: remaining chunk of over-long text strings didn't get handled properly.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@731869 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
c0028134f8
Merge from Trunk revisions 728026 - 731479.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@731480 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
68dd1750c6
FOP now creates ToUnicode CMaps for single-byte fonts that don't use built-in encodings to help PDF text extractors interpreting characters.
PDF CMaps now support single-byte characters.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@731479 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
011fd36fce
Avoid ArrayOutOfBoundsException when text length is 0 (this can happen if you specify a soft hyphen as only content of a block, for example).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@731478 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
1b03a90eb4
Added support for forcing single-byte encodings for TrueType fonts without creating an XML font metric file (see "encoding-mode" attribute on "font" element in updated documentation).
See also Acrobat PDF merge performance problem on fop-users: http://markmail.org/message/dbbaaht4qshhqs3v
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@731248 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
c7c6ba4f03
Bugzilla #45306:
Fixed fo:instream-foreign-object inside fo:marker.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@730764 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
e50e967de0
Bugzilla #45938:
Background image problems are now reported using events.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@730756 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
01ceb0032e
Introduced IFContext to provide access to foreign attributes (as discussed on fop-dev).
Removed the foreign attributes map from the drawImage methods as a consequence.
Added support for foreign attributes on the page (PCL's paper-source and duplex-mode extensions).
Fixed a couple of bugs parsing the document navigation elements.
Build-time test suite now runs through.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@730740 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
211330493a
Fixed Transcoder test.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@730719 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
fcb06e0059
Some PDF actions get pooled and therefore don't need to be registered.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@730683 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
07bf84a1ab
Guard against invalid destinations.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@730682 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
45ff1920e2
Most of the PostScript extensions are implemented in PSPainter now (and tested).
Bugfix: IFSerializer wrote out the page name instead of the page-master-name for the page-master-name attribute.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@728737 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
10cb96278c
Fixed another spacing issue in IFRenderer.
Checks for spacing (kerning, letter-space and word-space combinations).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@728700 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
8ef2099f5d
Need to use xml:space="preserve" on text elements in IF and SVG output to avoid problems with editing those files in XML editors and rendering SVG text starting or ending with whitespace.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@728699 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
e8383ed285
Merge from Trunk revisions 724690 - 728025.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@728031 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
d928079360
Fixed painting bug introduced by rev 721430 (originally rev 672291 in AFP GOCA branch).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@728025 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
34ecb4c0e0
Borders and leaders/rules for the PostScript painter.
BorderPainter methods throw IOException (needed for PostScript).
Some Javadocs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@727986 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
b599eedcb4
Update XML Graphics Commons to latest Trunk.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@727408 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
d142add746
Added getUserAgent() to IFDocumentHandler (implemented by all implementations already).
Full image support for PSPainter.
PostScript output now uses the ImageHandler facility (IF and renderer) for both inline (ImageHandler interface) and form image production (PSImageHandler interface). No more hard-coded image flavor list.
Resource optimization extended so images that are only used once are inlined to lower memory requirements in the PostScript VM.
Added test cases using Commons' DSC parser to verify the new functionality.
Added IFDocumentHandler override possibility in FOUserAgent (just like for FOEventHandler and Renderer).
Subject support for PDF output.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@727405 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
b80b717563
Fixed black backgrounds occurring for transparent images in PCL output.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@726998 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
3beeea67b6
Fixed another little kerning bug.
Trim down dx array to the maximum size necessary.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725738 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
c530c134e8
First checks for the IF "link" element.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725724 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
41cbb21790
Added -ifin command-line option to use the intermediate format as input format.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725723 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
75b0fbff79
Fixed parsing of document navigation namespace (its elements are no longer simple extension elements but get sent to a specific interface).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725722 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
53d9ceb638
Run AT tests only if there are such tests.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725702 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
fcbbbcb2c9
Fixed NPE: the user agent was not set.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725701 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
3287952fed
My first attempt at implementing links was messed up. This second attempt actually works.
Optimized IF serialization a bit: only real changes in the IF state are serialized to the IF (makes smaller files and results in higher performance).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725690 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Chris Bowditch
c01b872e07
Bugzilla #46369:
Restored support for AFP Extensions (TLE, NOP, Overlays and Page Segments)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@725308 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
342147f014
Forgot to add link support. First version added now. Generalizing this for the IF is not so easy it seems.
Moved document navigation features (bookmarks, links, named destinations) into a separate handler interface that can be optionally implemented by document handler implementations.
This will need a bit more work to be complete (parsing for document navigation from IF, cleanup in PDF library etc.).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@724932 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
a6ddced309
Merge from Trunk revisions 719662 - 724689.
Conflict for ImageHandler interface resolved by renaming Trunk's ImageHandler to ImageHandlerBase and extending the other ImageHandler from that.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@724729 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
f9d4720b99
Bugzilla 46319:
Fixed a memory-leak in Marker.MarkerAttribute, where an instance was used as both key and value
in a WeakHashMap, effectively neutralizing the benefit of using WeakReferences.
Solved by extending PropertyCache to work for MarkerAttributes as well.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724444 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
607aeaa986
Batik's DOMUtilities.deepCloneDocument() doesn't propagate the document URI which makes relative image URIs fail. Fixes one of our unit tests.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724310 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
f455ebac16
Reverted accidental commit of unfinished change. Sorry about that.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724271 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
e2189deab0
Bugzilla #46360:
Fixed a multi-threading issue when rendering SVG. (Missed one)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724164 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
790875d410
Bugzilla #46360:
Fixed a multi-threading issue when rendering SVG.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724163 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
61cd1e8790
FopCharacterSet doesn't follow the same contract as its superclass. The metrics must not be multiplied by the font size in the FopCharacterSet class. Only RasterFont or OutlineFont should do that.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724126 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
8386a90fe3
Avoid replacement notification if we're only checking the presence of a certain font.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@723689 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
77c4994e91
Bugfix: Custom AFP fonts reported bad metrics.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@723683 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
949349d7c3
Oops, introduced a compile error with the previous commit
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722618 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Andreas L. Delmelle
d1cbfefffc
Minor changes; mostly code- and javadoc-aesthetics...
Most notable:
- made most member variables private (apart from objectCount, which is used by PDFFactory)
- the number of fully qualified collection names warranted separate import statements
- replaced a String concat with StringBuffer.append()
- some javadoc nits, reduce space in single-line, add space in multi-line, added some @links ...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722613 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
5757d4d80b
Bugfix: there was no notification if no registered internal font can be found for a GVT font. Now, FontInfo will issue a substitution warning.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722496 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
73800305ea
A note on missing glyphs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722474 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jeremias Maerki
9ddc12a184
Documented the hard-coded font triplets for the Base-14 set.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722466 13f79535-47bb-0310-9956-ffa450edef68
15 years ago