aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
Commit message (Collapse)AuthorAgeFilesLines
* Added reminder to check later on...Andreas L. Delmelle2009-07-031-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791012 13f79535-47bb-0310-9956-ffa450edef68
* Further cleanup/readability improvementsAndreas L. Delmelle2009-07-013-56/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@790166 13f79535-47bb-0310-9956-ffa450edef68
* Some cleanups and attempts at improving code-readability and -extensibility:Andreas L. Delmelle2009-07-014-293/+521
| | | | | | | | | | | * added inner holder class to BreakingAlgorithm to contain everything related to the fitness classes. Improves readability of both the code and the trace messages. * extracted blocks of code in BreakingAlgorithm.findBreakingPoints() into protected methods. Following the already existing handleBox(), added handleGlueAt() and handlePenaltyAt() to provide extension points to subclasses. Extraction of the code-blocks related to the node-recovery mechanism. * extracted blocks of code in BreakingAlgorithm.considerLegalBreak() into protected methods: deactivateNode(), activateNode() and forceNode() * factored the functionality to obtain the index of the first box into KnuthSequence... just seemed to make sense; may be useful elsewhere. * some (but not all :() javadoc fixups * minor changes to LineLayoutManager and PageBreakingAlgorithm to take into account above changes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@790142 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: make sure CropBox is honoured in SVG when overflow="hidden"Chris Bowditch2009-06-251-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@788278 13f79535-47bb-0310-9956-ffa450edef68
* Added generics comments.Adrian Cumiskey2009-06-231-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@787668 13f79535-47bb-0310-9956-ffa450edef68
* Added generics comments.Adrian Cumiskey2009-06-231-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@787667 13f79535-47bb-0310-9956-ffa450edef68
* Extracted DummyPercentBaseContext from FOPRtfAttributes and made universally ↵Adrian Cumiskey2009-06-232-16/+49
| | | | | | available. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@787665 13f79535-47bb-0310-9956-ffa450edef68
* No code change here, just fixing the indentation of the if (useInclude) ↵Adrian Cumiskey2009-06-191-29/+28
| | | | | | block that somehow got messed up by a previous commit/merge (http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPResourceManager.java?revision=746664&view=markup). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@786453 13f79535-47bb-0310-9956-ffa450edef68
* Correct wrongly encoded characterAndreas L. Delmelle2009-06-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@784924 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: support PFM Files with no extent tableChris Bowditch2009-06-091-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@782928 13f79535-47bb-0310-9956-ffa450edef68
* AFP Output: Add support for fractional font-sizes, and make sure that, for ↵Andreas L. Delmelle2009-06-062-49/+72
| | | | | | non-registered sizes, the substitution will always map to the smaller size if there is also a larger one available git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@782289 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 46960: Previously retrieved marker not cleared when the ↵Andreas L. Delmelle2009-06-051-5/+5
| | | | | | subsequently retrieved marker was empty. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@781944 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: PCL and AFP Document Handlers for new IF were not registering all ↵Chris Bowditch2009-05-272-3/+8
| | | | | | related MIME Types git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@779046 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47232: for the last character of a Type1 font, always a width of 0 ↵Vincent Hennebert2009-05-221-1/+1
| | | | | | was returned. Patch submitted by Maxim Wirt. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@777459 13f79535-47bb-0310-9956-ffa450edef68
* Changed meaning of '-v' option to 'verbose', which will print FOP's version ↵Vincent Hennebert2009-05-141-6/+9
| | | | | | | | | | and proceed. Added a '-version' option to simply print the version then exit, following Java practices. Change made as per user demand, see thread here: http://markmail.org/thread/e7juy7wvj7ujkltx git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@774724 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47101: The cells of a table inside a marker were duplicated at ↵Vincent Hennebert2009-05-132-18/+20
| | | | | | every marker retrieval. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@774280 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: use the effective color profile supplied by the ImageEncodingHelper, ↵Vincent Hennebert2009-05-081-1/+13
| | | | | | instead of the original one. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@772943 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: allow back slashes for file URLs as they are commonly used in WindowsChris Bowditch2009-05-071-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@772672 13f79535-47bb-0310-9956-ffa450edef68
* Changes from revision 768320 introduced another bug: footnotes from later ↵Vincent Hennebert2009-05-011-14/+18
| | | | | | steps were taken into account too early git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@770635 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: reset graphic state when a page is finished in PostScript.Vincent Hennebert2009-04-302-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@770223 13f79535-47bb-0310-9956-ffa450edef68
* Added setting to enable dithered painting of filled rectangles in AFP and PCL.Vincent Hennebert2009-04-2813-77/+448
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769445 13f79535-47bb-0310-9956-ffa450edef68
* Added support for CMYK colors in PTOCAVincent Hennebert2009-04-281-13/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769437 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: take rotation into account also when resource level is not inlineVincent Hennebert2009-04-281-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769436 13f79535-47bb-0310-9956-ffa450edef68
* In the AFP stream, put the TLE fields associated to a page sequence before ↵Vincent Hennebert2009-04-243-18/+29
| | | | | | the Page elements instead of after git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@768321 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: footnotes occurring within the forced height of a table row did not ↵Vincent Hennebert2009-04-241-10/+16
| | | | | | appear on the output git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@768320 13f79535-47bb-0310-9956-ffa450edef68
* 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
* 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-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