aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix for plan reloader when the namespace doesn't match.Jeremias Maerki2008-08-052-8/+18
| | | | | | Added a viewBox attribute to the generated SVG so scaling is done properly when embedded in another SVG file. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@682748 13f79535-47bb-0310-9956-ffa450edef68
* Refinements based on the extensions of XML Graphics Commons (better ↵Jeremias Maerki2008-08-057-5/+135
| | | | | | | | distinction of the various image flavors). Added an image converter from Java2D to SVG (using Batik's SVGGraphics2D). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@682746 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for leading glyph adjust in TJ array.Jeremias Maerki2008-08-051-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@682743 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Trunk revisions 679735 to 680380.Jeremias Maerki2008-07-2812-83/+101
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680381 13f79535-47bb-0310-9956-ffa450edef68
| * Reverted revision 670341 and replaced it with a different solution as discussed:Jeremias Maerki2008-07-2810-49/+55
| | | | | | | | | | | | | | | | addCharacters() is now deprecated and called by the new characters() method which uses start/length instead of start/end. Fixed bugs in the AFP and PS extensions (ArrayIndexOutOfBoundsExceptions). They were not properly changed when the interface changed. Discussion: http://markmail.org/message/pdgzf6odxrnhflby git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@680378 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45470:Jeremias Maerki2008-07-282-34/+46
| | | | | | | | | | | | Added LayoutManagerMapping.registerMaker() to make registration of custom layout managers easier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@680369 13f79535-47bb-0310-9956-ffa450edef68
* | Release intermediate file ASAP to avoid high memory consumption.Jeremias Maerki2008-07-281-0/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680360 13f79535-47bb-0310-9956-ffa450edef68
* | Set error listener on both IF and AT tests.Jeremias Maerki2008-07-283-17/+26
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680341 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed block containers now working properly.Jeremias Maerki2008-07-283-44/+291
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680339 13f79535-47bb-0310-9956-ffa450edef68
* | Reduce code duplication and make the toString() methods available to the ↵Jeremias Maerki2008-07-283-40/+41
| | | | | | | | | | | | outside (need them for debugging later). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680338 13f79535-47bb-0310-9956-ffa450edef68
* | Don't let Xalan's default error listener swallow exceptions.Jeremias Maerki2008-07-281-0/+18
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680337 13f79535-47bb-0310-9956-ffa450edef68
* | Dealt with some double formatting issues (coordinate round-trips).Jeremias Maerki2008-07-285-53/+89
| | | | | | | | | | | | Extracted the DecimalFormat cache from PDFNumber into a separate utility class to avoid code duplication. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680282 13f79535-47bb-0310-9956-ffa450edef68
* | Some carriage returns for the debug output file.Jeremias Maerki2008-07-281-0/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680281 13f79535-47bb-0310-9956-ffa450edef68
* | Renamed "box" to "viewport". Introduced "group" for pure reference areas ↵Jeremias Maerki2008-07-2815-83/+394
| | | | | | | | | | | | | | | | | | (only transformation, no clipping). "viewport" and "group" are implemented in IFSerializer, SVG and PDF. Some minor problems remain. Fixed a few minor bugs (like NPEs) found while testing. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680266 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk revisions 677589 to 679734.Jeremias Maerki2008-07-251084-9320/+9415
|\| | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@679781 13f79535-47bb-0310-9956-ffa450edef68
| * Fed up with all those trailing whitespaces. Let's remove them all (once... ↵Vincent Hennebert2008-07-241082-9341/+9341
| | | | | | | | | | | | and for all?) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679326 13f79535-47bb-0310-9956-ffa450edef68
| * Only update the generated files if any source file is newer than the ↵Jeremias Maerki2008-07-232-13/+28
| | | | | | | | | | | | generated ones. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679164 13f79535-47bb-0310-9956-ffa450edef68
| * My bad.. copy paste error I introduced which broke forrest.Adrian Cumiskey2008-07-231-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679060 13f79535-47bb-0310-9956-ffa450edef68
| * Minor optimization.Adrian Cumiskey2008-07-231-2/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679044 13f79535-47bb-0310-9956-ffa450edef68
| * Lets free a little memory in every BlockParent :).. Commented out the ↵Adrian Cumiskey2008-07-221-1/+1
| | | | | | | | | | | | unused private member variable 'orientation'. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@678730 13f79535-47bb-0310-9956-ffa450edef68
| * Hacked CommandLineOptions so that it accepts '-' as a specification of ↵Vincent Hennebert2008-07-221-36/+54
| | | | | | | | | | | | | | | | | | | | stdin/stdout. Made it work also when infile is specified without any option ('fop - -pdf res.pdf') TODO Investigate the adoption of Apache Commons CLI git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@678699 13f79535-47bb-0310-9956-ffa450edef68
| * Desynchronized createFontKey() and removed single use of static ↵Adrian Cumiskey2008-07-221-5/+5
| | | | | | | | | | | | TRIPLETS_TYPE in fontLookup() following a suggestion by Jeremias Ingo Maas' threading issue (http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200807.mbox/%3C000a01c8eb4b$42166e60$a701010a@ebp01422%3E). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@678691 13f79535-47bb-0310-9956-ffa450edef68
| * Renamed fname to more correct name fontKey.Adrian Cumiskey2008-07-211-5/+5
| | | | | | | | | | | | | | Made createFontKey() in FontInfo synchronized which should hopefully fix Ingo Maas's threading problem (http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200807.mbox/%3C000a01c8eb4b$42166e60$a701010a@ebp01422%3E). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@678477 13f79535-47bb-0310-9956-ffa450edef68
| * Removed unnecessary storing of byte[] nameBytesAdrian Cumiskey2008-07-181-55/+39
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677973 13f79535-47bb-0310-9956-ffa450edef68
| * Ok, I am much happier with this fix now, it doesn't feel like a temporary ↵Adrian Cumiskey2008-07-182-38/+39
| | | | | | | | | | | | | | | | | | hack anymore :). I have revised the fontLookup() algorithm in FontInfo so it now first tries to find matching font triplets by iterating over all the font family names *without substitutions*, if this fails it then iterates over all the font family names looking for matching font triplets *with substitutions* rather then just take the last one in the font family name list with substitutions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677863 13f79535-47bb-0310-9956-ffa450edef68
| * I'm not really happy with this workaround, it is a bit of a hack (as Symbol ↵Adrian Cumiskey2008-07-171-0/+16
| | | | | | | | | | | | and ZapfDingbats are not available) but it does prevent the IllegalArgumentException from being thrown. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677679 13f79535-47bb-0310-9956-ffa450edef68
| * Undoing this change for now until a better fix can be found as it breaks 4 ↵Adrian Cumiskey2008-07-171-1/+1
| | | | | | | | | | | | unit tests. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677668 13f79535-47bb-0310-9956-ffa450edef68
| * Unused imports.Adrian Cumiskey2008-07-171-10/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677652 13f79535-47bb-0310-9956-ffa450edef68
| * Moved font setup stuff from setupFontInfo() in AFPRenderer and delegated ↵Adrian Cumiskey2008-07-172-47/+120
| | | | | | | | | | | | this stuff to an AFPFontCollection class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677651 13f79535-47bb-0310-9956-ffa450edef68
| * An optimization and improved readability of fontLookup() call.Adrian Cumiskey2008-07-171-4/+7
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677650 13f79535-47bb-0310-9956-ffa450edef68
| * A minor optimization.Adrian Cumiskey2008-07-171-2/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677649 13f79535-47bb-0310-9956-ffa450edef68
| * ZapfDingbats and Symbol is not always available on the AFPRenderer so we ↵Adrian Cumiskey2008-07-171-1/+1
| | | | | | | | | | | | can't have these as default font family properties unfortunately. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677648 13f79535-47bb-0310-9956-ffa450edef68
* | Improved/fixed font setup for painters. Reduced the whole thing to pass in a ↵Jeremias Maerki2008-07-2316-268/+625
| | | | | | | | | | | | | | | | | | | | fully set-up FontInfo object to reduce dependencies on the font package to the necessary. Fixed problem with some JAXP implementations for "lastProprties" in IFParser. Support for XMP parsing added in IFParser. Added round-trip testing for new IF. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@679047 13f79535-47bb-0310-9956-ffa450edef68
* | Started the IFParser.Jeremias Maerki2008-07-2222-516/+2263
| | | | | | | | | | | | | | | | Started a PDF painter. Factored out common code to PDFRenderingUtil. Smaller infrastructure changes for the new IF (like MIME type reporting). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@678780 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk up to revision 677588.Jeremias Maerki2008-07-1723-305/+412
|\| | | | | | | | | | | Switched from svnmerge to SVN 1.5 merge tracking manually for this branch only. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@677594 13f79535-47bb-0310-9956-ffa450edef68
| * fonts package must not depend on the render package. Refactored to restore ↵Jeremias Maerki2008-07-177-119/+108
| | | | | | | | | | | | that rule. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677543 13f79535-47bb-0310-9956-ffa450edef68
| * Removed stray System.out.Jeremias Maerki2008-07-161-1/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677405 13f79535-47bb-0310-9956-ffa450edef68
| * Worked around a bug in Xalan 2.4.0 (bundled with Sun Java 1.4.2_xx) where ↵Jeremias Maerki2008-07-162-23/+45
| | | | | | | | | | | | file URLs like file:/C:/.... got converted to file:\C:\.... on Windows causing a FileNotFoundException. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677404 13f79535-47bb-0310-9956-ffa450edef68
| * A nit: clarify message so its more meaningful to end userChris Bowditch2008-07-141-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@676608 13f79535-47bb-0310-9956-ffa450edef68
| * Another attempt at avoiding build issues (?)Andreas L. Delmelle2008-07-131-3/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@676397 13f79535-47bb-0310-9956-ffa450edef68
| * null is not correct here, an empty String needs to be used for the default ↵Jeremias Maerki2008-07-133-43/+43
| | | | | | | | | | | | namespace. Saxon 9 fails with a NullPointerException otherwise. Xalan is more tolerant. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@676307 13f79535-47bb-0310-9956-ffa450edef68
| * Replace occurrences of File.toURL() by File.toURI().toURL() (recommended as ↵Andreas L. Delmelle2008-07-1310-27/+27
| | | | | | | | | | | | of Java 6, where File.toURL() is deprecated) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@676297 13f79535-47bb-0310-9956-ffa450edef68
| * Attempt to fix a potential build problem.Jeremias Maerki2008-07-121-8/+9
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@676161 13f79535-47bb-0310-9956-ffa450edef68
| * Ignore FindBugs preference file from Eclipse.Jeremias Maerki2008-07-110-0/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675854 13f79535-47bb-0310-9956-ffa450edef68
| * Check the result of mkdirs() to see if the target directory could be created.Jeremias Maerki2008-07-111-14/+18
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675845 13f79535-47bb-0310-9956-ffa450edef68
| * Added support for piping:Jeremias Maerki2008-07-103-71/+163
| | | | | | | | | | | | | | | | | | | | - input from stdin (-imagein not supported) - output to stdout Syntax: fop -xml # -xsl mystylesheet.xsl -pdf # (reads the XML from stdin and sends the generated PDF to stdout) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675698 13f79535-47bb-0310-9956-ffa450edef68
| * Beware! An evil tab character! But it's been eliminated. ;-)Jeremias Maerki2008-07-101-17/+17
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675604 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45369: footnotes were rendered at the top of the region-body when ↵Vincent Hennebert2008-07-103-17/+16
| | | | | | | | | | | | using the intermediate format git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675590 13f79535-47bb-0310-9956-ffa450edef68
| * Duplicated operation scaleX and scaleY replaced simply with scale.Adrian Cumiskey2008-07-101-17/+13
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675501 13f79535-47bb-0310-9956-ffa450edef68
| * Whoops.. default value should be true :).Adrian Cumiskey2008-07-091-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675258 13f79535-47bb-0310-9956-ffa450edef68