]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
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

17 years agoNow that there is a dedicated package for tables, the PendingSpan class can be extrac...
Vincent Hennebert [Tue, 6 Nov 2007 11:59:16 +0000 (11:59 +0000)]
Now that there is a dedicated package for tables, the PendingSpan class can be extracted into a top-level class.

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

17 years agoForgot to add IllegalRowSpanTestCase to the test suite...
Vincent Hennebert [Tue, 6 Nov 2007 11:54:46 +0000 (11:54 +0000)]
Forgot to add IllegalRowSpanTestCase to the test suite...

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

17 years agoAdded check for table-cells which span more rows than available in their parent element
Vincent Hennebert [Tue, 6 Nov 2007 11:53:38 +0000 (11:53 +0000)]
Added check for table-cells which span more rows than available in their parent element

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

17 years agoSlightly reworked too-many-columns_body_3 testcase, added testcase for a cell that...
Vincent Hennebert [Tue, 6 Nov 2007 11:36:42 +0000 (11:36 +0000)]
Slightly reworked too-many-columns_body_3 testcase, added testcase for a cell that spans too many columns (too-many-columns_body_4)

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

17 years agoForgot to add TableColumnColumnNumber testcase to the testsuite
Vincent Hennebert [Tue, 6 Nov 2007 11:33:49 +0000 (11:33 +0000)]
Forgot to add TableColumnColumnNumber testcase to the testsuite

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

17 years agoFinalised testcase for RowGroupBuilder and added it to the testsuite
Vincent Hennebert [Tue, 6 Nov 2007 11:32:45 +0000 (11:32 +0000)]
Finalised testcase for RowGroupBuilder and added it to the testsuite

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

17 years agoMailing List Archive link updates.
Jeremias Maerki [Tue, 6 Nov 2007 10:24:52 +0000 (10:24 +0000)]
Mailing List Archive link updates.
Added ASF Sponsorship program and thanks links as required by the PRC.
Added ApacheCon EU 2008 logo and link.

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

17 years agoBugfix: FOPFonts proc is not used/needed anymore.
Jeremias Maerki [Tue, 6 Nov 2007 09:05:13 +0000 (09:05 +0000)]
Bugfix: FOPFonts proc is not used/needed anymore.

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

17 years agoRenamed signalNewRow method into more accurate signalRowEnd
Vincent Hennebert [Mon, 5 Nov 2007 18:27:43 +0000 (18:27 +0000)]
Renamed signalNewRow method into more accurate signalRowEnd

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

17 years agoRenamed TableRowIteratorTestCase into RowGroupBuilderTestCase
Vincent Hennebert [Mon, 5 Nov 2007 18:00:34 +0000 (18:00 +0000)]
Renamed TableRowIteratorTestCase into RowGroupBuilderTestCase

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

17 years agoUpgraded javac.source and javac.target to 1.4 (to enable asserts, among others)
Vincent Hennebert [Mon, 5 Nov 2007 17:45:23 +0000 (17:45 +0000)]
Upgraded javac.source and javac.target to 1.4 (to enable asserts, among others)

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

17 years agoMoved table-related FObj into new o.a.fop.fo.flow.table package
Vincent Hennebert [Mon, 5 Nov 2007 17:42:37 +0000 (17:42 +0000)]
Moved table-related FObj into new o.a.fop.fo.flow.table package

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

17 years agoUpdated the warning messages
Vincent Hennebert [Mon, 5 Nov 2007 16:27:54 +0000 (16:27 +0000)]
Updated the warning messages

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

17 years agoRenamed TableRowIterator* test cases into RowGroupBuilder*
Vincent Hennebert [Mon, 5 Nov 2007 16:10:43 +0000 (16:10 +0000)]
Renamed TableRowIterator* test cases into RowGroupBuilder*

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

17 years agoFirst step towards building row groups at the FO tree stage. The built row groups...
Vincent Hennebert [Mon, 5 Nov 2007 16:07:45 +0000 (16:07 +0000)]
First step towards building row groups at the FO tree stage. The built row groups are currently not used and the TableRowIterator stuff remains unchanged; this allows for more atomic commits.
- introduced RowGroupBuilder hierarchy;
- moved TableRowIterator test cases into fotree, and integrated them in the test suite.

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

