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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 years agoAdditional testcases for too many columns, this time in header or footer.
Vincent Hennebert [Wed, 31 Oct 2007 16:53:27 +0000 (16:53 +0000)]
Additional testcases for too many columns, this time in header or footer.

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

16 years agoSome fonts have spaces in their names (ex. "Arial Unicode MS"). This change modifies...
Jeremias Maerki [Wed, 31 Oct 2007 16:39:04 +0000 (16:39 +0000)]
Some fonts have spaces in their names (ex. "Arial Unicode MS"). This change modifies font auto-detection so both "ArialUnicodeMS" (as before) and "Arial Unicode MS" (new) are registered for a font.

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

16 years agoReplaced svn:eol property with svn:eol-style or set that latter to native
Vincent Hennebert [Wed, 31 Oct 2007 15:20:43 +0000 (15:20 +0000)]
Replaced svn:eol property with svn:eol-style or set that latter to native

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

16 years ago- Enforced check for proper number of columns in a table. Now if a table has explicit...
Vincent Hennebert [Wed, 31 Oct 2007 15:06:35 +0000 (15:06 +0000)]
- Enforced check for proper number of columns in a table. Now if a table has explicit table-columns, those fix the total number of columns and any row having more columns will lead to an error.
- Set up a framework for unit-testing classes from the FO tree, and added some first testcases for the number of columns in tables.

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

16 years agoUrl is actually a Uri
Adrian Cumiskey [Wed, 31 Oct 2007 10:29:02 +0000 (10:29 +0000)]
Url is actually a Uri

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

16 years agoSimple renaming of method following patch that was recently applied
Adrian Cumiskey [Tue, 30 Oct 2007 23:44:39 +0000 (23:44 +0000)]
Simple renaming of method following patch that was recently applied
http://issues.apache.org/bugzilla/show_bug.cgi?id=42982

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

16 years agoRemoved no longer useful setCurrentColumnIndex method on ColumnNumberManager. The...
Vincent Hennebert [Tue, 30 Oct 2007 17:42:10 +0000 (17:42 +0000)]
Removed no longer useful setCurrentColumnIndex method on ColumnNumberManager. The column number is now automatically updated in signalUsedColumnNumbers

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

16 years agoUpdated testcase to reflect new code behaviour: gaps between columns are now ignored
Vincent Hennebert [Tue, 30 Oct 2007 17:14:31 +0000 (17:14 +0000)]
Updated testcase to reflect new code behaviour: gaps between columns are now ignored

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

16 years ago- factored the management of column numbers into a separate helper class
Vincent Hennebert [Tue, 30 Oct 2007 16:21:39 +0000 (16:21 +0000)]
- factored the management of column numbers into a separate helper class
- moved the PendingSpan inner class from TableFObj into TableCellContainer, where it's a bit more appropriate
- simplified the getTable method in TableFObj by overriding it in Table
- simplified the propertyMaker for column-number: now it's the table-cell which notifies the parent table-body that it starts a new row. As an additional benefit the propertyMaker for starts-row is now called only once, instead of twice before
- reworked, factored and simplified the handling of column indices in TableCellContainer
- bugfix: repeated fo:table-column were not added at the right place in the column lists
- bugfix: width set on cell on second row was applied to the column's width, whereas it shouldn't
- checkstyle cleanup

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

16 years agoFixes 42982, 43042, 43587, 43143 and 43439 applied to trunk
Adrian Cumiskey [Sat, 27 Oct 2007 14:45:30 +0000 (14:45 +0000)]
Fixes 42982, 43042, 43587, 43143 and 43439 applied to trunk

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

16 years agoBugzilla #42982:
Adrian Cumiskey [Sat, 27 Oct 2007 01:07:49 +0000 (01:07 +0000)]
Bugzilla #42982:
Applied [PATCH] 42982 - Support Fonts in JAR files

Nice work Max, I look forward to you joining us soon :)
Submitted by: Max Berger <max.at.berger.name>

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

16 years agoApplied [PATCH] 43143 - ExpertEncoding and ExpertSubsetEncoding not detected for...
Adrian Cumiskey [Fri, 26 Oct 2007 19:20:02 +0000 (19:20 +0000)]
Applied [PATCH] 43143 - ExpertEncoding and ExpertSubsetEncoding not detected for Type 1 fonts
Many thanks to William (wliem AT allette DOT com DOT au) for reporting the problem.
NOTE: More work needs to be done to provide support for ExpertEncoding
(this is documented in src/codegen/fonts/encodings.xml within this patch).

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

16 years agoBugzilla #43042:
Adrian Cumiskey [Fri, 26 Oct 2007 18:58:15 +0000 (18:58 +0000)]
Bugzilla #43042:
Applied [PATCH] 43042 - PS extension implementation code cleanup.

