]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
15 years agoImplemented reset() on ListItemLayoutManager
Vincent Hennebert [Mon, 27 Jul 2009 15:48:05 +0000 (15:48 +0000)]
Implemented reset() on ListItemLayoutManager

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@798194 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBugfix: make hyphenated paragraphs work with changing IPD
Vincent Hennebert [Mon, 27 Jul 2009 15:37:07 +0000 (15:37 +0000)]
Bugfix: make hyphenated paragraphs work with changing IPD

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@798191 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBlocked revision 796809 from Trunk (corresponds to changes made in this branch and...
Vincent Hennebert [Wed, 22 Jul 2009 17:51:02 +0000 (17:51 +0000)]
Blocked revision 796809 from Trunk (corresponds to changes made in this branch and merged back to the Trunk)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@796812 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMerged clean-up-only changes made in the ChangingIPDHack branch. Those correspond...
Vincent Hennebert [Wed, 22 Jul 2009 17:43:38 +0000 (17:43 +0000)]
Merged clean-up-only changes made in the ChangingIPDHack branch. Those correspond to the following revision numbers:
785291
785632
787733
787769
788371
793645

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@796809 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMerged changes from Trunk
Vincent Hennebert [Wed, 22 Jul 2009 15:48:16 +0000 (15:48 +0000)]
Merged changes from Trunk

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@796775 13f79535-47bb-0310-9956-ffa450edef68

15 years agoHacked support for changing IPD in block-container. Only normally positioned block...
Vincent Hennebert [Wed, 22 Jul 2009 11:20:24 +0000 (11:20 +0000)]
Hacked support for changing IPD in block-container. Only normally positioned block-containers with automatic height have been tested.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@796670 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBugfix: make sure all of the children elements are re-laid out after an IPD change
Vincent Hennebert [Wed, 22 Jul 2009 11:12:15 +0000 (11:12 +0000)]
Bugfix: make sure all of the children elements are re-laid out after an IPD change
Removed cast into BlockLM now that the special getNextKnuthElements has been defined in LayoutManager

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@796666 13f79535-47bb-0310-9956-ffa450edef68

15 years agoImproved test description
Vincent Hennebert [Tue, 21 Jul 2009 18:00:21 +0000 (18:00 +0000)]
Improved test description

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@796419 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMoved the IPD-change-related getNextKnuthElements method to the LayoutManager interface.
Vincent Hennebert [Tue, 21 Jul 2009 15:31:56 +0000 (15:31 +0000)]
Moved the IPD-change-related getNextKnuthElements method to the LayoutManager interface.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@796350 13f79535-47bb-0310-9956-ffa450edef68

15 years agoIf the last node can be put on the page before the IPD changes, no need to trigger...
Vincent Hennebert [Tue, 21 Jul 2009 15:09:15 +0000 (15:09 +0000)]
If the last node can be put on the page before the IPD changes, no need to trigger the special handling.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@796335 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded fall back handling of layout managers that don't support IPD change (lists...
Vincent Hennebert [Tue, 21 Jul 2009 12:01:20 +0000 (12:01 +0000)]
Added fall back handling of layout managers that don't support IPD change (lists and tables, mainly). Their elements are simply added at the start of the new element list, so not taking the new IPD into account. This will lead to overflowing content (without notice) if there is a change from a wider page to a narrower one, and blank space at the right of the page in the opposite situation. Border- and space-before will be handled as if the element were starting on the new page (i.e., border will appear even if its conditionality has been set to "discard").
Element generation will be re-done starting from the first layout manager that is not enclosed by a non-restartable LM. Its space-before will be treated as if it were starting the page (i.e., ignored if .conditionality is not set to "retain").

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@796267 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded support for a change of IPD between two paragraphs (blocks)
Vincent Hennebert [Fri, 17 Jul 2009 16:21:23 +0000 (16:21 +0000)]
Added support for a change of IPD between two paragraphs (blocks)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@795131 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRestored vertical justification of content on page before ipd change.
Vincent Hennebert [Mon, 13 Jul 2009 18:24:12 +0000 (18:24 +0000)]
Restored vertical justification of content on page before ipd change.
Restored support for spaces on pages following the ipd change.
Added basic tests for borders.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@793648 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemoved unnecessary initializations of fields to values that already are the types...
Vincent Hennebert [Mon, 13 Jul 2009 18:15:57 +0000 (18:15 +0000)]
Removed unnecessary initializations of fields to values that already are the types' defaults

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@793645 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBugzilla 47508: Fix error while writing TLE's attribute qualifier in the output....
Andreas L. Delmelle [Fri, 10 Jul 2009 19:57:52 +0000 (19:57 +0000)]
Bugzilla 47508: Fix error while writing TLE's attribute qualifier in the output. Thanks to Bharat Attaluri.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@793095 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBugfix: support justified text in AFP Renderer (already working in AFP Painter)
Chris Bowditch [Fri, 10 Jul 2009 10:32:23 +0000 (10:32 +0000)]
Bugfix: support justified text in AFP Renderer (already working in AFP Painter)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792873 13f79535-47bb-0310-9956-ffa450edef68

15 years agoModified XG Commons JAR to include bugfix in AbstractImageSessionContext.toFile(...
Andreas L. Delmelle [Fri, 10 Jul 2009 09:08:34 +0000 (09:08 +0000)]
Modified XG Commons JAR to include bugfix in AbstractImageSessionContext.toFile() (see http://svn.apache.org/viewvc?view=rev&revision=792415)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792846 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUndid change related to column-keeps
Andreas L. Delmelle [Thu, 9 Jul 2009 06:33:32 +0000 (06:33 +0000)]
Undid change related to column-keeps

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792411 13f79535-47bb-0310-9956-ffa450edef68

15 years agoChanged explicit check to assert
Andreas L. Delmelle [Thu, 9 Jul 2009 06:32:24 +0000 (06:32 +0000)]
Changed explicit check to assert

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792410 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFixed minor code indentation issues
Vincent Hennebert [Tue, 7 Jul 2009 16:13:16 +0000 (16:13 +0000)]
Fixed minor code indentation issues

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791894 13f79535-47bb-0310-9956-ffa450edef68

15 years agobug fix: fractional points sizes in AFP not working correctly together with fo:inline
Chris Bowditch [Tue, 7 Jul 2009 10:21:07 +0000 (10:21 +0000)]
bug fix: fractional points sizes in AFP not working correctly together with fo:inline

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791781 13f79535-47bb-0310-9956-ffa450edef68

15 years agoUndid change related to column-keeps
Andreas L. Delmelle [Sat, 4 Jul 2009 17:04:35 +0000 (17:04 +0000)]
Undid change related to column-keeps

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791155 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFurther cleanup/readability improvements
Andreas L. Delmelle [Sat, 4 Jul 2009 17:00:05 +0000 (17:00 +0000)]
Further cleanup/readability improvements

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791153 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded reminder to check later on...
Andreas L. Delmelle [Fri, 3 Jul 2009 20:44:45 +0000 (20:44 +0000)]
Added reminder to check later on...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791012 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFurther cleanup/readability improvements
Andreas L. Delmelle [Wed, 1 Jul 2009 13:52:20 +0000 (13:52 +0000)]
Further cleanup/readability improvements

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@790166 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSome cleanups and attempts at improving code-readability and -extensibility:
Andreas L. Delmelle [Wed, 1 Jul 2009 12:36:17 +0000 (12:36 +0000)]
Some cleanups and attempts at improving code-readability and -extensibility:
* 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

15 years agoFirst very rough implementation of Changing IPD. It works only with (possibly nested...
Vincent Hennebert [Fri, 26 Jun 2009 17:10:26 +0000 (17:10 +0000)]
First very rough implementation of Changing IPD. It works only with (possibly nested) fo:block elements containing pure text. Doesn't work if the page break occurs /between/ two fo:block. There's a problem with elastic spaces that get lost after the ipd change. There is duplicated code especially in BlockStackingLayoutManager. Plus probably plenty of other issues...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@788768 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSimplified the getNextKnuthElements methods a bit
Vincent Hennebert [Thu, 25 Jun 2009 14:52:48 +0000 (14:52 +0000)]
Simplified the getNextKnuthElements methods a bit

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@788371 13f79535-47bb-0310-9956-ffa450edef68

15 years agobug fix: make sure CropBox is honoured in SVG when overflow="hidden"
Chris Bowditch [Thu, 25 Jun 2009 07:30:08 +0000 (07:30 +0000)]
bug fix: make sure CropBox is honoured in SVG when overflow="hidden"

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@788278 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAs requested by Lukas Theussl - added a project link to the Maven Doxia FO module.
Adrian Cumiskey [Wed, 24 Jun 2009 09:50:27 +0000 (09:50 +0000)]
As requested by Lukas Theussl - added a project link to the Maven Doxia FO module.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@787962 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemoved from LayoutContext the stackLimitIP member, that is of no use. refIPD can...
Vincent Hennebert [Tue, 23 Jun 2009 18:02:40 +0000 (18:02 +0000)]
Removed from LayoutContext the stackLimitIP member, that is of no use. refIPD can be used instead.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@787769 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCode clean-up
Vincent Hennebert [Tue, 23 Jun 2009 15:50:15 +0000 (15:50 +0000)]
Code clean-up

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@787733 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded generics comments.
Adrian Cumiskey [Tue, 23 Jun 2009 13:18:44 +0000 (13:18 +0000)]
Added generics comments.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@787668 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded generics comments.
Adrian Cumiskey [Tue, 23 Jun 2009 13:17:20 +0000 (13:17 +0000)]
Added generics comments.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@787667 13f79535-47bb-0310-9956-ffa450edef68

15 years agoExtracted DummyPercentBaseContext from FOPRtfAttributes and made universally available.
Adrian Cumiskey [Tue, 23 Jun 2009 13:12:46 +0000 (13:12 +0000)]
Extracted DummyPercentBaseContext from FOPRtfAttributes and made universally available.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@787665 13f79535-47bb-0310-9956-ffa450edef68

15 years agoNo code change here, just fixing the indentation of the if (useInclude) block that...
Adrian Cumiskey [Fri, 19 Jun 2009 11:04:13 +0000 (11:04 +0000)]
No code change here, just fixing the indentation of the if (useInclude) 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

15 years agocheckstyle-4.0.xml is not an executable file
Vincent Hennebert [Fri, 19 Jun 2009 10:44:41 +0000 (10:44 +0000)]
checkstyle-4.0.xml is not an executable file

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@786445 13f79535-47bb-0310-9956-ffa450edef68

15 years agoSome code clean-up and simplification
Vincent Hennebert [Wed, 17 Jun 2009 14:45:07 +0000 (14:45 +0000)]
Some code clean-up and simplification

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@785632 13f79535-47bb-0310-9956-ffa450edef68

15 years agoRemoved dead code
Vincent Hennebert [Tue, 16 Jun 2009 16:59:37 +0000 (16:59 +0000)]
Removed dead code

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@785291 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCorrect wrongly encoded character
Andreas L. Delmelle [Mon, 15 Jun 2009 19:17:17 +0000 (19:17 +0000)]
Correct wrongly encoded character

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@784924 13f79535-47bb-0310-9956-ffa450edef68

15 years agoCreated a new temporary branch for investigating the implementation of a quick hack...
Vincent Hennebert [Mon, 15 Jun 2009 11:11:43 +0000 (11:11 +0000)]
Created a new temporary branch for investigating the implementation of a quick hack that handle Changing IPD

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ChangingIPDHack@784730 13f79535-47bb-0310-9956-ffa450edef68

15 years agoinclude latest bug fixes to xg common in FOP trunk
Chris Bowditch [Fri, 12 Jun 2009 13:00:27 +0000 (13:00 +0000)]
include latest bug fixes to xg common in FOP trunk

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@784104 13f79535-47bb-0310-9956-ffa450edef68

15 years agoForgot to commit with r782289...
Andreas L. Delmelle [Thu, 11 Jun 2009 16:37:51 +0000 (16:37 +0000)]
Forgot to commit with r782289...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@783838 13f79535-47bb-0310-9956-ffa450edef68

15 years agoNit-pick: there is a 'Fonts' context for changes to the font sub-system
Vincent Hennebert [Wed, 10 Jun 2009 09:28:16 +0000 (09:28 +0000)]
Nit-pick: there is a 'Fonts' context for changes to the font sub-system

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@783271 13f79535-47bb-0310-9956-ffa450edef68

15 years agobug fix: support PFM Files with no extent table
Chris Bowditch [Tue, 9 Jun 2009 09:29:32 +0000 (09:29 +0000)]
bug fix: support PFM Files with no extent table

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@782928 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAFP Output: Add support for fractional font-sizes, and make sure that, for non-regist...
Andreas L. Delmelle [Sat, 6 Jun 2009 17:59:00 +0000 (17:59 +0000)]
AFP Output: Add support for fractional font-sizes, and make sure that, for 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

15 years agoBugzilla 46960: Previously retrieved marker not cleared when the subsequently retriev...
Andreas L. Delmelle [Fri, 5 Jun 2009 08:43:10 +0000 (08:43 +0000)]
Bugzilla 46960: Previously retrieved marker not cleared when the subsequently retrieved marker was empty.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@781944 13f79535-47bb-0310-9956-ffa450edef68

15 years agobug fix: PCL and AFP Document Handlers for new IF were not registering all related...
Chris Bowditch [Wed, 27 May 2009 08:16:36 +0000 (08:16 +0000)]
bug fix: PCL and AFP Document Handlers for new IF were not registering all related MIME Types

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@779046 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFixed two typos that were reported to the OFFO project
Simon Pepping [Fri, 22 May 2009 19:46:01 +0000 (19:46 +0000)]
Fixed two typos that were reported to the OFFO project

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@777675 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBugzilla #47232: for the last character of a Type1 font, always a width of 0 was...
Vincent Hennebert [Fri, 22 May 2009 10:38:49 +0000 (10:38 +0000)]
Bugzilla #47232: for the last character of a Type1 font, always a width of 0 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

15 years agoApacheCon Europe 2009 is over, commented out link.
Vincent Hennebert [Tue, 19 May 2009 10:59:09 +0000 (10:59 +0000)]
ApacheCon Europe 2009 is over, commented out link.
Increased max heap size allocated to Cocoon, otherwise an OutOfMemoryError will occur when generating the compliance PDF (I finally found out why I was having this error and how to fix it).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@776269 13f79535-47bb-0310-9956-ffa450edef68

15 years agoChanged meaning of '-v' option to 'verbose', which will print FOP's version and proce...
Vincent Hennebert [Thu, 14 May 2009 10:40:28 +0000 (10:40 +0000)]
Changed meaning of '-v' option to 'verbose', which will print FOP's version 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

15 years agoBugzilla #47101: The cells of a table inside a marker were duplicated at every marker...
Vincent Hennebert [Wed, 13 May 2009 10:28:22 +0000 (10:28 +0000)]
Bugzilla #47101: The cells of a table inside a marker were duplicated at every marker retrieval.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@774280 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBugfix: use the effective color profile supplied by the ImageEncodingHelper, instead...
Vincent Hennebert [Fri, 8 May 2009 11:21:41 +0000 (11:21 +0000)]
Bugfix: use the effective color profile supplied by the ImageEncodingHelper, instead of the original one.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@772943 13f79535-47bb-0310-9956-ffa450edef68

15 years agobug fix: allow back slashes for file URLs as they are commonly used in Windows
Chris Bowditch [Thu, 7 May 2009 15:08:30 +0000 (15:08 +0000)]
bug fix: allow back slashes for file URLs as they are commonly used in Windows

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@772672 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded relevant link to http://xmlgraphics.apache.org/fop/trunk/running.html#memory.
Adrian Cumiskey [Wed, 6 May 2009 11:13:49 +0000 (11:13 +0000)]
Added relevant link to http://xmlgraphics.apache.org/fop/trunk/running.html#memory.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@772147 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded tip for reducing memory consumption.
Adrian Cumiskey [Tue, 5 May 2009 16:06:43 +0000 (16:06 +0000)]
Added tip for reducing memory consumption.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@771874 13f79535-47bb-0310-9956-ffa450edef68

15 years agoChanges from revision 768320 introduced another bug: footnotes from later steps were...
Vincent Hennebert [Fri, 1 May 2009 11:19:36 +0000 (11:19 +0000)]
Changes from revision 768320 introduced another bug: footnotes from later 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

15 years agoBugfix: reset graphic state when a page is finished in PostScript.
Vincent Hennebert [Thu, 30 Apr 2009 13:43:51 +0000 (13:43 +0000)]
Bugfix: reset graphic state when a page is finished in PostScript.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@770223 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded setting to enable dithered painting of filled rectangles in AFP and PCL.
Vincent Hennebert [Tue, 28 Apr 2009 16:10:08 +0000 (16:10 +0000)]
Added setting to enable dithered painting of filled rectangles in AFP and PCL.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769445 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded support for CMYK colors in PTOCA
Vincent Hennebert [Tue, 28 Apr 2009 15:40:04 +0000 (15:40 +0000)]
Added support for CMYK colors in PTOCA

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769437 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBugfix: take rotation into account also when resource level is not inline
Vincent Hennebert [Tue, 28 Apr 2009 15:34:47 +0000 (15:34 +0000)]
Bugfix: take rotation into account also when resource level is not inline

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@769436 13f79535-47bb-0310-9956-ffa450edef68

15 years agoIn the AFP stream, put the TLE fields associated to a page sequence before the Page...
Vincent Hennebert [Fri, 24 Apr 2009 14:39:32 +0000 (14:39 +0000)]
In the AFP stream, put the TLE fields associated to a page sequence before the Page elements instead of after

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@768321 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBugfix: footnotes occurring within the forced height of a table row did not appear...
Vincent Hennebert [Fri, 24 Apr 2009 14:27:49 +0000 (14:27 +0000)]
Bugfix: footnotes occurring within the forced height of a table row did not appear on the output

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@768320 13f79535-47bb-0310-9956-ffa450edef68

15 years agoinclude Vincent's recent changes for AFM Parser bug
Chris Bowditch [Thu, 23 Apr 2009 07:17:52 +0000 (07:17 +0000)]
include Vincent's recent changes for AFM Parser bug

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@767826 13f79535-47bb-0310-9956-ffa450edef68

15 years agoTypo.
Jeremias Maerki [Mon, 20 Apr 2009 10:25:48 +0000 (10:25 +0000)]
Typo.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766645 13f79535-47bb-0310-9956-ffa450edef68

15 years agoDisabled auto-fonts in the PS transcoders by default because of OutOfMemoryErrors...
Jeremias Maerki [Mon, 20 Apr 2009 10:23:56 +0000 (10:23 +0000)]
Disabled auto-fonts in the PS transcoders by default because of OutOfMemoryErrors. Details in code comments.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766644 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBugzilla #47031:
Jeremias Maerki [Mon, 20 Apr 2009 07:00:34 +0000 (07:00 +0000)]
Bugzilla #47031:
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

15 years agoBugzilla #47000:
Jeremias Maerki [Mon, 20 Apr 2009 06:50:59 +0000 (06:50 +0000)]
Bugzilla #47000:
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

15 years agoBugzilla 47027: Correction for interpretation of pixel-lengths, as suggested by Jeremias.
Andreas L. Delmelle [Sun, 19 Apr 2009 17:54:06 +0000 (17:54 +0000)]
Bugzilla 47027: Correction for interpretation of pixel-lengths, as suggested 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

15 years agoSome cleanup:
Andreas L. Delmelle [Wed, 15 Apr 2009 17:17:36 +0000 (17:17 +0000)]
Some cleanup:
  * 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

15 years agoRemove svn:executable property...
Andreas L. Delmelle [Sun, 12 Apr 2009 20:11:19 +0000 (20:11 +0000)]
Remove svn:executable property...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@764320 13f79535-47bb-0310-9956-ffa450edef68

15 years agoFix the behaviour of pixel-lengths: influenced by target-resolution, rather than...
Andreas L. Delmelle [Sun, 12 Apr 2009 19:54:03 +0000 (19:54 +0000)]
Fix the behaviour of pixel-lengths: influenced by target-resolution, rather 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

15 years agoRemoved AbstractRenderer.getMimeType() as per Vincent's suggestion.
Jeremias Maerki [Fri, 3 Apr 2009 10:14:20 +0000 (10:14 +0000)]
Removed AbstractRenderer.getMimeType() as per Vincent's suggestion.
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

15 years agoFixed a bug that left the PrintRenderer unconfigured even if a configuration was...
Jeremias Maerki [Fri, 3 Apr 2009 07:44:09 +0000 (07:44 +0000)]
Fixed a bug that left the PrintRenderer unconfigured even if a configuration 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

15 years agoImproved multi-threading testbed a bit:
Jeremias Maerki [Fri, 27 Mar 2009 14:19:00 +0000 (14:19 +0000)]
Improved multi-threading testbed a bit:
- Prints out a report with some statistics at the end.
- Worker threads moved into their own thread group for easier profiling.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@759147 13f79535-47bb-0310-9956-ffa450edef68

15 years agoReverted changes from revision 757852.
Adrian Cumiskey [Wed, 25 Mar 2009 12:08:04 +0000 (12:08 +0000)]
Reverted changes from revision 757852.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@758234 13f79535-47bb-0310-9956-ffa450edef68

15 years agoForgot to add getBackgroundColor() accessor.
Adrian Cumiskey [Wed, 25 Mar 2009 10:36:35 +0000 (10:36 +0000)]
Forgot to add getBackgroundColor() accessor.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@758207 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded some accessor methods to some public member variables. I have left the public...
Adrian Cumiskey [Wed, 25 Mar 2009 10:32:23 +0000 (10:32 +0000)]
Added some accessor methods to some public member variables.  I have left 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

15 years agoCleaned up unused imports.
Adrian Cumiskey [Tue, 24 Mar 2009 16:09:06 +0000 (16:09 +0000)]
Cleaned up unused imports.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757874 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdded some nice bean methods for pageSequenceMaster and simplePageMaster, this also...
Adrian Cumiskey [Tue, 24 Mar 2009 15:39:15 +0000 (15:39 +0000)]
Added some nice bean methods for pageSequenceMaster and simplePageMaster, 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

15 years agoSimplified the setting of filters in the AbstractPDFStream hierarchy. Instead of...
Vincent Hennebert [Tue, 24 Mar 2009 10:46:59 +0000 (10:46 +0000)]
Simplified the setting of filters in the AbstractPDFStream hierarchy. 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

15 years agoAmendment to revision 755894:
Jeremias Maerki [Tue, 24 Mar 2009 08:08:54 +0000 (08:08 +0000)]
Amendment to revision 755894:
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

15 years agoSet svn:eol-style property on page-position-last_break-before_bugzilla46489.xml test...
Vincent Hennebert [Mon, 23 Mar 2009 12:12:36 +0000 (12:12 +0000)]
Set svn:eol-style property on 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

15 years agoadded extra blank line which is consistent with the other files in this folder and...
Chris Bowditch [Mon, 23 Mar 2009 11:03:33 +0000 (11:03 +0000)]
added extra blank line which is consistent with the other files in this 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

15 years agoDeprecated font base url methods on user agent level in favor of the methods on the...
Jeremias Maerki [Mon, 23 Mar 2009 07:54:43 +0000 (07:54 +0000)]
Deprecated font base url methods on user agent level in favor of the methods 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

15 years agoBugzilla #46882:
Jeremias Maerki [Mon, 23 Mar 2009 07:47:35 +0000 (07:47 +0000)]
Bugzilla #46882:
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

15 years agoMinor refactoring: extract code-blocks from the Region implementations into protected...
Andreas L. Delmelle [Sun, 22 Mar 2009 21:08:48 +0000 (21:08 +0000)]
Minor refactoring: extract code-blocks from the Region implementations into protected final method on SimplePageMaster.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757256 13f79535-47bb-0310-9956-ffa450edef68

15 years agorevert some changes... and do it right, this time
Andreas L. Delmelle [Sun, 22 Mar 2009 19:45:06 +0000 (19:45 +0000)]
revert some changes... and do it right, this time

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757245 13f79535-47bb-0310-9956-ffa450edef68

15 years agorevert some changes, dependent on other local changes, which would cause a compile...
Andreas L. Delmelle [Sun, 22 Mar 2009 19:42:33 +0000 (19:42 +0000)]
revert some changes, dependent on other local changes, which would cause a compile error...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757244 13f79535-47bb-0310-9956-ffa450edef68

15 years agoAdd startsWithForcedBreak() utility method to ElementListUtils.
Andreas L. Delmelle [Sun, 22 Mar 2009 19:34:39 +0000 (19:34 +0000)]
Add startsWithForcedBreak() utility method to ElementListUtils.
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

15 years agoBugzilla 46489:
Andreas L. Delmelle [Sun, 22 Mar 2009 19:18:14 +0000 (19:18 +0000)]
Bugzilla 46489:
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

15 years agoAdded a command-line tool to list all configured fonts (org.apache.fop.tools.fontlist...
Jeremias Maerki [Sun, 22 Mar 2009 11:54:39 +0000 (11:54 +0000)]
Added a command-line tool to list all configured fonts (org.apache.fop.tools.fontlist.FontListMain).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757172 13f79535-47bb-0310-9956-ffa450edef68

15 years agobug fix: 46867: afp:invoke-medium-map extension not working in the AFP Renderer
Chris Bowditch [Sat, 21 Mar 2009 08:47:34 +0000 (08:47 +0000)]
bug fix: 46867: afp:invoke-medium-map extension not working in the AFP Renderer

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756894 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMoved the font cache change check from outside PrintRendererConfigurator to inside...
Adrian Cumiskey [Fri, 20 Mar 2009 16:27:10 +0000 (16:27 +0000)]
Moved the font cache change check from outside PrintRendererConfigurator to inside the FontInfoConfigurator.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756583 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMinor optimization.
Adrian Cumiskey [Fri, 20 Mar 2009 15:41:56 +0000 (15:41 +0000)]
Minor optimization.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756533 13f79535-47bb-0310-9956-ffa450edef68

15 years agoA little font configuration cleaning.
Adrian Cumiskey [Fri, 20 Mar 2009 15:18:54 +0000 (15:18 +0000)]
A little font configuration cleaning.

* 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

15 years agoAdded some generics comments for the List collections.
Adrian Cumiskey [Fri, 20 Mar 2009 14:08:04 +0000 (14:08 +0000)]
Added some generics comments for the List collections.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@756471 13f79535-47bb-0310-9956-ffa450edef68

15 years agoBugfix: IFSerializer's mimicking feature didn't work properly. The wrong configuratio...
Jeremias Maerki [Thu, 19 Mar 2009 10:20:31 +0000 (10:20 +0000)]
Bugfix: IFSerializer's mimicking feature didn't work properly. The wrong configuration got selected.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@755894 13f79535-47bb-0310-9956-ffa450edef68

15 years agoMinor spelling corrections.
Adrian Cumiskey [Wed, 18 Mar 2009 16:58:24 +0000 (16:58 +0000)]
Minor spelling corrections.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@755647 13f79535-47bb-0310-9956-ffa450edef68