aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-265-13/+138
| | | | | | | | 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
* InlineLM properly creates an AligmentContext for Title.Simon Pepping2006-02-254-14/+18
| | | | | | | 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
* Avoid a NullPointerException when fo:title is empty.Simon Pepping2006-02-244-10/+44
| | | | | | | 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
* 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
* More work on PDF/A-1:Jeremias Maerki2006-02-228-6/+94
| | | | | | | | | ID entry is now generated in the trailer. More conformance checks especially for fonts. PDF/A Identification Schema for XMP added. Almost finished. Only color space checking is left to do, I think. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@379798 13f79535-47bb-0310-9956-ffa450edef68
* Simplification. Missed one. Sorry.Jeremias Maerki2006-02-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@379393 13f79535-47bb-0310-9956-ffa450edef68
* SimplificationJeremias Maerki2006-02-211-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@379391 13f79535-47bb-0310-9956-ffa450edef68
* Added relevant standards as per draft on site-dev@.Jeremias Maerki2006-02-201-0/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@379226 13f79535-47bb-0310-9956-ffa450edef68
* fixed a few checkstyle warningsPeter Herweg2006-02-199-18/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378930 13f79535-47bb-0310-9956-ffa450edef68
* fixed a few checkstyle warningsPeter Herweg2006-02-1923-62/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378928 13f79535-47bb-0310-9956-ffa450edef68
* added support for borders at fo:table; fixed a few checkstyle warningsPeter Herweg2006-02-1913-31/+142
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378923 13f79535-47bb-0310-9956-ffa450edef68
* Reduced the use of categories and programming languages as requested on ↵Jeremias Maerki2006-02-191-5/+3
| | | | | | site-dev. This will likely be compensated with an additional extension schema to specify implemented specifications/standards. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378870 13f79535-47bb-0310-9956-ffa450edef68
* Tweak: modified warning to occur only for non-inherited props where the ↵Andreas L. Delmelle2006-02-181-5/+12
| | | | | | parent fo doesn't have an explicit value git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378709 13f79535-47bb-0310-9956-ffa450edef68
* Some explanations and warnings.Jeremias Maerki2006-02-172-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378564 13f79535-47bb-0310-9956-ffa450edef68
* A nit: dc:creator needs to be an ordered Text array.Jeremias Maerki2006-02-171-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378562 13f79535-47bb-0310-9956-ffa450edef68
* XMP metadata generation from the PDFInfo object now conforms to PDF/A-1 ↵Jeremias Maerki2006-02-177-12/+218
| | | | | | | | | | (6.7.3 in ISO 19005-1:2005(E)). On PDFDocument, it is now possible to set the PDF-A mode which triggers conformance checks where necessary. The first PDF/A-1b conformance checks are now in the code. When conformance problems are detected, the new PDFConformanceException (subclass of RuntimeException since this would be a programmer error) is thrown. PDF Renderer got a setting (through rendering options and XML configuration) to set the PDF/A-1 mode. Default is "disabled". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378560 13f79535-47bb-0310-9956-ffa450edef68
* userconfig attribute works now on FOP Ant task.Jeremias Maerki2006-02-172-3/+3
| | | | | | Fixed wrong destination. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378511 13f79535-47bb-0310-9956-ffa450edef68
* Added support for userconfig attribute in FOP Ant task. Jeremias Maerki2006-02-171-5/+31
| | | | | | | | | Submitted by: Jirí Mareš <Jiri.Mares.at.svt.cz> In addition to that: Now deleting the output file when an exception is encountered. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378508 13f79535-47bb-0310-9956-ffa450edef68
* DOM2SAX code replaced. Copied and adapted from Xalan-J: ↵Jeremias Maerki2006-02-173-72/+226
| | | | | | | | http://svn.apache.org/repos/asf/xalan/java/trunk/src/org/apache/xalan/xsltc/trax/DOM2SAX.java There were issues with well-formedness and namespace prefixes when an XMP fragment was serialized to XML. Now this works fine. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378503 13f79535-47bb-0310-9956-ffa450edef68
* Initial support for XMP metadata (PDF 1.4) under fo:declarations. Both ↵Jeremias Maerki2006-02-1725-219/+1558
| | | | | | | | | | | | | | | | xmpmeta and RDF elements can be used as root elements for XMP metadata. Extracted DOM2SAX functionality from XMLXMLHandler into utility class since it is now reused elsewhere. New DOMBuilderContentHandlerFactory is used to create ContentHandlers that build generic DOMs. New DelegatingContentHandler is a convenience base class modelled after XMLFilterImpl but as passive SAX receiver. It is used by DOMBuilderContentHandlerFactory. Refactored FOTreeBuilder. FO tree building is now in a special ContentHandler which can be replaced temporarily when handling foreign XML like SVG or XMP. Extension Elements wanting the set their own ContentHandlers (instead of using the standard FO tree building mechanism) return a non-null value in getContentHandlerFactory(). The old mechanism is still supported (MathML, Plan and Barcode4J still use that). However, SVG support is changed to use a ContentHandlerFactory. Extension elements for xmpmeta and RDF elements making use of the new DOM build-up using ContentHandlerFactory. XMP metadata is passed to the renderer as ExtensionAttachment to the document. Only PDFRenderer uses the XMP extension attachment at this time. The PDFRenderer automatically builds XMP metadata based on the basic metadata information in the PDFInfo object if no explicit XMP metadata has been added to the XSL-FO document. XMP metadata merging is not implemented because this would involve a more sophisticated XMP infrastructure. That also means that XMP metadata is not validated. It's passed into the PDF as is. The PDF library now provides the PDFMetadata class to embed XMP metadata in PDFs version >=1.4. stream contents use a special filter list which is initially empty, so non-PDF-aware XMP readers can extract (and optionally modify) the XMP metadata. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378482 13f79535-47bb-0310-9956-ffa450edef68
* force-page-count is already implemented: see bugzilla 38087Andreas L. Delmelle2006-02-171-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378458 13f79535-47bb-0310-9956-ffa450edef68
* Trivial update:Andreas L. Delmelle2006-02-161-6/+5
| | | | | | | | | Change the wording of a few attributeWarnings -- properties aren't ignored (possible inheritance, property value function calls...) see: http://marc.theaimsgroup.com/?l=fop-dev&m=114001378911300&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378206 13f79535-47bb-0310-9956-ffa450edef68
* Added default empty String to the border-* shorthands. Added warning for the ↵Andreas L. Delmelle2006-02-152-4/+17
| | | | | | case where inherit is used, but no value is available from the parent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378017 13f79535-47bb-0310-9956-ffa450edef68
* Added default empty String to the border shorthand. Avoids NPE mentioned in ↵Andreas L. Delmelle2006-02-151-0/+4
| | | | | | Bugzilla 38648. Still need to add a warning, since property now silently falls back to the default(s). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@378003 13f79535-47bb-0310-9956-ffa450edef68
* Added support for the background-position shorthand.Andreas L. Delmelle2006-02-143-4/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377762 13f79535-47bb-0310-9956-ffa450edef68
* RTF: length of leveltext has to be specified as two-digit hex-valuePeter Herweg2006-02-121-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377256 13f79535-47bb-0310-9956-ffa450edef68