aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
* Add startsWithForcedBreak() utility method to ElementListUtils.Andreas L. Delmelle2009-03-223-29/+37
| | | | | | | Avoid generating "in-between" penalties if the content list that will be appended already starts with a forced break. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757241 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 46489: Andreas L. Delmelle2009-03-221-7/+7
| | | | | | | Issue when combining page-position="last" with a block with break-before as a descendant of a table. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757239 13f79535-47bb-0310-9956-ffa450edef68
* Added a command-line tool to list all configured fonts ↵Jeremias Maerki2009-03-225-0/+865
| | | | | | (org.apache.fop.tools.fontlist.FontListMain). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757172 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: 46867: afp:invoke-medium-map extension not working in the AFP RendererChris Bowditch2009-03-211-6/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756894 13f79535-47bb-0310-9956-ffa450edef68
* Moved the font cache change check from outside PrintRendererConfigurator to ↵Adrian Cumiskey2009-03-202-6/+6
| | | | | | inside the FontInfoConfigurator. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756583 13f79535-47bb-0310-9956-ffa450edef68
* Minor optimization.Adrian Cumiskey2009-03-201-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756533 13f79535-47bb-0310-9956-ffa450edef68
* A little font configuration cleaning.Adrian Cumiskey2009-03-208-407/+630
| | | | | | | | | | * Extracted business logic from PrintRendererConfigurator and created a new FontDetector and FontAdder in org.apache.fop.fonts package. * Created a new FontInfoConfigurator that factors out a lot of the static stuff in PrintRendererConfigurator. * PDFDocumentGraphics2DConfigurator now uses a new FontInfoConfigurator() instead of static PrintRendererConfigurator.buildFontListFromConfiguration() call. * static method updateReferencedFonts() in PrintRendererConfigurator moved to an instance method in FontManager. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756522 13f79535-47bb-0310-9956-ffa450edef68
* Added some generics comments for the List collections.Adrian Cumiskey2009-03-202-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756471 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: IFSerializer's mimicking feature didn't work properly. The wrong ↵Jeremias Maerki2009-03-193-4/+24
| | | | | | configuration got selected. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@755894 13f79535-47bb-0310-9956-ffa450edef68
* Minor spelling corrections.Adrian Cumiskey2009-03-181-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@755647 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 46828: Activation of the possibility to use CachedRenderPagesModel ↵Andreas L. Delmelle2009-03-137-21/+59
| | | | | | | | | | to conserve memory in case of large documents with a lot of cross-references. (area tree will be serialized to disk to avoid keeping it entirely in memory) Thanks to Dario Laeria for submitting and testing. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@753327 13f79535-47bb-0310-9956-ffa450edef68
* Restored ability to specify any URI base URI (URL), not just file URLs. For ↵Jeremias Maerki2009-03-101-12/+27
| | | | | | | | file URLs and file paths there's still a check whether the directory exists. Enabled FontBaseBadTestCase. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752153 13f79535-47bb-0310-9956-ffa450edef68
* Added full URI resolution support for AFP fonts.Jeremias Maerki2009-03-109-121/+163
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752133 13f79535-47bb-0310-9956-ffa450edef68
* AreaTreeParser redirecting image loading exceptions to event subsystem.Jeremias Maerki2009-03-101-2/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752010 13f79535-47bb-0310-9956-ffa450edef68
* Restored compatibility with Java VMs that don't support nio Charsets for ↵Jeremias Maerki2009-03-091-10/+34
| | | | | | codepages such as Cp500 (EBCDIC). The simplifications for the fallback case may look wrong but the code basically represents the state before revision 746664 which introduced this problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@751613 13f79535-47bb-0310-9956-ffa450edef68
* Deleted to much during last change.Jeremias Maerki2009-03-021-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749303 13f79535-47bb-0310-9956-ffa450edef68
* EventProducer update didn't get adjusted when AFPEventProducer was moved.Jeremias Maerki2009-03-021-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749272 13f79535-47bb-0310-9956-ffa450edef68
* AFP Output: Tag Logical Element (TLE) is now also allowed on ↵Jeremias Maerki2009-03-024-20/+42
| | | | | | fo:page-sequence (page group level). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749258 13f79535-47bb-0310-9956-ffa450edef68
* AFP: Backported IMM (Invoke Medium Map) to AFPRenderer.Jeremias Maerki2009-03-021-2/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749251 13f79535-47bb-0310-9956-ffa450edef68
* Fixed BPD trait and border painting for leaders with leader-pattern="space" ↵Jeremias Maerki2009-03-013-8/+7
| | | | | | (and similar cases). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749012 13f79535-47bb-0310-9956-ffa450edef68
* Added support for adding extension elements and foreign attributes on ↵Jeremias Maerki2009-03-0121-216/+324
| | | | | | | | | | fo:page-sequence. AFP: Added support for Invoke Medium Map (IMM). AFP: Fixed a bug adding TLEs in DataStream (TLEs were added to the page group instead of to the page). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@748981 13f79535-47bb-0310-9956-ffa450edef68
* Removed unnecessary setContext methodVincent Hennebert2009-02-251-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@747741 13f79535-47bb-0310-9956-ffa450edef68
* Clarified error message if base is not an existing directorySimon Pepping2009-02-231-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@747126 13f79535-47bb-0310-9956-ffa450edef68
* Tied RendererFactory.setRendererPreferred(boolean) setting into the FOP ↵Jeremias Maerki2009-02-231-0/+12
| | | | | | configuration (incl. documentation). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@747015 13f79535-47bb-0310-9956-ffa450edef68
* ";mode=painter" MIME suffix removed from all new IFDocumentHandler ↵Jeremias Maerki2009-02-236-27/+74
| | | | | | | | | implementations. Changed RendererFactory to prefer IFDocumentHandler over Renderer if available. A setting on RendererFactory allows to to prefer Renderer over IFDocumentHandler if necessary for compatibility. (not yet tied into CLI or configuration) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@747010 13f79535-47bb-0310-9956-ffa450edef68
* Merged feature branch ↵Jeremias Maerki2009-02-22214-3062/+21484
|\ | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign (603620-746655) into Trunk. This adds a new intermediate format to FOP. Please see the documentation for details. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@746664 13f79535-47bb-0310-9956-ffa450edef68
| * Merge from Trunk revisions 741104 - 744926.Jeremias Maerki2009-02-1613-120/+231
| |\ | |/ |/| | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744946 13f79535-47bb-0310-9956-ffa450edef68
* | Now using the "font" filter list entry for font streams.Jeremias Maerki2009-02-166-20/+75
| | | | | | | | | | | | | | Made T1 and TTF streams children of a commons base class. Refactored default filter addition a bit. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@744851 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed IllegalArgumentException (no object number assigned) for this makeLink ↵Jeremias Maerki2009-02-151-1/+1
| | | | | | | | | | | | method. It makes no sense to add this to the trailer objects AFAICS. This particular method is only used by PDFGraphics2D's makeLink() method (SVG's #svgView(viewBox()) functionality). The positioning of the viewbox is still wrong, though. It must have been broken at some point. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@744690 13f79535-47bb-0310-9956-ffa450edef68
* | 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
* | 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
| * Fixed copy/paste mistakes.Jeremias Maerki2009-02-168-37/+22
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744874 13f79535-47bb-0310-9956-ffa450edef68
| * Added an additional font fallback to PrintRenderer to avoid some problems ↵Jeremias Maerki2009-02-161-2/+9
| | | | | | | | | | | | when processing an intermediate file generated for a different output format than the current one. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744856 13f79535-47bb-0310-9956-ffa450edef68
| * Bugfix: Need to copy attributes. Xalan XSLTC reuses the Attributes instance ↵Jeremias Maerki2009-02-111-1/+2
| | | | | | | | | | | | (and modifies it freely). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@743492 13f79535-47bb-0310-9956-ffa450edef68
| * Avoid NPE if "rendering" setting isn't given.Jeremias Maerki2009-02-111-6/+8
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@743352 13f79535-47bb-0310-9956-ffa450edef68
| * Added missing default font setup.Jeremias Maerki2009-02-111-0/+8
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@743351 13f79535-47bb-0310-9956-ffa450edef68
| * Moved area tree example to package embedding/atxml.Jeremias Maerki2009-02-0618-224/+487
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Created a new concatenation example for the new IF in package embedding/intermediate. Exchanged IFRendererMaker with IFSerializerMaker. Removed unused method getConfigurator() from document handler makers. Extracting original nested IFException in IFParser's parse() method. Removed obsolete IFSerializerConfiguration. Now covered by PrintRendererConfigurator. Delegating FontInfo setter calls to mimic handlers in IFSerializer. Fixed a bug in RendererFactory for the case when FOUserAgent.setDocumentHandlerOverride() is used. Added a generic IFDocumentHandler proxy class (IFDocumentHandlerProxy). Added a simple IFConcatenator helper class for simple IF concatenations (experimental). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741576 13f79535-47bb-0310-9956-ffa450edef68
| * Bugfix for path handling when spaces are in the path.Jeremias Maerki2009-02-051-1/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741166 13f79535-47bb-0310-9956-ffa450edef68
| * Performance improvements and file-size reductions by introducing ↵Jeremias Maerki2009-02-0527-169/+834
| | | | | | | | | | | | | | | | | | letter-spacing and word-spacing attributes in new IF (as mentioned on fop-dev). Allow to control whether kerning information is loaded from fonts. Started support for AFP font embedding (incomplete and currently disabled) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741165 13f79535-47bb-0310-9956-ffa450edef68
| * Merge from Trunk revisions 740276 - 741103.Jeremias Maerki2009-02-0512-77/+288
| |\ | |/ |/| | | | | | | Hooked in the new AFP resource level defaults into the IF-size of the image handlers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741120 13f79535-47bb-0310-9956-ffa450edef68
* | AFP Output: Added a configuration option to override the resource level ↵Jeremias Maerki2009-02-0510-98/+289
| | | | | | | | | | | | 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
| * Merge from Trunk revisions 735029 - 740275.Jeremias Maerki2009-02-0335-211/+696
| |\ | |/ |/| | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@740340 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
* | 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