aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reverted revision 742766.Jeremias Maerki2009-02-112-20/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@743312 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46686:Jeremias Maerki2009-02-112-6/+25
| | | | | | | | | | Use temporary directory for the font cache if the user home directory is not write-accessible. Submitted by: Alok Singh <alok.at.jivesoftware.com> Modifications to patch by jeremias: - Bugfix: original code switched to temporary directory if the .fop directory already existed in user home. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@743273 13f79535-47bb-0310-9956-ffa450edef68
* There was a filter list constant for fonts, but our font streams didn't use it.Jeremias Maerki2009-02-092-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742766 13f79535-47bb-0310-9956-ffa450edef68
* Clarification for encoding-mode="single-byte".Jeremias Maerki2009-02-091-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742765 13f79535-47bb-0310-9956-ffa450edef68
* Added code to detect when a Type 1 font is not configured to use its native ↵Jeremias Maerki2009-02-093-0/+27
| | | | | | encoding. In such a case it needs to be re-encoded in PostScript. That used to always happen in earlier FOP versions but since support was added for all glyphs in a font, this has become a problem. So this change restores the behaviour of before when XML font metrics files or just the PFM are used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742620 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45342:Jeremias Maerki2009-02-092-91/+65
| | | | | | | | | | | | | AFP Fonts: Fixed interpretation of metric for fonts with fixed metrics and made sure all repeating groups in FNP (Font Position) are processed. Submitted by: Emil Maskovsky <styryx.at.seznam.cz> Modifications to patch by jeremias: - Style changes (tabs, variable names, javadocs) - Fixed handling of spaces in URLs (as in IF branch) - Modified the way the metrics are calculated (Emil's solution didn't produce the values required by FOP) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742564 13f79535-47bb-0310-9956-ffa450edef68
* Added a flush() call in the resource handler to make sure unwritten content ↵Jeremias Maerki2009-02-091-0/+1
| | | | | | is flushed (not a bugfix but a precaution for an experiment I've done). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742348 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: restored support for characters not in a font's standard encoding ↵Jeremias Maerki2009-02-092-3/+48
| | | | | | when PostScript is generated with resource optimization turned off. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742346 13f79535-47bb-0310-9956-ffa450edef68
* AFP Output: Added a configuration option to override the resource level ↵Jeremias Maerki2009-02-0512-100/+317
| | | | | | defaults in the code. The chosen defaults in code may not always be the best. For example, a user reported that they can't use print-level images for some reason and it is not possible to switch on inlining for background images. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@741068 13f79535-47bb-0310-9956-ffa450edef68
* AFP: A note about deployment in older environments.Jeremias Maerki2009-02-041-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@740719 13f79535-47bb-0310-9956-ffa450edef68
* Reverted revisions 740669 and 740673. Problem was not there but caused by ↵Jeremias Maerki2009-02-041-2/+0
| | | | | | the particular Xalan-J version in use. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@740688 13f79535-47bb-0310-9956-ffa450edef68
* Uhm, one should actually do something with the return value.Jeremias Maerki2009-02-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@740673 13f79535-47bb-0310-9956-ffa450edef68
* Trying to work around a problem with Java 1.4 when spaces are in Ant's ↵Jeremias Maerki2009-02-041-0/+1
| | | | | | basedir property as happened on my local Hudson instance because I had spaces in the Hudson job name. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@740669 13f79535-47bb-0310-9956-ffa450edef68
* Fixed classpath problem concerning XMLUnit.Jeremias Maerki2009-02-041-3/+5
| | | | | | | Split JUnits targets into a reduced set (without layout engine tests) and a full set. Reactivated "gump" target and assigning it the reduced set. I want to see if Gump can do a bit more of our test suite without failing. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@740665 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46638: MinOptMaxUtil.toMinOptMax was converting ↵Vincent Hennebert2009-01-302-9/+11
| | | | | | LengthRangeProperty objects into illegal MinOptMax objects (in some cases opt could be inferior to min). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@739376 13f79535-47bb-0310-9956-ffa450edef68
* Front page still mentions the beta.Jeremias Maerki2009-01-291-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738774 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46315: extension to disable column balancing before blocks ↵Vincent Hennebert2009-01-2810-9/+306
| | | | | | | | | spanning the whole page, in multiple-column documents. Patch submitted by Georg Datterl, applied with some modifications (mainly Checkstyle issues) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738514 13f79535-47bb-0310-9956-ffa450edef68
* Disabled the PDF dump by default.Jeremias Maerki2009-01-281-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738482 13f79535-47bb-0310-9956-ffa450edef68
* Updated dependency list.Jeremias Maerki2009-01-284-6/+92
| | | | | | Added XMLUnit 1.2 as we've already got many other build-only third-parties in lib/build and adding XMLUnit makes FOP easier to set up in an IDE. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738478 13f79535-47bb-0310-9956-ffa450edef68
* Grr, forgot the command-line compile again. Fixed the build after the move ↵Jeremias Maerki2009-01-281-2/+1
| | | | | | of a JAI-dependent class. Thanks, Gump. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738472 13f79535-47bb-0310-9956-ffa450edef68
* Moved MonochromeBitmapConverter from PCL to utility package for later reuse ↵Jeremias Maerki2009-01-2826-172/+610
| | | | | | | | | | | | | | | | in AFP. Moved BitmapImageUtil to a subpackage under util. Added support for creating (hard) page segments for images when working in bi-level mode. Include Image Object (IOB) is a newer feature and not supported everywhere. Since page segments cannot be scaled, they have to be generated for each distinctive target size. Bugfix: Reduced maximum chunk sizes for GraphicsData and ImageObject to conform to interchange set 1. Bugfix: Removed PresentationSpaceResetMixingTriplet which is not allowed in interchange set 1. Bugfix: Removed invalid byte in IDE Structure Parameter. Added support for creating FS10 images for bi-level bitmaps for better interoperability. Disabled optional and unnecessary name in ImageSegment. This name is never referenced. Refactored environment groups a bit to avoid duplicate data structures due to subclassing. Added explicit MappingOptionTriplet for image scaling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738453 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 46567: fo:marker in fo:table-row produced a ValidationExceptionAndreas L. Delmelle2009-01-222-1/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@736813 13f79535-47bb-0310-9956-ffa450edef68
* Removed MathML example as per discussion on fop-dev mailing listMaximilian Berger2009-01-2114-1016/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@736295 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a small omission on the compliance page.Jeremias Maerki2009-01-182-2/+36
| | | | | | Added a dummy locationmap.xml to remove some errors in the Forrest log. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@735453 13f79535-47bb-0310-9956-ffa450edef68
* Removed duplicate entry introduced by revision 721430.Jeremias Maerki2009-01-181-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@735451 13f79535-47bb-0310-9956-ffa450edef68
* A bit of housekeeping:Jeremias Maerki2009-01-181-9/+6
| | | | | | | | | | - one site is infected with a Trojan horse - Assentis no longer supports FOP - removed dead links - added xmlroff to complete the list of open source implementations - PDFBox has migrated git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@735448 13f79535-47bb-0310-9956-ffa450edef68
* Removed duplicated extension attachment list on PageViewport (which is an ↵Jeremias Maerki2009-01-162-39/+35
| | | | | | AreaTreeObject subclass and therefore already has that list). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@735026 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Weave included page segments into the object sequence instead of ↵Jeremias Maerki2009-01-163-18/+1
| | | | | | inserting them at the beginning. Otherwise they can be overpainted by marks that would otherwise lay under the page segment. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@735025 13f79535-47bb-0310-9956-ffa450edef68
* Added in support for subtractive mode in 1-bit images. This should further ↵Jeremias Maerki2009-01-156-8/+77
| | | | | | | | reduce AFP file sizes for certain images. We need to change the way the AFP library works in the long term. Adding one boolean flag causes changes in 5 different classes. That can't be it. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@734754 13f79535-47bb-0310-9956-ffa450edef68
* Extracted some bitmap handling functions from the PCL implementation into ↵Jeremias Maerki2009-01-153-56/+253
| | | | | | | | | | | new BitmapImageUtil class. Added limited support for more efficient image encoding in AFP. Where possible the raw image data from the RenderedImage is used. Limitations include: - missing support for color lookup tables (IndexColorModel) - monochrome images: additive/subtractive flag is not supported by the AFP library, yet. Images with fewer bits per pixel than specified in the configuration are no longer blown up to 4, 8 or even 24 bits. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@734737 13f79535-47bb-0310-9956-ffa450edef68
* The "upgrading" page for Trunk needed a bit of attention.Jeremias Maerki2009-01-091-12/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@733034 13f79535-47bb-0310-9956-ffa450edef68
* Better class description.Jeremias Maerki2009-01-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@733024 13f79535-47bb-0310-9956-ffa450edef68
* Added missing license header.Jeremias Maerki2009-01-091-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@733021 13f79535-47bb-0310-9956-ffa450edef68
* Removed code that doesn't have any effect.Jeremias Maerki2009-01-081-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732631 13f79535-47bb-0310-9956-ffa450edef68
* Added a note explaining things that we should look out for.Jeremias Maerki2009-01-071-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732376 13f79535-47bb-0310-9956-ffa450edef68
* Fixed typoVincent Hennebert2009-01-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732299 13f79535-47bb-0310-9956-ffa450edef68
* Happy new year.Jeremias Maerki2009-01-072-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732278 13f79535-47bb-0310-9956-ffa450edef68
* Give javadoc utility some more memory to avoid OutOfMemoryErrors.Jeremias Maerki2009-01-076-5/+135
| | | | | | | Some additional package description and better package grouping. Handle @event.severity tag. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732274 13f79535-47bb-0310-9956-ffa450edef68
* FOP now creates ToUnicode CMaps for single-byte fonts that don't use ↵Jeremias Maerki2009-01-059-31/+95
| | | | | | | | | built-in encodings to help PDF text extractors interpreting characters. PDF CMaps now support single-byte characters. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@731479 13f79535-47bb-0310-9956-ffa450edef68
* Added support for forcing single-byte encodings for TrueType fonts without ↵Jeremias Maerki2009-01-0411-17/+169
| | | | | | | | creating an XML font metric file (see "encoding-mode" attribute on "font" element in updated documentation). See also Acrobat PDF merge performance problem on fop-users: http://markmail.org/message/dbbaaht4qshhqs3v git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@731248 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45306:Jeremias Maerki2009-01-024-11/+11
| | | | | | Fixed fo:instream-foreign-object inside fo:marker. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@730764 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45938: Jeremias Maerki2009-01-021-3/+18
| | | | | | Background image problems are now reported using events. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@730756 13f79535-47bb-0310-9956-ffa450edef68
* Fixed painting bug introduced by rev 721430 (originally rev 672291 in AFP ↵Jeremias Maerki2008-12-191-5/+8
| | | | | | GOCA branch). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@728025 13f79535-47bb-0310-9956-ffa450edef68
* Fixed black backgrounds occurring for transparent images in PCL output.Jeremias Maerki2008-12-162-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@726998 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46369:Chris Bowditch2008-12-1010-34/+82
| | | | | | | Restored support for AFP Extensions (TLE, NOP, Overlays and Page Segments) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@725308 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 46319:Andreas L. Delmelle2008-12-083-12/+41
| | | | | | | | | Fixed a memory-leak in Marker.MarkerAttribute, where an instance was used as both key and value in a WeakHashMap, effectively neutralizing the benefit of using WeakReferences. Solved by extending PropertyCache to work for MarkerAttributes as well. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724444 13f79535-47bb-0310-9956-ffa450edef68
* Batik's DOMUtilities.deepCloneDocument() doesn't propagate the document URI ↵Jeremias Maerki2008-12-087-12/+30
| | | | | | which makes relative image URIs fail. Fixes one of our unit tests. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724310 13f79535-47bb-0310-9956-ffa450edef68
* Reverted accidental commit of unfinished change. Sorry about that.Jeremias Maerki2008-12-081-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724271 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46360:Jeremias Maerki2008-12-071-1/+2
| | | | | | Fixed a multi-threading issue when rendering SVG. (Missed one) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724164 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46360:Jeremias Maerki2008-12-078-26/+70
| | | | | | Fixed a multi-threading issue when rendering SVG. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724163 13f79535-47bb-0310-9956-ffa450edef68