Partially modified the patch due to code changes.  Many thanks to Andrejus Chaliapinas for this patch :)
Submitted by: Andrejus Chaliapinas <a.chaliapinas.at.infosana.com>

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

16 years agoApplying [PATCH] 43587 - Multiple ps:comment-? within fo:declarations causes ClassCas...
Adrian Cumiskey [Fri, 26 Oct 2007 18:17:00 +0000 (18:17 +0000)]
Applying [PATCH] 43587 - Multiple ps:comment-? within fo:declarations causes ClassCastException

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

16 years agoWhoops.. lets maintain the alphabetical ordering! :)
Adrian Cumiskey [Fri, 26 Oct 2007 13:18:44 +0000 (13:18 +0000)]
Whoops.. lets maintain the alphabetical ordering! :)

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

16 years agoMade the columns field in Table private, and created suitable accessors to it
Vincent Hennebert [Fri, 26 Oct 2007 11:20:59 +0000 (11:20 +0000)]
Made the columns field in Table private, and created suitable accessors to it

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

16 years agoMy first commit :)
Adrian Cumiskey [Fri, 26 Oct 2007 11:19:50 +0000 (11:19 +0000)]
My first commit :)

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

16 years agoMoved the creation of the columns list to the declaration of the columns field. Even...
Vincent Hennebert [Fri, 26 Oct 2007 10:25:07 +0000 (10:25 +0000)]
Moved the creation of the columns list to the declaration of the columns field. Even if there are no explicit columns the list will have to be created anyway.

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

16 years agoRemoved useless addChildNode method since it only transfered the call to the parent...
Vincent Hennebert [Fri, 26 Oct 2007 09:58:54 +0000 (09:58 +0000)]
Removed useless addChildNode method since it only transfered the call to the parent method

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

16 years agoCreated an abstract TableCellContainer class meant to contain the logic in TableRowIt...
Vincent Hennebert [Fri, 26 Oct 2007 09:43:01 +0000 (09:43 +0000)]
Created an abstract TableCellContainer class meant to contain the logic in TableRowIterator.
Factored some code common to TableBody and TableRow in it.

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

16 years agoMerged https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_in_PDF...
Jeremias Maerki [Fri, 26 Oct 2007 07:48:14 +0000 (07:48 +0000)]
Merged https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_in_PDF (563130:HEAD) into Trunk.

Adds generic structures in PDF so it is possible to embed external PDF documents, for example to support PDF files in fo:external-graphic for PDF output. See also: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200708.mbox/%3c20070806165027.5C59.DEV@jeremias-maerki.ch%3e
I tried to keep the changes on the API of the PDF library minimal but there could still be some incompatibilities for anyone who uses it separately.

This also adds support for dynamically registering an image handler. That's just a temporary solution until the image package redesign is done. But it works.

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

16 years agoSome log fine-tuning.
Jeremias Maerki [Fri, 26 Oct 2007 07:34:09 +0000 (07:34 +0000)]
Some log fine-tuning.

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

16 years agoFix for ClassCastException if non-PS extension attachments are encountered.
Jeremias Maerki [Fri, 26 Oct 2007 07:32:50 +0000 (07:32 +0000)]
Fix for ClassCastException if non-PS extension attachments are encountered.

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

16 years agoRemoved the check for borders specified on table-column/body/row in separate border...
Vincent Hennebert [Thu, 25 Oct 2007 16:26:41 +0000 (16:26 +0000)]
Removed the check for borders specified on table-column/body/row in separate border model, since this is perfectly legal: they may be retrieved by specifying "inherit" on table-cells

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

16 years agoRemoved the export statement, because it must be on a separate line in
Simon Pepping [Mon, 22 Oct 2007 19:10:23 +0000 (19:10 +0000)]
Removed the export statement, because it must be on a separate line in
plain-vanilla Bourne shells, and it is not needed. Restricted the
special setting of IFS to the section that requires it.

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

16 years agoBugzilla #43597:
Jeremias Maerki [Mon, 22 Oct 2007 10:13:34 +0000 (10:13 +0000)]
Bugzilla #43597:
Added a test file for the SVGZ case.

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

16 years agoBugzilla #43597:
Jeremias Maerki [Mon, 22 Oct 2007 10:12:40 +0000 (10:12 +0000)]
Bugzilla #43597:
Added support for SVGZ.
Submitted by: Max Berger <max.at.berger.name>

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

17 years agoCorrected typo: explicitely -> explicitly
Vincent Hennebert [Fri, 19 Oct 2007 14:32:39 +0000 (14:32 +0000)]
Corrected typo: explicitely -> explicitly

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

17 years agoAdded a news item about Adrian Cumiskey becoming a committer
Vincent Hennebert [Fri, 19 Oct 2007 09:50:03 +0000 (09:50 +0000)]
Added a news item about Adrian Cumiskey becoming a committer

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