17 years agoDisabled debug outputs
Vincent Hennebert [Mon, 5 Nov 2007 14:34:18 +0000 (14:34 +0000)]
Disabled debug outputs

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

17 years agoMake Vincent happy.
Jeremias Maerki [Mon, 5 Nov 2007 12:45:16 +0000 (12:45 +0000)]
Make Vincent happy.

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

17 years agoAdded support for fo:markers on fo:inline and fo:basic-link.
Andreas L. Delmelle [Sun, 4 Nov 2007 10:48:30 +0000 (10:48 +0000)]
Added support for fo:markers on fo:inline and fo:basic-link.

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

17 years agoCompletely reimplemented the PDFTextPainter. All SVG text (including flow text, but...
Jeremias Maerki [Sat, 3 Nov 2007 10:59:09 +0000 (10:59 +0000)]
Completely reimplemented the PDFTextPainter. All SVG text (including flow text, but excluding special cases with filters) is now painted in PDF text primitives.
The whole thing compiles against and runs with Batik 1.6 but was developed against Batik Trunk (1.7). The TextBridge for SVG 1.2 text is omitted because we're still on Batik 1.6 and FOP wouldn't compile with it. The full feature set is only available with Batik 1.7, of course. With Batik 1.6, font selection may not work as expected.

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

17 years agoAdded method to convert from inches to points.
Jeremias Maerki [Sat, 3 Nov 2007 10:53:04 +0000 (10:53 +0000)]
Added method to convert from inches to points.

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

17 years agoZero Word Joiner was missing in the constants.
Jeremias Maerki [Sat, 3 Nov 2007 10:52:29 +0000 (10:52 +0000)]
Zero Word Joiner was missing in the constants.

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

17 years agoMore fine-grained mechanism to detect if a font has been used or not. If a font list...
Jeremias Maerki [Sat, 3 Nov 2007 10:51:31 +0000 (10:51 +0000)]
More fine-grained mechanism to detect if a font has been used or not. If a font list is given for a text run and each character should be painted in the right font, it might be accessed but never really used. Needed for PDF text painting improvements.

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

17 years agoMethod for dumping all font triplets to System.out for diagnostic purposes.
Jeremias Maerki [Sat, 3 Nov 2007 10:48:17 +0000 (10:48 +0000)]
Method for dumping all font triplets to System.out for diagnostic purposes.

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

17 years agoMapping "SansSerif" and "Monospaced" (widely used in SVG land) to our Base 14 fonts.
Jeremias Maerki [Sat, 3 Nov 2007 10:47:22 +0000 (10:47 +0000)]
Mapping "SansSerif" and "Monospaced" (widely used in SVG land) to our Base 14 fonts.

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

17 years agoCorrection: use super.toString() to still have the internal instance id
Andreas L. Delmelle [Sat, 3 Nov 2007 10:42:05 +0000 (10:42 +0000)]
Correction: use super.toString() to still have the internal instance id

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

17 years agoAdded override for FObj.toString() for convenience during debugging.
Andreas L. Delmelle [Sat, 3 Nov 2007 10:35:56 +0000 (10:35 +0000)]
Added override for FObj.toString() for convenience during debugging.

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

17 years agoAdd missing file from previous commit (r591437)
Andreas L. Delmelle [Fri, 2 Nov 2007 21:05:22 +0000 (21:05 +0000)]
Add missing file from previous commit (r591437)

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

17 years agoBugzilla 42748: Added support for ids on empty fo:inlines
Andreas L. Delmelle [Fri, 2 Nov 2007 19:57:25 +0000 (19:57 +0000)]
Bugzilla 42748: Added support for ids on empty fo:inlines

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

17 years agoReworked the creation of implicit columns to match new behaviour: the number of colum...
Vincent Hennebert [Fri, 2 Nov 2007 11:01:41 +0000 (11:01 +0000)]
Reworked the creation of implicit columns to match new behaviour: the number of columns of a table without explicit fo:table-column is set by the row that has the most columns.

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

17 years agoTestcases for fo:table-column
Vincent Hennebert [Thu, 1 Nov 2007 15:57:50 +0000 (15:57 +0000)]
Testcases for fo:table-column

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