]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
16 years agoRemoved parameter from the endPart method, since the part is already passed as a...
Vincent Hennebert [Thu, 13 Dec 2007 18:52:48 +0000 (18:52 +0000)]
Removed parameter from the endPart method, since the part is already passed as a parameter of the previously called startPart method

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

16 years agoFixed the handling of columns in the border resolution, especially in case of column...
Vincent Hennebert [Thu, 13 Dec 2007 18:28:56 +0000 (18:28 +0000)]
Fixed the handling of columns in the border resolution, especially in case of column-spanning cells

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

16 years agoStyle only: removed trailing white spaces
Vincent Hennebert [Thu, 13 Dec 2007 17:32:43 +0000 (17:32 +0000)]
Style only: removed trailing white spaces

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

16 years agoOk, now /really/ revert the previous commit :-\
Vincent Hennebert [Thu, 13 Dec 2007 17:31:26 +0000 (17:31 +0000)]
Ok, now /really/ revert the previous commit :-\

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

16 years agoReverted change accidentally introduced in the previous commit. A proper fix needs...
Vincent Hennebert [Thu, 13 Dec 2007 17:21:24 +0000 (17:21 +0000)]
Reverted change accidentally introduced in the previous commit. A proper fix needs to be found for this one.

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

16 years agoImplemented the resolution of collapsing borders in the FO tree, for every situation...
Vincent Hennebert [Thu, 13 Dec 2007 16:10:32 +0000 (16:10 +0000)]
Implemented the resolution of collapsing borders in the FO tree, for every situation (normal, cell at the top of a page, cell broken), taking conditionality, headers and footers into account.

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

16 years agoRemoved calls to removeLegalBreaks since they aren't necessary (the whole content...
Vincent Hennebert [Thu, 13 Dec 2007 15:55:29 +0000 (15:55 +0000)]
Removed calls to removeLegalBreaks since they aren't necessary (the whole content is put in a single box anyway) and the method is buggy.

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

16 years agoMinor tweaks:
Andreas L. Delmelle [Thu, 13 Dec 2007 14:43:08 +0000 (14:43 +0000)]
Minor tweaks:
* only add text to a fo:wrapper if it is not a direct flow-descendant
* error if an fo:wrapper that is a direct flow-descendant contains inline-level children

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

16 years agoFixed @throws statements in javadoc
Vincent Hennebert [Thu, 13 Dec 2007 11:35:17 +0000 (11:35 +0000)]
Fixed @throws statements in javadoc

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

16 years agoUpdated status with SVG support for AFP.
Adrian Cumiskey [Wed, 12 Dec 2007 12:26:39 +0000 (12:26 +0000)]
Updated status with SVG support for AFP.

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

16 years ago* Added an SVG handler and Graphics2D implementation for AFP which injects AFP GOCA...
Adrian Cumiskey [Wed, 12 Dec 2007 12:24:10 +0000 (12:24 +0000)]
* Added an SVG handler and Graphics2D implementation for AFP which injects AFP GOCA structured fields into the AFPDataStream.
* Fixed many checkstyle problems.
* Updated xmlgraphics-commons-1.3svn.jar to include changes to TextHandler

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

16 years agoAdded documentation for font-in-jar-files
Maximilian Berger [Mon, 10 Dec 2007 13:35:33 +0000 (13:35 +0000)]
Added documentation for font-in-jar-files

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

16 years agoUpdated xmlgraphics from SVN
Maximilian Berger [Fri, 7 Dec 2007 15:36:53 +0000 (15:36 +0000)]
Updated xmlgraphics from SVN
Added autodetection of fonts in jar files (x-font and x-font-truetype)
Added files needed for testcase
Please note: Actual testcase is still missing!

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

16 years agoAvoid a NPE in toString().
Jeremias Maerki [Fri, 7 Dec 2007 09:20:28 +0000 (09:20 +0000)]
Avoid a NPE in toString().

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

