aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Updated to RDF standardClay Leeds2006-03-251-15/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388819 13f79535-47bb-0310-9956-ffa450edef68
* No stacktrace when encountering problems while building a base URL. It's not ↵Jeremias Maerki2006-03-254-6/+14
| | | | | | | | | | necessary and draws too much attention. Instead added the URL to the log message that causes the problem. Don't validate Base URLs anymore in FOUserAgent because that produces errors (because an URL cannot be built) if a symbolic URI is used which is later resolved through a URIResolver. Improved support for relative URLs for accessing font resources. ServletContextURIResolver can now use a base URI that starts with "servlet-context:". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388766 13f79535-47bb-0310-9956-ffa450edef68
* Corrected expectation and behaviour for the text-indent property to only ↵Jeremias Maerki2006-03-241-6/+9
| | | | | | apply to the first line area generated by a block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388565 13f79535-47bb-0310-9956-ffa450edef68
* Confirming that last-line-end-indent works as specified in XSL 1.0.Jeremias Maerki2006-03-241-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388536 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for ICC color profile parsing in JPEG images.Jeremias Maerki2006-03-248-27/+86
| | | | | | | Ported detection code for CMYK JPEG images generated by Adobe Photoshop from maintenance branch. Adobe inverts CMYK images. Reenabled ICC color profile embedding for PDF. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388460 13f79535-47bb-0310-9956-ffa450edef68
* Initial support for page-position="last". Feedback requested!Jeremias Maerki2006-03-2311-97/+287
| | | | | | See also: http://wiki.apache.org/xmlgraphics-fop/PagePositionLast git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388182 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: display-align did not work if the first object in a page was a table.Luca Furini2006-03-231-0/+5
| | | | | | Testcase added, now all seems ok. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388157 13f79535-47bb-0310-9956-ffa450edef68
* The about attribute must have the "rdf" namespace prefix.Jeremias Maerki2006-03-232-22/+40
| | | | | | Adobe Acrobat uses an outdated namespace URI for the PDF/A identification, so do the same as Adobe Distiller: write the PDF/A identification twice, once with each namespace URI. Reason: Acrobat is probably the best tool to verify PDF/A conformance right now. jHove covers only part of ISO 19005-1. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388126 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39070: Jeremias Maerki2006-03-231-1/+1
| | | | | | | Removed illegal "/Type /Info" entry in the Info dictionary. Submitted by: John Yonosh <jyonosh.at.fcg.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388092 13f79535-47bb-0310-9956-ffa450edef68
* Added missing package description.Jeremias Maerki2006-03-221-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@387818 13f79535-47bb-0310-9956-ffa450edef68
* Clean-up in PageSequence.Jeremias Maerki2006-03-222-37/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@387789 13f79535-47bb-0310-9956-ffa450edef68
* Removed obsolete TODOJeremias Maerki2006-03-221-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@387780 13f79535-47bb-0310-9956-ffa450edef68
* Forgot a file when committing my changes for the user-supplied hyphenation ↵Jeremias Maerki2006-03-221-1/+3
| | | | | | patterns. Without the resolver, they are not picked up. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@387779 13f79535-47bb-0310-9956-ffa450edef68
* Add PDF/A-1b support to command-line.Jeremias Maerki2006-03-211-12/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@387557 13f79535-47bb-0310-9956-ffa450edef68
* Made the loading of user-specified hyphenation patterns usable again and ↵Jeremias Maerki2006-03-219-186/+528
| | | | | | | | | | | | plugged it into URI resolution. Backwards-compatibility should be maintained. PatternParser now uses JAXP to get the SAX parser. Moved the hyphenation pattern cache into a separate class so I can easily plug it into FopFactory later instead of having static variables. Added serialVersionUID to HyphenationTree. Necessary because the class signature changed. FOURIResolver does not complain about "file not found" on the log anymore since this should be done by the caller. Until now, this resulted in two log messages about the same problem on the log. "File not found" is still reported but only on level "debug" which might be helpful when tracking down a problem, but at least it's not a "WARNING" anymore. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@387477 13f79535-47bb-0310-9956-ffa450edef68
* block-container did not tell the breaker if it's in auto-height mode. That ↵Jeremias Maerki2006-03-211-2/+2
| | | | | | causes false alarms for block-containers which are not constrained in b-p-d. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@387457 13f79535-47bb-0310-9956-ffa450edef68
* Certain filter combinations in PDF could lead to invalid PDFs. DecodeParams ↵Jeremias Maerki2006-03-201-6/+24
| | | | | | | | | | | | | | | | were not properly handled. Default filter for XMP metadata set to NullFilter as XMP metadata should always be embedded as clear-text so non-PDF-aware XMP processors can extract the metadata. Default filter for DCT/JPEG- and CCITT/TIFF-encoded images set to NullFilter because these two compression methods already do a good job. An additional flate filter (as was applied before due to the single default) helps a just little but also adds processing time. If anyone wants to squeeze every possible bit out of the PDF you can use the following in the user configuration: <filterList type="tiff"> <value>flate</value> </filterList> <filterList type="jpeg"> <value>flate</value> </filterList> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@387213 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39030: Jeremias Maerki2006-03-203-48/+48
| | | | | | | Output filenames with a space resulted in "%20" in the generated file. Looks like a bug in Xalan-J. We now open the OutputStream ourselves. The two practically identical write methods pulled up into the abstract base class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@387161 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38731: Jeremias Maerki2006-03-191-7/+16
| | | | | | | | | More accurate font size selection. Outer transformation matrix is no longer ignored when painting text. Improvement for transparent bitmaps (effect can be seen on filters-composite-01-b and render-groups-03-t in SVG 1.1 test suite) Submitted by: Michal Sevcenko <sevcenko.at.vc.cvut.cz> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386954 13f79535-47bb-0310-9956-ffa450edef68
* Avoid exception when ImageIO is used as image adapter for TIFF images. The ↵Jeremias Maerki2006-03-181-0/+3
| | | | | | stream is already closed and the bitmap loaded when FopPDFImages wants to write the image to the PDF. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386880 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: CCITT Group 4 encoded TIFF images were not properly embedded in PDF ↵Jeremias Maerki2006-03-182-3/+13
| | | | | | files. FopPDFImage always used the bits/pixel and color space of the original image although our image adapter mostly convert all images to 24bit RGB. One day, we will need to improve the image handling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386879 13f79535-47bb-0310-9956-ffa450edef68
* Changed the way that text-align-last is calculated. Hopefully, this is it, ↵Jeremias Maerki2006-03-161-22/+28
| | | | | | now. Should fix a bug reported last week on fop-users. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386379 13f79535-47bb-0310-9956-ffa450edef68
* Fix for ArrayIndexOutOfBoundException in block_white-space_4.Jeremias Maerki2006-03-161-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386339 13f79535-47bb-0310-9956-ffa450edef68
* Added support for fixed-width spaces and kerning.Jeremias Maerki2006-03-1637-447/+3525
| | | | | | | | | | | | | | Note: letter-spacing is still implemented as before. Fixing this cannot be done without looking at space resolution as a whole on inline level. The Character area tree object is now deprecated. Normal Text objects should be used to keep renderers simpler. Introduced FontResolver interface to remove the dependency of FOUserAgent into the font package. Added kerning information to the base14 fonts, Helvetica and Times. By default it is not used to keep the status-quo. Enable base14 kerning through the FOUserAgent (FopFactory after the API finalization). Restored the production of EPS images in PDF output as PostScript XObjects. Restored functionality for a more compact format for the area tree renderer to save space. LayoutEngineTester slightly changed to allow for configuration values from the XML file. For now, only enabling base14 kerning is supported. Removed duplicate offset variable in SpaceArea. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386327 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed a copy/paste error in the table layout code that caused wrong ↵Jeremias Maerki2006-03-151-1/+1
| | | | | | page break decisions when table-headers and/or table-footers are used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386025 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed an NPE that was thrown when a table was used inside a ↵Jeremias Maerki2006-03-151-0/+1
| | | | | | footnote-body. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386015 13f79535-47bb-0310-9956-ffa450edef68
* ElementMapping lookup via META-INF/servicesAndreas L. Delmelle2006-03-072-8/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@384030 13f79535-47bb-0310-9956-ffa450edef68
* TypoJeremias Maerki2006-03-062-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@383497 13f79535-47bb-0310-9956-ffa450edef68
* Removed stray debug message.Jeremias Maerki2006-03-061-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@383493 13f79535-47bb-0310-9956-ffa450edef68
* Removed duplicate entry in Renderer list.Jeremias Maerki2006-03-063-18/+2
| | | | | | | | Register FOEventHandlers using Service discovery, too. Removed superfluous discovery and registration methods. Renamed META-INF file to match the pattern established in the sandbox. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@383491 13f79535-47bb-0310-9956-ffa450edef68
* Fix for NPE in case of empty instream-foreign-objectAndreas L. Delmelle2006-03-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@383439 13f79535-47bb-0310-9956-ffa450edef68
* Add dynamic lookup of the RendererMakers to RendererFactory (as suggested by ↵Andreas L. Delmelle2006-03-052-9/+15
| | | | | | Nils Meier; proposed patch slightly altered to make use of org.apache.fop.util.Service instead of sun.misc.Service) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@383384 13f79535-47bb-0310-9956-ffa450edef68
* Correcting some info on embedding TrueType fonts.Jeremias Maerki2006-03-021-9/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@382336 13f79535-47bb-0310-9956-ffa450edef68
* Disabled the resolution setting because it can lead to ugly side-effects. ↵Jeremias Maerki2006-03-021-2/+4
| | | | | | Resolution is poort now (72dpi) but at least the SVG gets rendered correctly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@382317 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed a problem with certain TrueType fonts which are missing the ↵Jeremias Maerki2006-03-011-1/+5
| | | | | | | | "PCLT" table, where a baseline-shift="sub" had no effect due to a missing x-height value. (Note: This only affects TTFReader, so the font metric file has to be regenerated.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@382089 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in the construction of a base URL when it's specified as a file ↵Jeremias Maerki2006-03-011-4/+1
| | | | | | system path. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381978 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug in handling of text-align-last. Value "relative" was not the ↵Jeremias Maerki2006-02-281-16/+30
| | | | | | default and the resolved property was wrong when it was inherited. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381618 13f79535-47bb-0310-9956-ffa450edef68
* Tweaks to user mailing list policy. Gosh, we should use the link to this ↵Jeremias Maerki2006-02-281-3/+3
| | | | | | section more often. :-) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381586 13f79535-47bb-0310-9956-ffa450edef68
* Activated refinement white-space-handling for fo:title and fo:bookmark-titleAndreas L. Delmelle2006-02-271-1/+9
| | | | | | | | (treating fo:title the same as fo:bookmark-title -- see XSL-FO 1.1 6.11.3 -> Trait derivation) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381409 13f79535-47bb-0310-9956-ffa450edef68