aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merged from Trunk revisions 706551 to 719661.Jeremias Maerki2008-11-2131-654/+709
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@719664 13f79535-47bb-0310-9956-ffa450edef68
| * Fixed possible ClassCastException that was caused by my earlier attempt to ↵Jeremias Maerki2008-11-212-11/+79
| | | | | | | | | | | | 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
| * Fix for unit test failure in transcoder tests (NullPointerException):Jeremias Maerki2008-11-213-18/+24
| | | | | | | | | | | | 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
| * Added support for SVG 1.2 inside fo:instream-foreign-object. The code just ↵Jeremias Maerki2008-11-214-45/+110
| | | | | | | | | | | | 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
| * Bugzilla 46240:Andreas L. Delmelle2008-11-192-10/+25
| | | | | | | | | | | | | | 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
| * Reduced warning on ascender+descender > EM box to DEBUG level, as this case ↵Jeremias Maerki2008-11-191-13/+18
| | | | | | | | | | | | 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
| * Change FontCache.changeLock to a boolean[1], so it can be serialized...Andreas L. Delmelle2008-11-181-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718705 13f79535-47bb-0310-9956-ffa450edef68
| * Bugfix: do not reset TextLM.hasChanged, but combine (||) with previous value.Andreas L. Delmelle2008-11-181-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718666 13f79535-47bb-0310-9956-ffa450edef68
| * TextHandler interface changes, the Graphics2D implementation is now passed ↵Adrian Cumiskey2008-11-183-22/+29
| | | | | | | | | | | | to drawString(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718591 13f79535-47bb-0310-9956-ffa450edef68
| * Update conference ads.Jeremias Maerki2008-11-181-6/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718570 13f79535-47bb-0310-9956-ffa450edef68
| * Improved the FAQ by creating a separate entry for the problem about ↵Vincent Hennebert2008-11-181-10/+20
| | | | | | | | | | | | 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
| * Bugzilla 46211:Andreas L. Delmelle2008-11-171-28/+14
| | | | | | | | | | | | | | | | 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
| * added FAQ for Font Cache WarningChris Bowditch2008-10-271-0/+22
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@708192 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla 45113:Andreas L. Delmelle2008-10-263-11/+127
| | | | | | | | | | | | | | | | | | Added PDF /Launch action, which is used in case of references to URIs using the file:// protocol. Thanks to Alexander Stamenov (astamenov.AT.gmail.com) for the input! git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@708012 13f79535-47bb-0310-9956-ffa450edef68
| * Fixed a problem where the BPD or a block area could be wrong if there is a ↵Jeremias Maerki2008-10-242-11/+8
| | | | | | | | | | | | | | | | nested, absolutely positioned area (for example a block-container). This was most probably introduced by rev 618992. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@707631 13f79535-47bb-0310-9956-ffa450edef68
| * AFPFontReader a lot more robust now with less copy/pasted code but still far ↵Adrian Cumiskey2008-10-249-260/+252
| | | | | | | | | | | | | | | | | | from ideal, the whole AFP FOCA parsing/handling still in need of a rewrite at some point. CharacterSetOrientation width() renamed to getWidth() and now protects itself against a possible ArrayIndexOutOfBoundsException. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@707627 13f79535-47bb-0310-9956-ffa450edef68
| * Been hanging around here unused since 2002 and no longer relevant as far as ↵Adrian Cumiskey2008-10-221-240/+0
| | | | | | | | | | | | I can tell. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@707083 13f79535-47bb-0310-9956-ffa450edef68
| * Reluctantly added a note about how to clear the image cache.Jeremias Maerki2008-10-212-4/+12
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@706570 13f79535-47bb-0310-9956-ffa450edef68
* | Added page master name to IFDocumentHandler.startPage() method.Jeremias Maerki2008-11-1923-214/+1498
| | | | | | | | | | | | | | | | 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
* | Making conversion hints available to ImageHandler implementations, too.Jeremias Maerki2008-11-049-10/+242
| | | | | | | | | | | | | | | | | | | | (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
* | Re-Implemented "quality" rendering mode (painting borders and rules using ↵Jeremias Maerki2008-10-3010-120/+530
| | | | | | | | | | | | | | | | | | 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
* | Moved IFState instance variable into AbstractIFPainter as all ↵Jeremias Maerki2008-10-2317-609/+790
| | | | | | | | | | | | | | | | | | | | | | | | | | | | implementations use it. Refactored default image handling methods in AbstractIFPainter a bit to make them more universal. Fixed a small mistake in Java2DImageHandlerRenderedImage. Added configurator code for new PCL implementation. Fixed smaller issues in PCLGenerator. Added support for painting images (e-g and i-f-o) as bitmaps (depends on rev 707329 in XML Graphics Commons). Added support for text with custom fonts to be painted as bitmaps. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@707331 13f79535-47bb-0310-9956-ffa450edef68
* | Wired in the configuration for IFDocumentHandler.Jeremias Maerki2008-10-211-0/+5
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@706770 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk revisions 699793 to 706550.Jeremias Maerki2008-10-2111-67/+179
|\| | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@706553 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45956:Jeremias Maerki2008-10-201-1/+33
| | | | | | | | | | | | Minimal support for leader-pattern="rule" for PCL output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@706319 13f79535-47bb-0310-9956-ffa450edef68
| * Fixed size of images when vector graphic images are painted using ↵Jeremias Maerki2008-10-206-37/+94
| | | | | | | | | | | | | | | | | | fox:conversion-mode="bitmap" (for PDF output). Added support for fox:conversion-mode="bitmap" for PS output. Avoid "unsupported target ImageFlavor" error after the fix in XML Graphics Commons (rev 706270). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@706276 13f79535-47bb-0310-9956-ffa450edef68
| * Removed superfluous bracketsVincent Hennebert2008-10-171-2/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@705529 13f79535-47bb-0310-9956-ffa450edef68
| * Fix for ps:ps-page-setup-code.Adrian Cumiskey2008-10-152-42/+42
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@704909 13f79535-47bb-0310-9956-ffa450edef68
| * More readable.Adrian Cumiskey2008-10-151-12/+18
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@704907 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45971: improved the behaviour of the command line interface:Vincent Hennebert2008-10-132-32/+49
| | | | | | | | | | | | | | | | | | | | - display 'fop' instead of 'Fop' in help messages - do not throw exception when running fop without argument or with -v or -h - return more meaningful error codes Patch submitted with some modifications by Tom Browder (tom_dot.browder.at_gmail.dot_com) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@704008 13f79535-47bb-0310-9956-ffa450edef68
* | Split IFPainter into IFDocumentHandler and IFPainter. This makes the ↵Jeremias Maerki2008-09-2860-1852/+4083
| | | | | | | | | | | | | | | | | | | | implementation classes smaller, better allows to isolate the painting parts and helps with formats that generate one object per page (SVG, PNG etc.). Added ImageHandlerFactory to FopFactory. Started TIFF output in order to develop the Java2DPainter that will be needed for certain tasks when generating PCL. Tweaked the way XML is generated for IF and SVG output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@699813 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk revisions 685575-699792.Jeremias Maerki2008-09-2862-627/+1125
|\| | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@699801 13f79535-47bb-0310-9956-ffa450edef68
| * Added two missing files from r698280Andreas L. Delmelle2008-09-242-5/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@698670 13f79535-47bb-0310-9956-ffa450edef68
| * Cleanup firstWhiteSpaceInSeq at end of block too...Andreas L. Delmelle2008-09-231-0/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@698322 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla 40798: A conditional-page-master-reference with ↵Andreas L. Delmelle2008-09-237-94/+51
| | | | | | | | | | | | | | | | | | page-position="last" is also eligible for an only page (first as well as last) Additionally: added support for page-position="only" git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@698280 13f79535-47bb-0310-9956-ffa450edef68
| * Fixed stray "xml.apache.org".Jeremias Maerki2008-09-193-3/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@697140 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45795:Jeremias Maerki2008-09-171-0/+15
| | | | | | | | | | | | | | PDF Output: Added support for handling 16-bit alpha channel. They are currently converted to 8 bits. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@696365 13f79535-47bb-0310-9956-ffa450edef68
| * Re-enabled image loader testcasesMaximilian Berger2008-09-163-7/+7
| | | | | | | | | | | | | | | | Made sure SVG converters use SVG flavor (updated in commons) Added new ImageLoaderTest which tests JPGs embedded in SVG git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@695776 13f79535-47bb-0310-9956-ffa450edef68
| * PDF Output: Made sure the XMP Metadata stream is never compressed.Jeremias Maerki2008-09-151-4/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@695491 13f79535-47bb-0310-9956-ffa450edef68
| * Minor fix: avoid attempts at converting a default namespace declaration as a ↵Andreas L. Delmelle2008-09-101-4/+5
| | | | | | | | | | | | FO property, if the parser reports it as a regular attribute git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693841 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45734:Jeremias Maerki2008-09-101-3/+5
| | | | | | | | | | | | | | Fix for PFMReader after bug #43089 (r567078) changed the behavior of PFMFile. Fixes baseline problems when Type 1 fonts are used in conjunction with XML font metric files. Submitted by: J. Frantzius <jfrantzius.at.web.de> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693781 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45616:Jeremias Maerki2008-09-101-10/+7
| | | | | | | | | | | | | | Fix for table handling in RTF output, so the output works with OpenOffice and AbiWord, too. Submitted by: Pavel Kysilka <goldenfish.at.linuxsoft.cz> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693742 13f79535-47bb-0310-9956-ffa450edef68
| * Some older TTF fonts have shorter OS/2 tables. This fixes potential ↵Jeremias Maerki2008-09-101-15/+30
| | | | | | | | | | | | EOFExceptions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693720 13f79535-47bb-0310-9956-ffa450edef68
| * This is a better fix which will cater for the case where the first character ↵Adrian Cumiskey2008-09-091-4/+4
| | | | | | | | | | | | encountered is the EOF (-1) character. EOF test now only occurs when loop is exit so this should execute more efficiently. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693462 13f79535-47bb-0310-9956-ffa450edef68
| * Make PFM string parsing a little more robustAdrian Cumiskey2008-09-091-1/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@693433 13f79535-47bb-0310-9956-ffa450edef68
| * Partial fix for Bugzilla 45702: instead of wrapping the forcedBreakAfterLast ↵Andreas L. Delmelle2008-08-301-2/+2
| | | | | | | | | | | | element, simply add it to the returnList git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@690532 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla 45667: avoid NullPointerExceptions during hyphenation for empty ↵Andreas L. Delmelle2008-08-291-1/+2
| | | | | | | | | | | | inlines. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@690382 13f79535-47bb-0310-9956-ffa450edef68
| * Added missing generation of areas for empty grid units in tables with ↵Jeremias Maerki2008-08-292-8/+111
| | | | | | | | | | | | collapsing border model. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@690319 13f79535-47bb-0310-9956-ffa450edef68
| * Expanded warning message about borders and paddings on regions.Luca Furini2008-08-271-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@689442 13f79535-47bb-0310-9956-ffa450edef68
| * Forgot to add deprecated public statics.Adrian Cumiskey2008-08-261-0/+18
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@689000 13f79535-47bb-0310-9956-ffa450edef68