aboutsummaryrefslogtreecommitdiffstats
path: root/src
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-111-6/+21
| | | | | | | | | | 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-091-91/+61
| | | | | | | | | | | | | 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-0511-100/+313
| | | | | | 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
* Bugzilla #46638: MinOptMaxUtil.toMinOptMax was converting ↵Vincent Hennebert2009-01-301-9/+7
| | | | | | 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-288-9/+71
| | | | | | | | | 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
* Moved MonochromeBitmapConverter from PCL to utility package for later reuse ↵Jeremias Maerki2009-01-2825-172/+605
| | | | | | | | | | | | | | | | 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-221-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@736813 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
* 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
* Give javadoc utility some more memory to avoid OutOfMemoryErrors.Jeremias Maerki2009-01-075-0/+115
| | | | | | | 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-058-31/+91
| | | | | | | | | 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-0410-17/+165
| | | | | | | | 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-022-6/+8
| | | | | | 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-161-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@726998 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46369:Chris Bowditch2008-12-109-34/+79
| | | | | | | 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-082-12/+36
| | | | | | | | | 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-077-26/+67
| | | | | | 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
* FopCharacterSet doesn't follow the same contract as its superclass. The ↵Jeremias Maerki2008-12-073-12/+9
| | | | | | metrics must not be multiplied by the font size in the FopCharacterSet class. Only RasterFont or OutlineFont should do that. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724126 13f79535-47bb-0310-9956-ffa450edef68
* Avoid replacement notification if we're only checking the presence of a ↵Jeremias Maerki2008-12-051-4/+4
| | | | | | certain font. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@723689 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Custom AFP fonts reported bad metrics.Jeremias Maerki2008-12-052-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@723683 13f79535-47bb-0310-9956-ffa450edef68
* Oops, introduced a compile error with the previous commitAndreas L. Delmelle2008-12-021-10/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722618 13f79535-47bb-0310-9956-ffa450edef68
* Minor changes; mostly code- and javadoc-aesthetics...Andreas L. Delmelle2008-12-021-220/+201
| | | | | | | | | | | Most notable: - made most member variables private (apart from objectCount, which is used by PDFFactory) - the number of fully qualified collection names warranted separate import statements - replaced a String concat with StringBuffer.append() - some javadoc nits, reduce space in single-line, add space in multi-line, added some @links ... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722613 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: there was no notification if no registered internal font can be ↵Jeremias Maerki2008-12-021-6/+13
| | | | | | found for a GVT font. Now, FontInfo will issue a substitution warning. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722496 13f79535-47bb-0310-9956-ffa450edef68
* A note on missing glyphs.Jeremias Maerki2008-12-021-1/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722474 13f79535-47bb-0310-9956-ffa450edef68
* Documented the hard-coded font triplets for the Base-14 set.Jeremias Maerki2008-12-021-0/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722466 13f79535-47bb-0310-9956-ffa450edef68
* Improved documentation concerning text and SVG.Jeremias Maerki2008-12-012-5/+32
| | | | | | Updated SVG text example with result from FOP 0.95. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722132 13f79535-47bb-0310-9956-ffa450edef68
* Reverting a change introduced by revision 721430 which breaks extensions ↵Jeremias Maerki2008-12-011-3/+4
| | | | | | causing a "NoSuchFieldError: foObjs". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@722092 13f79535-47bb-0310-9956-ffa450edef68