aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged Temp_API_Finalization branch back into FOP Trunk:Jeremias Maerki2006-03-2748-766/+1409
| | | | | | | | | | | 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
* Removed totally misleading demo file. widows and orphans only have an effect ↵Jeremias Maerki2006-03-251-521/+0
| | | | | | | | inside the same fo:block, not across table-cells. See also: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200603.mbox/%3c20060322150426.7F8D.DEV@jeremias-maerki.ch%3e git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388767 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
* ID reference in some checks were wrong.Jeremias Maerki2006-03-251-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388765 13f79535-47bb-0310-9956-ffa450edef68
* Demonstrating negative last-line-end-indent.Jeremias Maerki2006-03-241-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388577 13f79535-47bb-0310-9956-ffa450edef68
* Corrected expectation and behaviour for the text-indent property to only ↵Jeremias Maerki2006-03-243-10/+17
| | | | | | 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-243-5/+103
| | | | 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-2313-97/+458
| | | | | | 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-232-0/+260
| | | | | | 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-2110-186/+532
| | | | | | | | | | | | 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-202-6/+28
| | | | | | | | | | | | | | | | 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-185-4/+26
| | | | | | 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-162-24/+52
| | | | | | 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
* Looks like we already had a test for the bug I fixed in revision 386025. ↵Jeremias Maerki2006-03-161-1/+1
| | | | | | D'oh. Adjusted the space-before to force the second page again. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386341 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-1650-518/+4149
| | | | | | | | | | | | | | 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-153-1/+82
| | | | | | 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-153-0/+68
| | | | | | 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
* Test case which demonstrates that a footnote in a fo:inline is swallowed if ↵Jeremias Maerki2006-03-022-0/+52
| | | | | | hyphenation is active. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@382492 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
* Bugzilla #38821:Jeremias Maerki2006-03-011-4/+13
| | | | | | | | | | Re-added the Class-Path entry in the manifest. Additional changes: Fixed the javac.fork property. Prepared classpaths for when xmlgraphics-commons is ready. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@382152 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed a problem with certain TrueType fonts which are missing the ↵Jeremias Maerki2006-03-012-1/+10
| | | | | | | | "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
* Forgot the entry here.Jeremias Maerki2006-03-011-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381981 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-282-16/+89
| | | | | | 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-272-7/+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
* A nit: slight performance optimizationAndreas L. Delmelle2006-02-271-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381397 13f79535-47bb-0310-9956-ffa450edef68