aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Typo.Jeremias Maerki2009-04-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766645 13f79535-47bb-0310-9956-ffa450edef68
* Disabled auto-fonts in the PS transcoders by default because of ↵Jeremias Maerki2009-04-202-1/+18
| | | | | | OutOfMemoryErrors. Details in code comments. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766644 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47031:Jeremias Maerki2009-04-201-1/+6
| | | | | | | | PDFGraphics2D.writeClip doesn't generate a clip command anymore when the clip path is empty. Submitted by: Francois Fernandes <f.fernandes.at.web.de> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766596 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47000:Jeremias Maerki2009-04-2019-989/+1346
| | | | | | Added a custom text painter for rendering SVG text using text operators when rendering to PostScript or EPS. Text is no longer painted as shapes, thus creating much smaller files. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766594 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 47027: Correction for interpretation of pixel-lengths, as suggested ↵Andreas L. Delmelle2009-04-192-7/+13
| | | | | | | | | by Jeremias. + minor changes to the fotreetest-classes: distinguish between fatal errors due to malformed testcases, and genuine assertion failures. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766492 13f79535-47bb-0310-9956-ffa450edef68
* Some cleanup:Andreas L. Delmelle2009-04-151-132/+134
| | | | | | | | | | | | | * extraction of the footnote-related loops in getNextKnuthElements() into private methods to facilitate step-over when debugging (no additional breakpoints needed to skip those loops) * merging of the private doPhase3() methods, so theoretically, it becomes possible to do column-balancing, even with a last page condition, and to eliminate a significant amount of duplicate lines of code * other minor changes, like renaming stray Hungarians, renaming some variables to make the code slightly more self-explanatory, removal of unused import, and whatnot... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@765272 13f79535-47bb-0310-9956-ffa450edef68
* Fix the behaviour of pixel-lengths: influenced by target-resolution, rather ↵Andreas L. Delmelle2009-04-122-4/+4
| | | | | | than source-resolution (which is meant for images) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@764317 13f79535-47bb-0310-9956-ffa450edef68
* Removed AbstractRenderer.getMimeType() as per Vincent's suggestion.Jeremias Maerki2009-04-033-15/+6
| | | | | | Moved getMimeType() implementation from PrintRenderer to PageableRenderer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@761596 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug that left the PrintRenderer unconfigured even if a configuration ↵Jeremias Maerki2009-04-031-0/+6
| | | | | | was specified for "application/X-fop-print". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@761554 13f79535-47bb-0310-9956-ffa450edef68
* Reverted changes from revision 757852.Adrian Cumiskey2009-03-251-40/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@758234 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to add getBackgroundColor() accessor.Adrian Cumiskey2009-03-251-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@758207 13f79535-47bb-0310-9956-ffa450edef68
* Added some accessor methods to some public member variables. I have left ↵Adrian Cumiskey2009-03-252-0/+74
| | | | | | the public member variables exposed for now as changing them to private/protected may possibly break something external to FOP. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@758204 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up unused imports.Adrian Cumiskey2009-03-241-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757874 13f79535-47bb-0310-9956-ffa450edef68
* Added some nice bean methods for pageSequenceMaster and simplePageMaster, ↵Adrian Cumiskey2009-03-241-12/+45
| | | | | | this also makes startOfNode() easier to read too. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757852 13f79535-47bb-0310-9956-ffa450edef68
* Simplified the setting of filters in the AbstractPDFStream hierarchy. ↵Vincent Hennebert2009-03-244-21/+18
| | | | | | Instead of unnecessarily re-defining the setupFilterList method, sub-classes just define a getDefaultFilterName method git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757712 13f79535-47bb-0310-9956-ffa450edef68
* Amendment to revision 755894:Jeremias Maerki2009-03-242-5/+9
| | | | | | The mimicking fix didn't work for all output formats. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757681 13f79535-47bb-0310-9956-ffa450edef68
* Set svn:eol-style property on ↵Vincent Hennebert2009-03-231-2/+1
| | | | | | | | | page-position-last_break-before_bugzilla46489.xml test case. Simplified it by removing superfluous content and references to fonts that are not available by default. Fixed small indentation issue in ElementListUtils. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757382 13f79535-47bb-0310-9956-ffa450edef68
* added extra blank line which is consistent with the other files in this ↵Chris Bowditch2009-03-231-1/+1
| | | | | | folder and makes it easier to merge these files with their counterparts in xgc git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757375 13f79535-47bb-0310-9956-ffa450edef68
* Deprecated font base url methods on user agent level in favor of the methods ↵Jeremias Maerki2009-03-232-8/+16
| | | | | | | | on the FontManager accessible via FopFactory as proposed in: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200903.mbox/%3C20090310161419.8FA8.60BA733C@jeremias-maerki.ch%3E git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757341 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #46882:Jeremias Maerki2009-03-231-14/+10
| | | | | | | Fixed the handling of CMYK colors in PDFGraphics2D. Suggested by: Yegor Kozlov <yegor.at.dinom.ru> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757338 13f79535-47bb-0310-9956-ffa450edef68
* Minor refactoring: extract code-blocks from the Region implementations into ↵Andreas L. Delmelle2009-03-226-79/+74
| | | | | | protected final method on SimplePageMaster. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757256 13f79535-47bb-0310-9956-ffa450edef68
* revert some changes... and do it right, this timeAndreas L. Delmelle2009-03-221-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757245 13f79535-47bb-0310-9956-ffa450edef68
* revert some changes, dependent on other local changes, which would cause a ↵Andreas L. Delmelle2009-03-221-4/+7
| | | | | | compile error... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757244 13f79535-47bb-0310-9956-ffa450edef68
* 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-226-0/+873
| | | | | | (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
* Updated website copyright year.Jeremias Maerki2009-03-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752161 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-1010-125/+176
| | | | 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-025-28/+52
| | | | | | 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-0123-221/+384
| | | | | | | | | | 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
* Examples for "sub-font" usage with TTCs.Jeremias Maerki2009-02-281-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@748794 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-232-0/+24
| | | | | | 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