16 years agoTemporary fix to the build
Adrian Cumiskey [Thu, 6 Dec 2007 11:57:14 +0000 (11:57 +0000)]
Temporary fix to the build

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:49:46 +0000 (17:49 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:48:56 +0000 (17:48 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:47:44 +0000 (17:47 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:45:20 +0000 (17:45 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:44:36 +0000 (17:44 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:43:46 +0000 (17:43 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:42:48 +0000 (17:42 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:42:13 +0000 (17:42 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:39:54 +0000 (17:39 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:37:40 +0000 (17:37 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes and cleanup
Adrian Cumiskey [Wed, 5 Dec 2007 17:36:12 +0000 (17:36 +0000)]
Checkstyle fixes and cleanup

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:35:31 +0000 (17:35 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:34:44 +0000 (17:34 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:32:29 +0000 (17:32 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:31:20 +0000 (17:31 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:30:04 +0000 (17:30 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:29:31 +0000 (17:29 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:28:48 +0000 (17:28 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:28:03 +0000 (17:28 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:27:06 +0000 (17:27 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:25:58 +0000 (17:25 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:25:07 +0000 (17:25 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:24:15 +0000 (17:24 +0000)]
Checkstyle fixes

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

16 years agoFixed checkstyle issues
Adrian Cumiskey [Wed, 5 Dec 2007 17:21:15 +0000 (17:21 +0000)]
Fixed checkstyle issues

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

16 years agoCorrected javadoc, fixed checkstyle issues, and now also correctly caters for negativ...
Adrian Cumiskey [Wed, 5 Dec 2007 17:19:43 +0000 (17:19 +0000)]
Corrected javadoc, fixed checkstyle issues, and now also correctly caters for negative number conversions

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

16 years agoImproved use of logging
Adrian Cumiskey [Wed, 5 Dec 2007 17:15:46 +0000 (17:15 +0000)]
Improved use of logging

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

16 years agoCorrected javadoc
Adrian Cumiskey [Wed, 5 Dec 2007 17:13:31 +0000 (17:13 +0000)]
Corrected javadoc

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

16 years agoCorrected javadoc
Adrian Cumiskey [Wed, 5 Dec 2007 17:12:54 +0000 (17:12 +0000)]
Corrected javadoc

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

16 years agoCorrected javadocs
Adrian Cumiskey [Wed, 5 Dec 2007 17:11:44 +0000 (17:11 +0000)]
Corrected javadocs

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

16 years agoTypo in property: svn:kewords -> svn:keywords
Vincent Hennebert [Wed, 5 Dec 2007 16:56:47 +0000 (16:56 +0000)]
Typo in property: svn:kewords -> svn:keywords

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

16 years agoOops.
Jeremias Maerki [Mon, 3 Dec 2007 13:32:04 +0000 (13:32 +0000)]
Oops.

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

16 years agoAdded a possibility to rerun the whole run a defined number of times to test for...
Jeremias Maerki [Mon, 3 Dec 2007 13:21:06 +0000 (13:21 +0000)]
Added a possibility to rerun the whole run a defined number of times to test for possible issues outside a single rendering run.

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

16 years agoLog RuntimeExceptions during rendering so that they are at least visible somewhere...
Jeremias Maerki [Mon, 3 Dec 2007 10:16:27 +0000 (10:16 +0000)]
Log RuntimeExceptions during rendering so that they are at least visible somewhere if someone doesn't set an ErrorListener on the XSLT processor (this could lead to exceptions being swallowed). This is a temporary measure until we have time to improve the exception handling in FOP.
The original problem that led to this change was: "The number of this PDFNumber must not be empty" while producing a PDF/A with customized filter entries in the PDF configuration. The exception was a follow-up exception after a PDFConformanceException that was swallowed by a default ErrorListener.

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

16 years agoCorrection and simplification of the PropertyCache: subclass WeakReference and remove...
Andreas L. Delmelle [Sat, 1 Dec 2007 21:11:53 +0000 (21:11 +0000)]
Correction and simplification of the PropertyCache: subclass WeakReference and remove internal threading

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

16 years agoBugzilla #37993:
Jeremias Maerki [Fri, 30 Nov 2007 09:04:54 +0000 (09:04 +0000)]
Bugzilla #37993:
Bugfix: allow multiple bookmarks to point at the same destination.

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

16 years agoAdded fixes-bug attributes for:
Vincent Hennebert [Thu, 29 Nov 2007 18:31:13 +0000 (18:31 +0000)]
Added fixes-bug attributes for:
- wrong element generation in table when glues are produced
- border-resolution on row-spanning cells

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

17 years agoBugzilla #40230:
Jeremias Maerki [Tue, 27 Nov 2007 08:36:23 +0000 (08:36 +0000)]
Bugzilla #40230:
Bugfix: no empty page is generated anymore if there's no content after a break-after.

Bugzilla #43917:
Bugfix for border-after painting and element list generation when a forced break is involved.

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

17 years agoFirst draft of a possible new intermediate format for Apache FOP.
Jeremias Maerki [Thu, 22 Nov 2007 16:13:05 +0000 (16:13 +0000)]
First draft of a possible new intermediate format for Apache FOP.
Details on: http://wiki.apache.org/xmlgraphics-fop/AreaTreeIntermediateXml/NewDesign

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

17 years agoBugfix: the last element generated by the merging algorithm may now be a glue
Vincent Hennebert [Wed, 21 Nov 2007 12:23:59 +0000 (12:23 +0000)]
Bugfix: the last element generated by the merging algorithm may now be a glue

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

17 years agoBugzilla #43803: table cells having no children are allowed in relaxed validation...
Vincent Hennebert [Tue, 20 Nov 2007 18:47:39 +0000 (18:47 +0000)]
Bugzilla #43803: table cells having no children are allowed in relaxed validation mode.

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

17 years agoAdded a news entry about Max Berger becoming a committer. Welcome Max!
Vincent Hennebert [Tue, 20 Nov 2007 17:08:46 +0000 (17:08 +0000)]
Added a news entry about Max Berger becoming a committer. Welcome Max!

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

17 years agobug fix: memory leak in PropertyCache. Fix provided by Jeremias. There are still...
Chris Bowditch [Tue, 20 Nov 2007 16:49:13 +0000 (16:49 +0000)]
bug fix: memory leak in PropertyCache. Fix provided by Jeremias. There are still some thread synchronization issues to be addressed in the PropertyCache. See the following thread for details: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200711.mbox/%3cBAY117-DAV109E36CC066889386AB917FB870@phx.gbl%3e

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

17 years agoBugfix in tables: wrong element generation by the merging algorithm when glues must...
Vincent Hennebert [Tue, 20 Nov 2007 16:07:32 +0000 (16:07 +0000)]
Bugfix in tables: wrong element generation by the merging algorithm when glues must be produced to cope with conditional spaces. The corresponding length was added twice: one in the glue itself and one in the following box.

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

17 years agoBugfix: Bugfix for URI resolution: Make StreamSources without system identifier work...
Jeremias Maerki [Tue, 20 Nov 2007 15:56:33 +0000 (15:56 +0000)]
Bugfix: Bugfix for URI resolution: Make StreamSources without system identifier work again.
Bugfix: Close streams opened by test font resolution in font configuration (the font URIs will be resolved again later anyway).
Better error message when the loading of font metric files doesn't work due to missing information in the returned Source instances.

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

17 years agoBugzilla #43910:
Jeremias Maerki [Tue, 20 Nov 2007 10:20:29 +0000 (10:20 +0000)]
Bugzilla #43910:
Avoid a NullPointerException in AreaTreeHandler.endDocument().
Submitted by: David Delbecq <delbd.at.oma.be>

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

17 years agoBugzilla #43904:
Jeremias Maerki [Tue, 20 Nov 2007 07:14:33 +0000 (07:14 +0000)]
Bugzilla #43904:
Buffer the OutputStreams in our transcoders if the users forget.

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

17 years agoBugzilla #43766: breaks generated by the merging algorithm for table rows containing...
Vincent Hennebert [Mon, 19 Nov 2007 18:25:27 +0000 (18:25 +0000)]
Bugzilla #43766: breaks generated by the merging algorithm for table rows containing empty cells has always a penalty of 900

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

17 years agoAdded sample as suggested by Kumar Puppala.
Jeremias Maerki [Sun, 18 Nov 2007 17:17:24 +0000 (17:17 +0000)]
Added sample as suggested by Kumar Puppala.

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

17 years agoBugzilla #43605:
Jeremias Maerki [Sun, 18 Nov 2007 16:56:09 +0000 (16:56 +0000)]
Bugzilla #43605:
Added methods for page-number-citation and page-number-citation-last in FOEventHandler.java
Submitted by: V. Schappert <vschappert.at.bloomberg.net>

Patch modified by Jeremias:
Bugfix: FOEventHandler.startPageNumberCitation() was also called in the case of a page-number-citation-last. Introduced abstract base classes to avoid this.

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

17 years agoApacheCon US is over.
Jeremias Maerki [Sun, 18 Nov 2007 10:48:53 +0000 (10:48 +0000)]
ApacheCon US is over.
OSSSummit was cancelled/postponed.
Added example for total page count using XSL 1.1
Adjusted total page count example to new FOP API. (Thanks to Miroslav Gregan for the hint)

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

17 years agoThis should improve the ability of the FontLoader when resolving PFM files
Adrian Cumiskey [Fri, 16 Nov 2007 12:12:52 +0000 (12:12 +0000)]
This should improve the ability of the FontLoader when resolving PFM files
for Type 1 fonts on case sensitive Unix systems.

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

17 years agoBugzilla #43143:
Jeremias Maerki [Thu, 15 Nov 2007 13:28:58 +0000 (13:28 +0000)]
Bugzilla #43143:
Had to remove the Expert(Subset) Encoding detection as this caused problems with a barcode font that used dfCharset=2 but was not using ExpertSubset encoding. To detect Expert(Subset)Encoding, the AFM needs to be parsed. And since we don't support that encoding, yet, the fallback to WinAnsiEncoding should work well enough.

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

17 years agoRestored the setting of rowIndex on primary grid units (although testcases were alrea...
Vincent Hennebert [Wed, 14 Nov 2007 12:21:53 +0000 (12:21 +0000)]
Restored the setting of rowIndex on primary grid units (although testcases were already working...)

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

17 years agoRestored the setting of the parent table-row element on grid units
Vincent Hennebert [Wed, 14 Nov 2007 11:14:03 +0000 (11:14 +0000)]
Restored the setting of the parent table-row element on grid units

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

17 years agoReduced visibility of some methods and constructors from public to package-private...
Vincent Hennebert [Wed, 14 Nov 2007 10:41:52 +0000 (10:41 +0000)]
Reduced visibility of some methods and constructors from public to package-private, as a consequence of the move of *GridUnit to the fo.flow.table package

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

17 years agoMoved EffRow to the fo.flow.table package
Vincent Hennebert [Wed, 14 Nov 2007 10:18:45 +0000 (10:18 +0000)]
Moved EffRow to the fo.flow.table package

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

17 years agoCleaned up RowGroupLayoutManager and TableRowIterator
Vincent Hennebert [Tue, 13 Nov 2007 17:39:17 +0000 (17:39 +0000)]
Cleaned up RowGroupLayoutManager and TableRowIterator

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

17 years agoUse a singleton for a default BorderInfo of style none, instead of every time a new...
Vincent Hennebert [Tue, 13 Nov 2007 17:13:19 +0000 (17:13 +0000)]
Use a singleton for a default BorderInfo of style none, instead of every time a new instance

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

17 years agoChanged back visibility of fields from public to package-private, due to the move...
Vincent Hennebert [Tue, 13 Nov 2007 16:55:54 +0000 (16:55 +0000)]
Changed back visibility of fields from public to package-private, due to the move of *GridUnit in the fo.flow.table package

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

17 years agoMoved *GridUnit from layoutmgr/table to fo/flow/table
Vincent Hennebert [Tue, 13 Nov 2007 16:50:09 +0000 (16:50 +0000)]
Moved *GridUnit from layoutmgr/table to fo/flow/table

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

17 years agoMoved the creation of grid units to the FO tree building stage. Brought a few improve...
Vincent Hennebert [Tue, 13 Nov 2007 16:24:32 +0000 (16:24 +0000)]
Moved the creation of grid units to the FO tree building stage. Brought a few improvements along with the move:
- bugfix: border-resolution for border-end on row-spanning cells was wrong
- bugfix: in case of missing cells the border-end of the table was applied to an inner cell, instead of the cell in the last column (but missing cells aren't painted yet :-\)
- bugfix: in collapsing-border model, border-before and -after specified on table-column were applied to every cell of the column, instead of only the first and the last ones
- border resolution is now made progressively when possible, and no longer triggers the fetching of all the rows of the table
Added testcases for the border conflict resolution (between the various elements of a table and not only the cells)

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

17 years agoFix two javadoc warnings.
Jeremias Maerki [Tue, 13 Nov 2007 14:37:00 +0000 (14:37 +0000)]
Fix two javadoc warnings.

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

17 years agoMore informative overflow message (sometimes the overflow is just a few millipoints...
Jeremias Maerki [Tue, 13 Nov 2007 13:07:33 +0000 (13:07 +0000)]
More informative overflow message (sometimes the overflow is just a few millipoints and it's nice to know how many).

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

17 years agoLog element list length for convenience.
Jeremias Maerki [Tue, 13 Nov 2007 12:45:15 +0000 (12:45 +0000)]
Log element list length for convenience.

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

17 years agoFilter single quotes from the filenames as this will interfere with font-family parsing.
Jeremias Maerki [Tue, 13 Nov 2007 12:44:29 +0000 (12:44 +0000)]
Filter single quotes from the filenames as this will interfere with font-family parsing.
Fixed bug: InputStream opened by URL.openConnection() wasn't closed which leads to "too many open files" when you have lots of fonts on Java 1.4.

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

17 years agoBetter error messages in fontLookup().
Jeremias Maerki [Tue, 13 Nov 2007 12:42:35 +0000 (12:42 +0000)]
Better error messages in fontLookup().
Expose font triplets to the outside (used by a test tool I wrote).

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

17 years agoSome TTF fonts don't have a PostScript name, so just emulate it in this case to avoid...
Jeremias Maerki [Tue, 13 Nov 2007 12:41:24 +0000 (12:41 +0000)]
Some TTF fonts don't have a PostScript name, so just emulate it in this case to avoid problems with font lookup further down.

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

17 years agoImproved PFM loading:
Jeremias Maerki [Tue, 13 Nov 2007 12:40:38 +0000 (12:40 +0000)]
Improved PFM loading:
- Fixed bug with Flags (resulted in bad PDFs for certain fonts)
- Warn about possible charset problems.
- Fixed bug for "last char" (probably a copy/paste mistake)

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

17 years agoExpose a method so I can easily extract the renderer configuration from outside the...
Jeremias Maerki [Tue, 13 Nov 2007 12:35:31 +0000 (12:35 +0000)]
Expose a method so I can easily extract the renderer configuration from outside the rendering domain (for a test tool).

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

17 years agobug fix: avoid NPE when GC has removed a weak reference in the Property Cache
Chris Bowditch [Mon, 12 Nov 2007 17:25:41 +0000 (17:25 +0000)]
bug fix: avoid NPE when GC has removed a weak reference in the Property Cache

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

17 years agoUse tableLM instead of the primary grid unit to retrieve the Table fobj
Vincent Hennebert [Mon, 12 Nov 2007 10:40:21 +0000 (10:40 +0000)]
Use tableLM instead of the primary grid unit to retrieve the Table fobj

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

17 years agoAvoid null values in generated Font classes so the encoding can be inspected.
Jeremias Maerki [Mon, 12 Nov 2007 09:40:16 +0000 (09:40 +0000)]
Avoid null values in generated Font classes so the encoding can be inspected.
Don't warn about missing hyphenation characters for fonts such as Symbol and ZapfDingbats which don't have the default hyphenation character.

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

17 years agoBetter solution for missing hyphenation character problem.
Jeremias Maerki [Mon, 12 Nov 2007 08:52:11 +0000 (08:52 +0000)]
Better solution for missing hyphenation character problem.

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

17 years agoIssue a clear warning if the selected hyphenation character is not available in a...
Jeremias Maerki [Mon, 12 Nov 2007 08:27:46 +0000 (08:27 +0000)]
Issue a clear warning if the selected hyphenation character is not available in a font. Otherwise you'd just get a "glyph not available" error and you wonder why the hell FOP wants to use that character.

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

17 years agoBugzilla #43835:
Jeremias Maerki [Sun, 11 Nov 2007 15:30:34 +0000 (15:30 +0000)]
Bugzilla #43835:
Bugfix: Use Font.getName() (logical font name) instead of Font.getFontName() (localized) when registering fonts from AWT.
Submitted by: David Churavy <churavy.at.kadel.cz>

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

17 years agoAttempt to shed light on what this method does.
Jeremias Maerki [Fri, 9 Nov 2007 15:54:11 +0000 (15:54 +0000)]
Attempt to shed light on what this method does.

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

17 years agoBugfix: An invalid PDF was created if a grayscale JPEG image with an sRGB profile...
Jeremias Maerki [Fri, 9 Nov 2007 08:33:52 +0000 (08:33 +0000)]
Bugfix: An invalid PDF was created if a grayscale JPEG image with an sRGB profile was embedded undecoded. I didn't find any other way than to disable the the ICC profile in this case.

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

17 years agoAnother improvement for font auto-detection:
Jeremias Maerki [Thu, 8 Nov 2007 18:36:01 +0000 (18:36 +0000)]
Another improvement for font auto-detection:
Some TrueType fonts have multiple font family names which we haven't extracted so far. All these names are now exposed as a Set of Strings.
An example: Futura Book BT has two font families: Futura (Mac platform) and Futura Bk BT (Windows platform).

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

17 years agoImproved font auto-detection and handling of AWT-supplied fonts in order to achieve...
Jeremias Maerki [Thu, 8 Nov 2007 15:13:24 +0000 (15:13 +0000)]
Improved font auto-detection and handling of AWT-supplied fonts in order to achieve better results when using multiple output formats. Whenever possible, the font names appearing in the operating system can also be used in XSL-FO.

Better distinction between Font Family Name ("Arial"), Full Font Name ("Arial Bold") and PostScript Name ("Arial-BoldMT"). This allows a better generation of FontTriplets. The same is done for AWT fonts where I have switch from font-family detection to enumerating all java.awt.Font instances so I can extract Family Name, Full Name and PostScript Name. FontInfoFinder and AWT's FontSetup are synchronized as well as possible at this time.
Register "extra-bold" (weight 800) and "light" (weight 200) in triplets when detected.
Tweaked FontInfo.fontLookup() for better fallback behaviour. This approach is rapidly nearing its flexibility limits. We should rethink the FontTriplet structure.
Fixed font-autodetection so fonts with uppercase extensions are detected, too.
Made the way TrueType fonts are embedded in PDF compliant to the specification so viewers correctly identify subset fonts. The name prefix in MultiByteFont was incorrect.
Support the detection of the special Type 1 Symbol font. Symbol used to be detected with "ExpertSubsetEncoding" instead of "SymbolEncoding".
Type1FontLoader tries to construct a "full name" from the PostScript name. This is a temporary hack until we have a PFB or PFA parser.

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

17 years agobugfix: instead of throwing an exception use default PS Level if not set in fop.xconf...
Chris Bowditch [Thu, 8 Nov 2007 14:40:25 +0000 (14:40 +0000)]
bugfix: instead of throwing an exception use default PS Level if not set in fop.xconf file

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

17 years agoNitpick regarding the Nimbus font names
Vincent Hennebert [Thu, 8 Nov 2007 10:25:28 +0000 (10:25 +0000)]
Nitpick regarding the Nimbus font names

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

17 years agoBugfix: filters were not applied but still produced into the dictionary even if the...
Jeremias Maerki [Thu, 8 Nov 2007 08:53:35 +0000 (08:53 +0000)]
Bugfix: filters were not applied but still produced into the dictionary even if the filters are disabled. Fixes a bug with PDF-in-PDF embedding.

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

17 years agoSome notes about FOP's default font and font substitution for Base 14 fonts in docume...
Jeremias Maerki [Thu, 8 Nov 2007 08:01:02 +0000 (08:01 +0000)]
Some notes about FOP's default font and font substitution for Base 14 fonts in document viewers.

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

17 years agoFixed regression: transparent-page-background was not recognized for PNG output.
Jeremias Maerki [Tue, 6 Nov 2007 21:10:44 +0000 (21:10 +0000)]
Fixed regression: transparent-page-background was not recognized for PNG output.

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

17 years agoRemoved no-longer applicable test cases, for cells spanning more rows than available...
Vincent Hennebert [Tue, 6 Nov 2007 12:11:10 +0000 (12:11 +0000)]
Removed no-longer applicable test cases, for cells spanning more rows than available in the table part

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