aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Don't catch RuntimeExceptions.Jeremias Maerki2006-04-051-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391618 13f79535-47bb-0310-9956-ffa450edef68
* Small update to page on output formats.Jeremias Maerki2006-04-051-6/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391616 13f79535-47bb-0310-9956-ffa450edef68
* Added ApacheCon EU 2006Clay Leeds2006-04-051-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391487 13f79535-47bb-0310-9956-ffa450edef68
* Adding dependency on XML Graphics Commons.Jeremias Maerki2006-04-0441-4489/+401
| | | | | | | | | | | Switching to code in XML Graphics Commons for: - PSGraphics2D - Service discovery - Codecs Removed local classes that have been ported to Commons. xmlgraphics-commons-snapshot.jar is a Trunk snapshot built with JDK 1.4.2 from today. It should work under JDK 1.3.1. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@391332 13f79535-47bb-0310-9956-ffa450edef68
* A few small changes to these two documentation pagesSimon Pepping2006-03-302-52/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@390222 13f79535-47bb-0310-9956-ffa450edef68
* Changed PDFText.escapeText() so it doesn't output 7bit ASCII texts in hex ↵Jeremias Maerki2006-03-303-25/+60
| | | | | | | | | mode. This makes it easier to read the PDF in a text editor in most cases. Fixed the property names for xmp:CreatorTool and xmp:CreateDate (case mistake on my side). Changed XMP-generation to output the creation date including the time zone to keep Acrobat's preflight check for PDF/A-1b happy. Found that only after more than 3 hours of trial&error. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@390051 13f79535-47bb-0310-9956-ffa450edef68
* Added missing OutputStream parameter to one of the examples.Jeremias Maerki2006-03-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@390006 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary artifact.Jeremias Maerki2006-03-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389872 13f79535-47bb-0310-9956-ffa450edef68
* Examples pointed to the tag not to the trunk. Otherwise, this can be real ↵Jeremias Maerki2006-03-281-8/+8
| | | | | | confusing now that the API has changed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389567 13f79535-47bb-0310-9956-ffa450edef68
* Adjust documentation to changes in outer API (FopFactory etc.).Jeremias Maerki2006-03-286-193/+266
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389563 13f79535-47bb-0310-9956-ffa450edef68
* Fixed addition of ElementMapping instances. Witnessed in the FO tree tests.Jeremias Maerki2006-03-272-25/+6
| | | | | | The ElementMapping list is not necessary since we now have the ElementMappingRegistry. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389212 13f79535-47bb-0310-9956-ffa450edef68
* Merged Temp_API_Finalization branch back into FOP Trunk:Jeremias Maerki2006-03-2727-621/+1005
| | | | | | | | | | | Finalized API according to the plan in the Wiki: http://wiki.apache.org/xmlgraphics-fop/ApiDesign In addition to that: Deprecated the rest of the Fop constructors. Refactored the FopServlet a bit to make it more versatile and still easy to understand. The FopPrintServlet is now a subclass of FopServlet. Some further cleanup on the way. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389086 13f79535-47bb-0310-9956-ffa450edef68
* Restored JDK 1.3 compatibility.Jeremias Maerki2006-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389070 13f79535-47bb-0310-9956-ffa450edef68
* Guard against NPEs when no base URI is given.Jeremias Maerki2006-03-261-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388927 13f79535-47bb-0310-9956-ffa450edef68