]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
15 years agoGOCA improvements:
Jeremias Maerki [Sun, 11 Jan 2009 11:15:34 +0000 (11:15 +0000)]
GOCA improvements:
Improved font size and line width calculation.
Removed superfluous AFPGraphics2D.setFontInfo() method.
Avoid ClassCastException inside SVG filter operations when not an AFPGraphics2D is passed in.
Fixed line width state handling (it appears as if after a new segment the line width is reset. Found that out empirically. Didn't find the corresponding reference in the spec).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733450 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBugfix: remaining chunk of over-long text strings didn't get handled properly.
Jeremias Maerki [Tue, 6 Jan 2009 08:05:57 +0000 (08:05 +0000)]
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 agoMerge from Trunk revisions 728026 - 731479.
Jeremias Maerki [Mon, 5 Jan 2009 07:59:39 +0000 (07:59 +0000)]
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 agoFOP now creates ToUnicode CMaps for single-byte fonts that don't use built-in encodin...
Jeremias Maerki [Mon, 5 Jan 2009 07:47:02 +0000 (07:47 +0000)]
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 agoAvoid ArrayOutOfBoundsException when text length is 0 (this can happen if you specify...
Jeremias Maerki [Mon, 5 Jan 2009 07:38:43 +0000 (07:38 +0000)]
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 agoAdded support for forcing single-byte encodings for TrueType fonts without creating...
Jeremias Maerki [Sun, 4 Jan 2009 12:59:29 +0000 (12:59 +0000)]
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 agoBugzilla #45306:
Jeremias Maerki [Fri, 2 Jan 2009 16:08:24 +0000 (16:08 +0000)]
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 agoBugzilla #45938:
Jeremias Maerki [Fri, 2 Jan 2009 15:27:01 +0000 (15:27 +0000)]
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 agoIntroduced IFContext to provide access to foreign attributes (as discussed on fop...
Jeremias Maerki [Fri, 2 Jan 2009 14:29:30 +0000 (14:29 +0000)]
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 agoFixed Transcoder test.
Jeremias Maerki [Fri, 2 Jan 2009 13:57:22 +0000 (13:57 +0000)]
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 agoSome PDF actions get pooled and therefore don't need to be registered.
Jeremias Maerki [Fri, 2 Jan 2009 09:19:09 +0000 (09:19 +0000)]
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 agoGuard against invalid destinations.
Jeremias Maerki [Fri, 2 Jan 2009 09:08:22 +0000 (09:08 +0000)]
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 agoMost of the PostScript extensions are implemented in PSPainter now (and tested).
Jeremias Maerki [Mon, 22 Dec 2008 18:23:03 +0000 (18:23 +0000)]
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 agoFixed another spacing issue in IFRenderer.
Jeremias Maerki [Mon, 22 Dec 2008 14:14:40 +0000 (14:14 +0000)]
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 agoNeed to use xml:space="preserve" on text elements in IF and SVG output to avoid probl...
Jeremias Maerki [Mon, 22 Dec 2008 14:11:52 +0000 (14:11 +0000)]
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 agoMerge from Trunk revisions 724690 - 728025.
Jeremias Maerki [Fri, 19 Dec 2008 14:26:37 +0000 (14:26 +0000)]
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 agoFixed painting bug introduced by rev 721430 (originally rev 672291 in AFP GOCA branch).
Jeremias Maerki [Fri, 19 Dec 2008 14:04:09 +0000 (14:04 +0000)]
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 agoBorders and leaders/rules for the PostScript painter.
Jeremias Maerki [Fri, 19 Dec 2008 09:31:15 +0000 (09:31 +0000)]
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 agoUpdate XML Graphics Commons to latest Trunk.
Jeremias Maerki [Wed, 17 Dec 2008 15:07:05 +0000 (15:07 +0000)]
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 agoAdded getUserAgent() to IFDocumentHandler (implemented by all implementations already).
Jeremias Maerki [Wed, 17 Dec 2008 15:01:21 +0000 (15:01 +0000)]
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 agoFixed black backgrounds occurring for transparent images in PCL output.
Jeremias Maerki [Tue, 16 Dec 2008 09:27:20 +0000 (09:27 +0000)]
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 agoFixed another little kerning bug.
Jeremias Maerki [Thu, 11 Dec 2008 16:41:53 +0000 (16:41 +0000)]
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 agoFirst checks for the IF "link" element.
Jeremias Maerki [Thu, 11 Dec 2008 16:05:38 +0000 (16:05 +0000)]
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 agoAdded -ifin command-line option to use the intermediate format as input format.
Jeremias Maerki [Thu, 11 Dec 2008 16:03:30 +0000 (16:03 +0000)]
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 agoFixed parsing of document navigation namespace (its elements are no longer simple...
Jeremias Maerki [Thu, 11 Dec 2008 16:02:23 +0000 (16:02 +0000)]
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 agoRun AT tests only if there are such tests.
Jeremias Maerki [Thu, 11 Dec 2008 14:38:25 +0000 (14:38 +0000)]
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 agoFixed NPE: the user agent was not set.
Jeremias Maerki [Thu, 11 Dec 2008 14:38:01 +0000 (14:38 +0000)]
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 agoMy first attempt at implementing links was messed up. This second attempt actually...
Jeremias Maerki [Thu, 11 Dec 2008 14:15:32 +0000 (14:15 +0000)]
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 agoBugzilla #46369:
Chris Bowditch [Wed, 10 Dec 2008 15:14:06 +0000 (15:14 +0000)]
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 agoForgot to add link support. First version added now. Generalizing this for the IF...
Jeremias Maerki [Tue, 9 Dec 2008 23:50:41 +0000 (23:50 +0000)]
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 agoMerge from Trunk revisions 719662 - 724689.
Jeremias Maerki [Tue, 9 Dec 2008 15:00:35 +0000 (15:00 +0000)]
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 agoBugzilla 46319:
Andreas L. Delmelle [Mon, 8 Dec 2008 18:54:16 +0000 (18:54 +0000)]
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 agoBatik's DOMUtilities.deepCloneDocument() doesn't propagate the document URI which...
Jeremias Maerki [Mon, 8 Dec 2008 11:30:11 +0000 (11:30 +0000)]
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 agoReverted accidental commit of unfinished change. Sorry about that.
Jeremias Maerki [Mon, 8 Dec 2008 07:39:44 +0000 (07:39 +0000)]
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 agoBugzilla #46360:
Jeremias Maerki [Sun, 7 Dec 2008 18:02:52 +0000 (18:02 +0000)]
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 agoBugzilla #46360:
Jeremias Maerki [Sun, 7 Dec 2008 18:01:24 +0000 (18:01 +0000)]
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 agoFopCharacterSet doesn't follow the same contract as its superclass. The metrics must...
Jeremias Maerki [Sun, 7 Dec 2008 12:28:27 +0000 (12:28 +0000)]
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 agoAvoid replacement notification if we're only checking the presence of a certain font.
Jeremias Maerki [Fri, 5 Dec 2008 09:33:18 +0000 (09:33 +0000)]
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 agoBugfix: Custom AFP fonts reported bad metrics.
Jeremias Maerki [Fri, 5 Dec 2008 09:28:02 +0000 (09:28 +0000)]
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 agoOops, introduced a compile error with the previous commit
Andreas L. Delmelle [Tue, 2 Dec 2008 21:27:50 +0000 (21:27 +0000)]
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 agoMinor changes; mostly code- and javadoc-aesthetics...
Andreas L. Delmelle [Tue, 2 Dec 2008 20:36:23 +0000 (20:36 +0000)]
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 agoBugfix: there was no notification if no registered internal font can be found for...
Jeremias Maerki [Tue, 2 Dec 2008 15:21:36 +0000 (15:21 +0000)]
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 agoA note on missing glyphs.
Jeremias Maerki [Tue, 2 Dec 2008 14:39:57 +0000 (14:39 +0000)]
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 agoDocumented the hard-coded font triplets for the Base-14 set.
Jeremias Maerki [Tue, 2 Dec 2008 14:26:40 +0000 (14:26 +0000)]
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 agoImproved documentation concerning text and SVG.
Jeremias Maerki [Mon, 1 Dec 2008 17:04:10 +0000 (17:04 +0000)]
Improved documentation concerning text and SVG.
Updated SVG text example with result from FOP 0.95.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722132 13f79535-47bb-0310-9956-ffa450edef68

15 years agoReverting a change introduced by revision 721430 which breaks extensions causing...
Jeremias Maerki [Mon, 1 Dec 2008 15:30:59 +0000 (15:30 +0000)]
Reverting a change introduced by revision 721430 which breaks extensions causing a "NoSuchFieldError: foObjs".

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722092 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMERGE of https://svn.apache.org/repos/asf/xmlgraphics/fop/{branches/AFP_GOCAResources...
Adrian Cumiskey [Fri, 28 Nov 2008 11:13:12 +0000 (11:13 +0000)]
MERGE of https://svn.apache.org/repos/asf/xmlgraphics/fop/{branches/AFP_GOCAResources,trunk}.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@721430 13f79535-47bb-0310-9956-ffa450edef68

15 years ago* Text encoding is now handled by PresentationTextData and character set encoding... Temp_AFPGOCAResources Temp_AFPGOCAResources
Adrian Cumiskey [Thu, 27 Nov 2008 10:37:43 +0000 (10:37 +0000)]
* Text encoding is now handled by PresentationTextData and character set encoding errors are now handled by AFPEventProducer.
* Moved AFPEventProducer from org.apache.fop.render.afp package to org.apache.fop.afp package.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@721151 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMerged revisions 719616,719629,719646,719654 via svnmerge from
Adrian Cumiskey [Wed, 26 Nov 2008 13:45:04 +0000 (13:45 +0000)]
Merged revisions 719616,719629,719646,719654 via svnmerge from
https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk

........
  r719616 | jeremias | 2008-11-21 16:07:58 +0000 (Fri, 21 Nov 2008) | 1 line

  Added support for SVG 1.2 inside fo:instream-foreign-object. The code just used the basic SVGDOMImplementation for SVG 1.1. Now it delegates the DOM building to Batik code instead of to a normal DOM builder.
........
  r719629 | jeremias | 2008-11-21 16:33:33 +0000 (Fri, 21 Nov 2008) | 2 lines

  Fix for unit test failure in transcoder tests (NullPointerException):
  Have to pass the root PSGraphics2D to NativeTextHandler instead of the PSGenerator as this one hasn't been initialized in PSGraphics2D when the NativeTextHandler is built in AbstractPSTranscoder.
........
  r719646 | jeremias | 2008-11-21 17:24:32 +0000 (Fri, 21 Nov 2008) | 1 line

  Fixed possible ClassCastException that was caused by my earlier attempt to support SVG 1.2. Batik's SAXSVGDocumentFactory doesn't currently deal well with the case when namespaces are declared outside of its scope. Worked around that by doing the SVG version detection in FOP code. SVG12DOMImplementation is obtained by reflection in order to keep backwards compatilibility with earlier Batik versions that don't support SVG 1.2.
........
  r719654 | jeremias | 2008-11-21 17:44:08 +0000 (Fri, 21 Nov 2008) | 1 line

  This actually fixes a bug.
........

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@720850 13f79535-47bb-0310-9956-ffa450edef68

16 years ago* Reverted back the interface changes I made to ImageHandler.
Adrian Cumiskey [Tue, 25 Nov 2008 18:34:05 +0000 (18:34 +0000)]
* Reverted back the interface changes I made to ImageHandler.
* Created AbstractAFPImageHandlerRawStream base class to handle raw image streams for AFP.
* Fixed a bug in handling native embedded TIFF images.

I think its finally ready to roll now guys, sorry for the last minute glitches.

My apologies for not finding time to respond to the fop-dev mailing list this afternoon but have been trying to put my efforts into applying the final touches to the branch.  If my good lady allows I'll respond to your comments later this evening :).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@720561 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed ArrayOutOfBoundsException. Object Classification triplet is 96 bytes long.
Jeremias Maerki [Tue, 25 Nov 2008 09:26:45 +0000 (09:26 +0000)]
Fixed ArrayOutOfBoundsException. Object Classification triplet is 96 bytes long.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@720449 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMerged from Trunk revisions 706551 to 719661.
Jeremias Maerki [Fri, 21 Nov 2008 18:17:47 +0000 (18:17 +0000)]
Merged from Trunk revisions 706551 to 719661.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@719664 13f79535-47bb-0310-9956-ffa450edef68

16 years agoThis actually fixes a bug.
Jeremias Maerki [Fri, 21 Nov 2008 17:44:08 +0000 (17:44 +0000)]
This actually fixes a bug.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@719654 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed possible ClassCastException that was caused by my earlier attempt to support...
Jeremias Maerki [Fri, 21 Nov 2008 17:24:32 +0000 (17:24 +0000)]
Fixed possible ClassCastException that was caused by my earlier attempt to support SVG 1.2. Batik's SAXSVGDocumentFactory doesn't currently deal well with the case when namespaces are declared outside of its scope. Worked around that by doing the SVG version detection in FOP code. SVG12DOMImplementation is obtained by reflection in order to keep backwards compatilibility with earlier Batik versions that don't support SVG 1.2.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@719646 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix for unit test failure in transcoder tests (NullPointerException):
Jeremias Maerki [Fri, 21 Nov 2008 16:33:33 +0000 (16:33 +0000)]
Fix for unit test failure in transcoder tests (NullPointerException):
Have to pass the root PSGraphics2D to NativeTextHandler instead of the PSGenerator as this one hasn't been initialized in PSGraphics2D when the NativeTextHandler is built in AbstractPSTranscoder.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@719629 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded support for SVG 1.2 inside fo:instream-foreign-object. The code just used the...
Jeremias Maerki [Fri, 21 Nov 2008 16:07:58 +0000 (16:07 +0000)]
Added support for SVG 1.2 inside fo:instream-foreign-object. The code just used the basic SVGDOMImplementation for SVG 1.1. Now it delegates the DOM building to Batik code instead of to a normal DOM builder.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@719616 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor cleanup.
Adrian Cumiskey [Fri, 21 Nov 2008 14:32:24 +0000 (14:32 +0000)]
Minor cleanup.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@719589 13f79535-47bb-0310-9956-ffa450edef68

16 years ago<svg:image/> y-axis positioning fix in AFPGraphics2D.
Adrian Cumiskey [Fri, 21 Nov 2008 14:29:17 +0000 (14:29 +0000)]
<svg:image/> y-axis positioning fix in AFPGraphics2D.
GraphicsState inner class created in GraphicsObject.
Unused methods setFill() and incrementPageFontCount() removed.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@719587 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImproved plumbing :)
Adrian Cumiskey [Thu, 20 Nov 2008 17:52:34 +0000 (17:52 +0000)]
Improved plumbing :)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@719307 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMerged revisions 718666,718705,719038,719110 via svnmerge from
Adrian Cumiskey [Thu, 20 Nov 2008 16:44:30 +0000 (16:44 +0000)]
Merged revisions 718666,718705,719038,719110 via svnmerge from
https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk

........
  r718666 | adelmelle | 2008-11-18 17:58:54 +0000 (Tue, 18 Nov 2008) | 1 line

  Bugfix: do not reset TextLM.hasChanged, but combine (||) with previous value.
........
  r718705 | adelmelle | 2008-11-18 20:14:22 +0000 (Tue, 18 Nov 2008) | 1 line

  Change FontCache.changeLock to a boolean[1], so it can be serialized...
........
  r719038 | jeremias | 2008-11-19 19:46:45 +0000 (Wed, 19 Nov 2008) | 1 line

  Reduced warning on ascender+descender > EM box to DEBUG level, as this case is compensated for by additional code in guessVerticalMetricsFromGlyphBBox() and is therefore only confusing. I tested problematic fonts and they show an acceptable line layout. No semantics changed.
........
  r719110 | adelmelle | 2008-11-19 22:45:06 +0000 (Wed, 19 Nov 2008) | 3 lines

  Bugzilla 46240:
  Fixed a bug in combining break-before with a span change.
........

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@719276 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSetCurrentPosition fix for line drawing.
Adrian Cumiskey [Thu, 20 Nov 2008 16:38:44 +0000 (16:38 +0000)]
SetCurrentPosition fix for line drawing.
AbstractPaintingState push(), pushAll(), pop(), popAll() renamed to save(), saveAll() and restore(), restoreAll().
Some Javadoc improvements/updates.
Added Completable, Startable object writing interfaces.
StructuredDataObject interface renamed to StructuredData.
High level DataStream class moved from afp.modca to afp package.
Graphics*Relative objects removed and feature provided by absolute implementation.
GraphicsArea broken into GraphicsAreaBegin and GraphicsAreaEnd since areas are able to span more than one segment.
Improvement in SetLineWidth thickness precision.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@719274 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla 46240:
Andreas L. Delmelle [Wed, 19 Nov 2008 22:45:06 +0000 (22:45 +0000)]
Bugzilla 46240:
Fixed a bug in combining break-before with a span change.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@719110 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded page master name to IFDocumentHandler.startPage() method.
Jeremias Maerki [Wed, 19 Nov 2008 20:13:48 +0000 (20:13 +0000)]
Added page master name to IFDocumentHandler.startPage() method.
Wired together the support for out-of-order rendering (only applicable to PDF) when the intermediate format is not used (in-memory rendering).
Fixed a logical bug in IFRenderer that caused some unneeded code. Glyph adjustments (kerning, letter/word space...) were not done right. All painters fixed/adjusted accordingly.
Started implementation of the PostScript painter: Supports only text and filled rectangles so far. Work in progress...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@719051 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReduced warning on ascender+descender > EM box to DEBUG level, as this case is compen...
Jeremias Maerki [Wed, 19 Nov 2008 19:46:45 +0000 (19:46 +0000)]
Reduced warning on ascender+descender > EM box to DEBUG level, as this case is compensated for by additional code in guessVerticalMetricsFromGlyphBBox() and is therefore only confusing. I tested problematic fonts and they show an acceptable line layout. No semantics changed.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@719038 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMethod signature wrong, was using super class implementation.
Adrian Cumiskey [Wed, 19 Nov 2008 13:51:25 +0000 (13:51 +0000)]
Method signature wrong, was using super class implementation.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@718958 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStructured field length bug fix.
Adrian Cumiskey [Wed, 19 Nov 2008 11:36:55 +0000 (11:36 +0000)]
Structured field length bug fix.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@718933 13f79535-47bb-0310-9956-ffa450edef68

16 years agoChange FontCache.changeLock to a boolean[1], so it can be serialized...
Andreas L. Delmelle [Tue, 18 Nov 2008 20:14:22 +0000 (20:14 +0000)]
Change FontCache.changeLock to a boolean[1], so it can be serialized...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718705 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugfix: do not reset TextLM.hasChanged, but combine (||) with previous value.
Andreas L. Delmelle [Tue, 18 Nov 2008 17:58:54 +0000 (17:58 +0000)]
Bugfix: do not reset TextLM.hasChanged, but combine (||) with previous value.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718666 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoved AbstractGraphics2DImagePainter and Graphics2DImagePainterGOCA (painting prepa...
Adrian Cumiskey [Tue, 18 Nov 2008 14:13:51 +0000 (14:13 +0000)]
Removed AbstractGraphics2DImagePainter and Graphics2DImagePainterGOCA (painting preparator mechanism).
Adjusted AFPGraphics2D to TextHandler changes in XG commons.
Factored an AbstractFOPTextPainter which is extended by AFPTextPainter.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@718598 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMerged revisions 718557,718570,718591 via svnmerge from
Adrian Cumiskey [Tue, 18 Nov 2008 14:01:48 +0000 (14:01 +0000)]
Merged revisions 718557,718570,718591 via svnmerge from
https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk

........
  r718557 | vhennebert | 2008-11-18 11:10:19 +0000 (Tue, 18 Nov 2008) | 2 lines

  Improved the FAQ by creating a separate entry for the problem about keep-together on table-cell, and the added support for inline keeps in 0.95
........
  r718570 | jeremias | 2008-11-18 13:16:32 +0000 (Tue, 18 Nov 2008) | 1 line

  Update conference ads.
........
  r718591 | acumiskey | 2008-11-18 13:56:52 +0000 (Tue, 18 Nov 2008) | 2 lines

  TextHandler interface changes, the Graphics2D implementation is now passed to drawString().
........

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@718594 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTextHandler interface changes, the Graphics2D implementation is now passed to drawStr...
Adrian Cumiskey [Tue, 18 Nov 2008 13:56:52 +0000 (13:56 +0000)]
TextHandler interface changes, the Graphics2D implementation is now passed to drawString().

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718591 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdate conference ads.
Jeremias Maerki [Tue, 18 Nov 2008 13:16:32 +0000 (13:16 +0000)]
Update conference ads.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718570 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImproved the FAQ by creating a separate entry for the problem about keep-together...
Vincent Hennebert [Tue, 18 Nov 2008 11:10:19 +0000 (11:10 +0000)]
Improved the FAQ by creating a separate entry for the problem about keep-together on table-cell, and the added support for inline keeps in 0.95

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718557 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMerged revisions 718309,718502 via svnmerge from
Adrian Cumiskey [Tue, 18 Nov 2008 09:57:08 +0000 (09:57 +0000)]
Merged revisions 718309,718502 via svnmerge from
https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk

........
  r718309 | adelmelle | 2008-11-17 18:18:20 +0000 (Mon, 17 Nov 2008) | 4 lines

  Bugzilla 46211:
  Fixed some multi-threading issues in FontCache.java (+ some minor cleanup: simplification of conditionals)
  Thanks to rogov.AT.devexperts.com for tracing and reporting the problem.
........
  r718502 | adelmelle | 2008-11-18 06:43:08 +0000 (Tue, 18 Nov 2008) | 1 line

  Removed erroneous end-element...
........

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@718538 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDefault 10pt font fallback removed.
Adrian Cumiskey [Tue, 18 Nov 2008 09:48:38 +0000 (09:48 +0000)]
Default 10pt font fallback removed.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@718536 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoved erroneous end-element...
Andreas L. Delmelle [Tue, 18 Nov 2008 06:43:08 +0000 (06:43 +0000)]
Removed erroneous end-element...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718502 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla 46211:
Andreas L. Delmelle [Mon, 17 Nov 2008 18:18:20 +0000 (18:18 +0000)]
Bugzilla 46211:
Fixed some multi-threading issues in FontCache.java (+ some minor cleanup: simplification of conditionals)
Thanks to rogov.AT.devexperts.com for tracing and reporting the problem.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718309 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMemory usage optimizations.
Adrian Cumiskey [Mon, 17 Nov 2008 15:26:06 +0000 (15:26 +0000)]
Memory usage optimizations.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@718262 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMerged revisions 711781 via svnmerge from
Adrian Cumiskey [Thu, 13 Nov 2008 16:20:48 +0000 (16:20 +0000)]
Merged revisions 711781 via svnmerge from
https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk

........
  r711781 | maxberger | 2008-11-06 07:22:15 +0000 (Thu, 06 Nov 2008) | 4 lines

  Readded dependency on avalon-framework-impl
  http://markmail.org/message/kkdfwhkblb2mltla
  http://fop-dev.markmail.org/message/col6fuklj7f545k3
........

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@713749 13f79535-47bb-0310-9956-ffa450edef68

16 years ago* PDFImageHandler interface split into ImageHandler and PDFImageHandler.
Adrian Cumiskey [Thu, 13 Nov 2008 16:11:58 +0000 (16:11 +0000)]
* PDFImageHandler interface split into ImageHandler and PDFImageHandler.
* Deleted AFPDataObjectInfoProvider and AFPImage*Factory implementations, and abstracted AbstractImageHandlerRegistry from PDFImageHandlerRegistry, creating AFPImageHandlerRegistry and AFPImageHandler so there is a common reuse of image handling implementation between AFP and PDF now.
* RendererContext instantiation is now overridable in PrintRenderer.
* Created AFPRendererContext that is able to provide AFPInfo.
* toString() added to RendererContext for ease of use.
* Removed GraphicsObjectPainterAFP.
* Added package.html for AFP (sub)packages.
* Abstracted AbstractFOPBridgeContext from PDFBridgeContext and provided AFPBridgeContext implementation.
* Abstracted AbstractFOPTextElementBridge from PDFTextElementBridge and provided AFPTextElementBridge implementation.
* Abstracted AbstractFOPImageElementBridge from PDFImageElementBridge and provided AFPImageElementBridge implementation.
* Provided inline image support/handling in AFPGraphics2D for SVG.
* Created NativeImageHandler interface.
* Fix for path iterator filled line drawing in AFPGraphics2D adding coordinate drawing implementations GraphicsLineRelative and GraphicsFilletRelative (Thanks for the patch Jeremias).
* Improved configuration.xml documentation for images mode/native setting in AFP renderer configuration.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@713747 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReadded dependency on avalon-framework-impl
Maximilian Berger [Thu, 6 Nov 2008 07:22:15 +0000 (07:22 +0000)]
Readded dependency on avalon-framework-impl
http://markmail.org/message/kkdfwhkblb2mltla
http://fop-dev.markmail.org/message/col6fuklj7f545k3

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@711781 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDeprecated method.
Adrian Cumiskey [Wed, 5 Nov 2008 13:44:40 +0000 (13:44 +0000)]
Deprecated method.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@711564 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImproved font selection strategy when matching AWT Font against FontTriplet.
Adrian Cumiskey [Wed, 5 Nov 2008 13:41:13 +0000 (13:41 +0000)]
Improved font selection strategy when matching AWT Font against FontTriplet.
Fonts looking too big still when processed through AFPTextHandler.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@711563 13f79535-47bb-0310-9956-ffa450edef68

16 years agoGOCA Text painting positional fix.
Adrian Cumiskey [Wed, 5 Nov 2008 10:28:26 +0000 (10:28 +0000)]
GOCA Text painting positional fix.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@711550 13f79535-47bb-0310-9956-ffa450edef68

16 years agoState --> PaintingState cleanup.
Adrian Cumiskey [Wed, 5 Nov 2008 10:15:51 +0000 (10:15 +0000)]
State --> PaintingState cleanup.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@711549 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAFPGraphics2D Line drawing width (Stroke) fix.
Adrian Cumiskey [Wed, 5 Nov 2008 09:53:07 +0000 (09:53 +0000)]
AFPGraphics2D Line drawing width (Stroke) fix.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@711545 13f79535-47bb-0310-9956-ffa450edef68

16 years agoForgot to add.
Adrian Cumiskey [Tue, 4 Nov 2008 17:40:36 +0000 (17:40 +0000)]
Forgot to add.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@711324 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdated XG commons jar
Adrian Cumiskey [Tue, 4 Nov 2008 15:48:04 +0000 (15:48 +0000)]
Updated XG commons jar

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@711277 13f79535-47bb-0310-9956-ffa450edef68

16 years ago*State --> *PaintingState
Adrian Cumiskey [Tue, 4 Nov 2008 15:47:20 +0000 (15:47 +0000)]
*State --> *PaintingState

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@711276 13f79535-47bb-0310-9956-ffa450edef68

16 years ago"fixed" block container handling fixed (see block-container_absolute-position_fixed...
Adrian Cumiskey [Tue, 4 Nov 2008 15:30:38 +0000 (15:30 +0000)]
"fixed" block container handling fixed (see block-container_absolute-position_fixed.xml).
Barcode4J generating barcodes correctly for both GOCA and conversion-mode="bitmap".
AbstractGenericSVGHandler now declares use of static final String BITMAP which is used by concrete subclasses and provides overridable methods. for buildGraphicsNode() and createPainter().
*State classes are now renamed *PaintingState.
AFPImageGraphics2DFactory - painter is not overriden but is now instead prepared for y-axis inversion.
AFPGraphics2DAdapter - commented lines removed.
Inlining now only done when the graphic is a non conversion-mode="bitmap".

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@711273 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMaking conversion hints available to ImageHandler implementations, too.
Jeremias Maerki [Tue, 4 Nov 2008 15:10:31 +0000 (15:10 +0000)]
Making conversion hints available to ImageHandler implementations, too.
(Re-)implemented Graphics2D support for PCL. It can be disabled by fox:conversion-mode="bitmap" if necessary.
Fixed a bug with non-uniform image scaling when encoding bitmap images.
Commented some code that did not reliably convert color images to grayscale. The (probably slower) fallback code is used instead.
Some performance improvements for text painting using bitmaps when <rendering>speed<rendering> is selected.
Removed the RenderingContext interface from RendererContext since it's not used.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@711269 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix for test/layoutengine/standard-testcases/block-container_absolute-position_fixed...
Adrian Cumiskey [Fri, 31 Oct 2008 09:58:46 +0000 (09:58 +0000)]
Fix for test/layoutengine/standard-testcases/block-container_absolute-position_fixed.xml.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@709373 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRe-Implemented "quality" rendering mode (painting borders and rules using bitmaps).
Jeremias Maerki [Thu, 30 Oct 2008 08:49:44 +0000 (08:49 +0000)]
Re-Implemented "quality" rendering mode (painting borders and rules using bitmaps).
Added a new rendering mode "bitmap" (in addition to "speed" and "bitmap") that uses Java2DPainter for the whole page and paints a single bitmap (much like most PCL drivers operate). Quality: "speed" < "quality" < "bitmap", Performance: "speed" > "quality" > "bitmap" (at high page complexity "bitmap" might actually be better), File Size: "speed" < "quality" < "bitmap"
Increased bitmap encoding performance by up to 100% (by optimizing the Java code and by supporting the "zeroed row" PCL command)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@709119 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRenamed GenericGraphics2DImagePainter to a slightly more meaningful name of BatikGrap...
Adrian Cumiskey [Wed, 29 Oct 2008 11:21:32 +0000 (11:21 +0000)]
Renamed GenericGraphics2DImagePainter to a slightly more meaningful name of BatikGraphics2DImagePainter.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@708877 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMerged revisions 708192,708838,708848,708851 via svnmerge from
Adrian Cumiskey [Wed, 29 Oct 2008 11:07:24 +0000 (11:07 +0000)]
Merged revisions 708192,708838,708848,708851 via svnmerge from
https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk

........
  r708192 | cbowditch | 2008-10-27 14:12:36 +0000 (Mon, 27 Oct 2008) | 1 line

  added FAQ for Font Cache Warning
........
  r708838 | jeremias | 2008-10-29 08:56:00 +0000 (Wed, 29 Oct 2008) | 1 line

  Test case for WMF images. Useful also for visual testing.
........
  r708848 | jeremias | 2008-10-29 09:32:07 +0000 (Wed, 29 Oct 2008) | 1 line

  Adding variant with fox:conversion-mode="bitmap" for visual testing.
........
  r708851 | jeremias | 2008-10-29 09:40:44 +0000 (Wed, 29 Oct 2008) | 1 line

  Added a variant with fox:conversion-mode="bitmap" for visual testing.
........

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@708875 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded a variant with fox:conversion-mode="bitmap" for visual testing.
Jeremias Maerki [Wed, 29 Oct 2008 09:40:44 +0000 (09:40 +0000)]
Added a variant with fox:conversion-mode="bitmap" for visual testing.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@708851 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdding variant with fox:conversion-mode="bitmap" for visual testing.
Jeremias Maerki [Wed, 29 Oct 2008 09:32:07 +0000 (09:32 +0000)]
Adding variant with fox:conversion-mode="bitmap" for visual testing.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@708848 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTest case for WMF images. Useful also for visual testing.
Jeremias Maerki [Wed, 29 Oct 2008 08:56:00 +0000 (08:56 +0000)]
Test case for WMF images. Useful also for visual testing.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@708838 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdated the status to reflect the new features/changes in this branch.
Adrian Cumiskey [Mon, 27 Oct 2008 17:49:40 +0000 (17:49 +0000)]
Updated the status to reflect the new features/changes in this branch.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@708250 13f79535-47bb-0310-9956-ffa450edef68

16 years agoadded FAQ for Font Cache Warning
Chris Bowditch [Mon, 27 Oct 2008 14:12:36 +0000 (14:12 +0000)]
added FAQ for Font Cache Warning

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@708192 13f79535-47bb-0310-9956-ffa450edef68