aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Ignore attributes from foreign namespaces. This is a temporary fix to get ↵Jeremias Maerki2006-02-271-4/+7
| | | | | | | | rid of ugly warnings until a proper mechanism for handling foreign attributes is available. Submitted by: Nils Meier <nmeier.at.users.sourceforge.net> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381289 13f79535-47bb-0310-9956-ffa450edef68
* Added support for page sequence title in AreaTreeParser (IF). Fixes problems ↵Jeremias Maerki2006-02-266-24/+152
| | | | | | | | in intermediate format test suite. Introduced a PageSequence area tree object to achieve the proper sequence of Renderer.startPageSequence() calls and Renderer.renderPage() calls. Otherwise, the pageSequence elements are not properly placed in the intermediate format. Doesn't really affect the other renderers because they don't really care. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381080 13f79535-47bb-0310-9956-ffa450edef68
* Linefeed treatment and white space collapse are not performed onSimon Pepping2006-02-252-1/+61
| | | | | | | fo:title. A test case to document this. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380918 13f79535-47bb-0310-9956-ffa450edef68
* InlineLM properly creates an AligmentContext for Title.Simon Pepping2006-02-256-15/+67
| | | | | | | Add 2006 to the copyright lines of my previous commit. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380917 13f79535-47bb-0310-9956-ffa450edef68
* block_break-after_2 seems to work. Don't know who/what fixed this. Does anybody?Jeremias Maerki2006-02-241-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380658 13f79535-47bb-0310-9956-ffa450edef68
* Avoid a NullPointerException when fo:title is empty.Simon Pepping2006-02-245-10/+89
| | | | | | | Let PSLM and ContentLM create LMs via LayoutManagerMaker. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380646 13f79535-47bb-0310-9956-ffa450edef68
* You can specify an object file in a jar file as follows:Simon Pepping2006-02-242-115/+138
| | | | | | | /path/to/fop-hyph.jar:hyph/xx.hyp. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380644 13f79535-47bb-0310-9956-ffa450edef68
* Changed the way the URL stream is opened. Use URLConnection now. Jeremias Maerki2006-02-231-2/+49
| | | | | | | Added an empty protected method that can be overridden to set parameters like HTTP Basic Authentication on the URLConnection. Convenience method added for handling HTTP Basic Authentication. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380092 13f79535-47bb-0310-9956-ffa450edef68
* Tell about the offending font if it's not embedded and PDF/A is active.Jeremias Maerki2006-02-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@380091 13f79535-47bb-0310-9956-ffa450edef68
* Added a convenience URIResolver that uses the ServletContext in a servlet to ↵Jeremias Maerki2006-02-223-4/+119
| | | | | | | | | access resources packed into a web application. The URIResolver listens to the "servlet-context:" protocol. Integrated the new URIResolver into out two servlets at all levels (TransformerFactory, Transformer and FOP). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@379810 13f79535-47bb-0310-9956-ffa450edef68