aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* The default sRGB color profile provided by the Java class library is no ↵Jeremias Maerki2006-05-073-19/+87
| | | | | | longer embedded if it is encountered. This should reduce the PDF size considerably. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@404759 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39443:Jeremias Maerki2006-05-074-5/+22
| | | | | | | Bugfix: Sections with span="all" lead to overlapping text if spanning multiple pages. Tables and list produced an illegal value for break class on normal breaks. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@404751 13f79535-47bb-0310-9956-ffa450edef68
* Fixed incorrect handling of percentages in vertical-align property values ↵Manuel Mall2006-05-061-0/+1
| | | | | | and added testcase git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@400279 13f79535-47bb-0310-9956-ffa450edef68
* Fix compliance info on "vertical-align".Jeremias Maerki2006-05-062-2/+28
| | | | | | Added an FAQ entry concerning the "The attribute "width" of the element <rect> is required" problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@400266 13f79535-47bb-0310-9956-ffa450edef68
* Make the file UTF-8 compatible, i.e. US_ASCII. :-) Thanks, Manuel.Jeremias Maerki2006-05-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@400093 13f79535-47bb-0310-9956-ffa450edef68
* The PCL Renderer is now mostly operational including reference-orientation ↵Jeremias Maerki2006-05-053-213/+359
| | | | | | but without kerning, TrueType and color support. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@400075 13f79535-47bb-0310-9956-ffa450edef68
* fox:disable-clipping on the i-f-o or e-g can be used to perform more ↵Jeremias Maerki2006-05-043-4/+18
| | | | | | painting operations natively in the HP GL/2 space. Since HP GL/2 provides only limited clipping functionality (which is not supported, yet) and the PCLGraphics2D fails with an UnsupportedException if it encounters an unsupported painting operation, every SVG graphic ends up being painted as a bitmap. This setting can help avoid that. Of course, I have yet to implement the IW (InputWindow, used for rectangular clipping) command. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@399582 13f79535-47bb-0310-9956-ffa450edef68
* Some refactoring in the XML handling area which results in more code reuse ↵Jeremias Maerki2006-05-0318-350/+578
| | | | | | | | | | and less redundancy. Support for i-f-o for the AFPRenderer including a Graphics2DAdapter so extensions like Barcode4J can paint barcodes more efficiently (i.e. not via SVG). The SVGConverter class could now be removed except for the writeImage() method because the same functionality is now covered by the Graphics2DAdapter via renderDocument() in the renderer. PCL and AFP now use practically the same extension painting code (both render to bitmap images). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@399306 13f79535-47bb-0310-9956-ffa450edef68
* Removed deprecated renderCharacter method from AFP Renderer and replaced ↵Manuel Mall2006-05-036-278/+40
| | | | | | AFPColor class with java.awt.Color in line with the rest of FOP git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@399286 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38243:Jeremias Maerki2006-05-031-3/+4
| | | | | | | Bugfix for NPE when there are gaps in the table-column setup. Submitted by: Gerhard Oettl <gerhard.oettl.at.oesoft.at> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@399200 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38946:Jeremias Maerki2006-05-0345-1572/+995
| | | | | | | First step for improved color handling. FOP's own ColorType was replaced with java.awt.Color throughout the codebase. Submitted by: Max Berger <max.at.berger.name> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@399185 13f79535-47bb-0310-9956-ffa450edef68
* Added initial details about the AFP renderer to the outputs document on the ↵Manuel Mall2006-05-021-4/+161
| | | | | | web site. This is still incomplete and some more info is to follow. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@398967 13f79535-47bb-0310-9956-ffa450edef68
* Simply subclassing did not work as expected. Made a copy now.Jeremias Maerki2006-05-021-2/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@398947 13f79535-47bb-0310-9956-ffa450edef68
* Java2D Renderer:Jeremias Maerki2006-05-0219-1037/+1412
| | | | | | | | | | | | | | | | | Symbol and ZapfDingbats now work due to a little change in FontSetup.java Made the class a subclass of AbstractPathOrientedRenderer. This enables to remove some redundant code. Border painting on a Graphics2D is now available to other renderers. PCL Renderer: Improved Graphics2D implementation. PCLGraphic2D throws an UnsupportedOperationException if it encounters a feature it cannot properly handle. The Graphics2DAdapter can then fall back to painting a graphic in-memory and then as a bitmap. Added border painting. PCLRenderer supports to modes "quality" and "speed". The user can configure the mode depending on his needs. In "speed" mode borders are painted as shaded rectangles only. In "quality" mode it uses border rendering of the Java2DRenderer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@398945 13f79535-47bb-0310-9956-ffa450edef68
* Some cleanup of the AFP Renderer code (tab char removal and a few other ↵Manuel Mall2006-04-2819-137/+144
| | | | | | things). Changed AFP extension namespace to http://xmlgraphics.apache.org/fop/extensions/afp. Added another missing file. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397875 13f79535-47bb-0310-9956-ffa450edef68
* Update to PCL documentation.Jeremias Maerki2006-04-281-21/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397832 13f79535-47bb-0310-9956-ffa450edef68
* Introduced "ignored namespaces" list on FopFactory. Attributes from ignored ↵Jeremias Maerki2006-04-2829-156/+2864
| | | | | | | | | | | namespaces are not complained about. Not done for elements, yet. Added support for foreign attributes (attributes in a non-FO namespace) on formatting objects, for example to specify additional (proprietary) hints for rendering i-f-o and e-g. First usage example is PCLRendererContext which the PCLGraphics2DAdapter uses to decide whether to paint natively using HP GL/2 or using a bitmap. PCL Renderer revived: Basic framework constructed based on the old one. Still incomplete (no border painting, incomplete Graphics2D implementation, problems with reference orientation, no kerning etc.). The PCL Renderer implements PCL5 (monochrome) and HP GL/2. Work in progress! Added UnitConv helper class which could also be useful elsewhere (Could be a candidate for Commons). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397806 13f79535-47bb-0310-9956-ffa450edef68
* More missing AFP Renderer files as identified by JMManuel Mall2006-04-272-0/+178
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397567 13f79535-47bb-0310-9956-ffa450edef68
* Missing AFP Renderer file as identified by JMManuel Mall2006-04-271-0/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397564 13f79535-47bb-0310-9956-ffa450edef68
* AFP Renderer as per IP clearance ↵Manuel Mall2006-04-2763-0/+12948
| | | | | | (http://mail-archives.apache.org/mod_mbox/xmlgraphics-general/200604.mbox/%3c20060426085421.B456.DEV@jeremias-maerki.ch%3e) plus some further corrections and changes made by manuel@apache.org since git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397562 13f79535-47bb-0310-9956-ffa450edef68
* Minor correction to whitespace handling to ensure non space whitespace is ↵Manuel Mall2006-04-271-2/+1
| | | | | | always converted to a space git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397556 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bad URL. Bad URL\!Clay Leeds2006-04-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397306 13f79535-47bb-0310-9956-ffa450edef68
* Content in block-containers makes better use of shrink to fit content ↵Jeremias Maerki2006-04-256-12/+50
| | | | | | | | | | vertically into the available area. This can be used indirectly to justify content vertically in a block-container. PageBreakingAlgorithm now writes to a different logger than its base class. Makes debugging easier. Some minor logging improvements to improve clarity. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@396915 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: basic-links with internal destinations in documents with multiple ↵Jeremias Maerki2006-04-245-3/+38
| | | | | | page-sequences sometimes pointed at the wrong page. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@396640 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a typo. Thanks, Matthew East.Jeremias Maerki2006-04-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@396559 13f79535-47bb-0310-9956-ffa450edef68
* Bypass URI resolution for "data:" URLs (RFC 2397). If a large data URL is ↵Jeremias Maerki2006-04-232-2/+6
| | | | | | given to Apache XML Commons Resolver, it tries to construct a java.net.URL from it which takes forever and fails in the end when no protocol handler for "data" URLs is installed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@396263 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed ClassCastException when retrieve-marker is used as a direct ↵Jeremias Maerki2006-04-231-2/+5
| | | | | | | | child if static-content in which case leading and trailing white space is not properly removed. Note: This is probably more a hack than anything else, but it fixes the problem for now. If anyone has a better solution, please feel free to improve. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@396256 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39285:Jeremias Maerki2006-04-231-2/+5
| | | | | | Bugfix: Fixed OutOfMemoryException with long data URLs (RFC 2397). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@396251 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39118:Jeremias Maerki2006-04-2318-38/+377
| | | | | | | | | | | | | Initial support for page-number-citation-last (XSL 1.1). Works without problems only for page-sequence so far. Submitted by: Pierre-Henri Kraus <phkraus.at.skynet.be> Modifications to the patch by jeremias during review: - Tab character removed - Some style fixes and javadoc enhancements - Renamed some methods in AreaTreeHandler to some more speaking names - Changed the ..._basic.xml testcase so it shows a remaining problem: Forward references are not properly resolved, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@396243 13f79535-47bb-0310-9956-ffa450edef68
* Improved wording in release notes.Jeremias Maerki2006-04-202-5/+5
| | | | | | Status update. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@395667 13f79535-47bb-0310-9956-ffa450edef68
* Minor editClay Leeds2006-04-201-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@395638 13f79535-47bb-0310-9956-ffa450edef68
* Added info about updating Distribution HEADER.html file for each releaseClay Leeds2006-04-201-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@395612 13f79535-47bb-0310-9956-ffa450edef68
* Oops.Jeremias Maerki2006-04-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@395542 13f79535-47bb-0310-9956-ffa450edef68
* Updated link to release branch.Jeremias Maerki2006-04-201-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@395520 13f79535-47bb-0310-9956-ffa450edef68
* 0.92beta is out.Jeremias Maerki2006-04-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@395519 13f79535-47bb-0310-9956-ffa450edef68
* Merged changes from 0.92 branch back into Trunk.Jeremias Maerki2006-04-2025-334/+952
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@395518 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: The generation of the PDF "d" (setdash) command was assuming that ↵Jeremias Maerki2006-04-181-8/+2
| | | | | | only integer values can be used but that isn't the case. Dash patterns PDFGraphics2D would be wrong in the process. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@394928 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed a division by zero problem in TTFReader popping up with ↵Jeremias Maerki2006-04-121-15/+47
| | | | | | | | | arialuni.ttf. Improved the detection of the capHeight and xHeight font metric values for TrueType fonts. Fonts that contain a version 3.0 PostScript table don't contain unicode glyph names. Without an xHeight value, super- and subscript does not work in FOP. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@393410 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39033:Jeremias Maerki2006-04-101-0/+14
| | | | | | | Enancement: convert java.awt.GradientPaint to Batik's LinearGradientPaint to avoid rasterization when painting. This is useful when someone uses PDFGraphics2D outside FOP. Submitted by: Michal Sevcenko <sevcenko.at.vc.cvut.cz> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@392917 13f79535-47bb-0310-9956-ffa450edef68
* Some updates in preparation of the next release.Jeremias Maerki2006-04-103-15/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@392909 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Allow URLs in basic-link's external-destination to be wrapped in ↵Jeremias Maerki2006-04-103-21/+62
| | | | | | "url()". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@392902 13f79535-47bb-0310-9956-ffa450edef68
* List NBSP under adjustable spaces in CharUtilities.Jeremias Maerki2006-04-102-6/+14
| | | | | | | | | | Generate space elements in the area tree from spaces in fo:character. Clearly mark test cases which test for NBSP. Document failure to generate adjustable spaces from fo:character in a disabled test case. Adjust checks to the fact the fo:character can now also generate spaces. Enable block_white-space-collapse_2.xml again git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@392901 13f79535-47bb-0310-9956-ffa450edef68
* Fixed various white space (non)removal issues during line building. ↵Manuel Mall2006-04-084-43/+181
| | | | | | white-space-treatment is now supported properly especially for the "preserve" case. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@392488 13f79535-47bb-0310-9956-ffa450edef68
* Documentation on PDF/A support.Jeremias Maerki2006-04-062-0/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391994 13f79535-47bb-0310-9956-ffa450edef68
* Fixed encoding issue. Jeremias Maerki2006-04-061-2/+3
| | | | | | Using Commons IO ByteArrayOutputStream. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391907 13f79535-47bb-0310-9956-ffa450edef68
* I'd like to make Batik an optional dependency over time, so check Commons IO ↵Jeremias Maerki2006-04-051-1/+1
| | | | | | instead of Batik as indicator for a complete classpath. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391746 13f79535-47bb-0310-9956-ffa450edef68
* Switching to the Commons variants for the Graphics2D base/helper classes.Jeremias Maerki2006-04-054-8/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391742 13f79535-47bb-0310-9956-ffa450edef68
* Switching to the Commons variant for the base64 encoding/decoding.Jeremias Maerki2006-04-051-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391698 13f79535-47bb-0310-9956-ffa450edef68
* Improved JUnit report creation.Jeremias Maerki2006-04-059-2/+305
| | | | | | | | | | Added support for OutputIntent objects in PDF. When PDF/A-1b is activated OutputIntents are created and the sRGB color space is used by default (hardcoded for the moment for lack of better color infrastructure in FOP). The sRGB color profile from HP (covering sRGB IEC61966-2.1) is now embedded in fop.jar as a resource so the PDF library can embed it. The sRGB profile from the Sun JRE is much bigger. That's why it's not used. The Gladiator TrueType font (glb12.ttf) has been copied over from Batik and is used to verify PDF/A-1b's conformance checks. CMYK JPEG image added to test resources so PDF/A-1b color space checks can be performed. With the color space checks, support for PDF/A-1b is complete to the degree that FOP supports the creation of elements described in ISO 19005-1, except for the case where an embedded XMP packet is used in the fo:declarations element. In this case the metadata is not synchronized with the values in the Info PDF object which could lead to validation errors when checking for PDF/A-1b conformance. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391624 13f79535-47bb-0310-9956-ffa450edef68
* Reestablishing PDF 1.3 compatibility ("Z" is not available under JDK 1.3).Jeremias Maerki2006-04-051-10/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391622 13f79535-47bb-0310-9956-ffa450edef68