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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years agoBugfix: If auto-detection is enabled, auto-detection didn't get done starting with...
Jeremias Maerki [Tue, 16 Oct 2007 15:12:45 +0000 (15:12 +0000)]
Bugfix: If auto-detection is enabled, auto-detection didn't get done starting with the second rendering run in the same JVM. Static variables are dangerous!

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

17 years agoBugzilla #43616: bug in the computation of remaining height that caused extra space...
Vincent Hennebert [Tue, 16 Oct 2007 13:44:19 +0000 (13:44 +0000)]
Bugzilla #43616: bug in the computation of remaining height that caused extra space to appear in tables

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

17 years agoAdd OSSummit in Asia
Jeremias Maerki [Mon, 15 Oct 2007 13:54:08 +0000 (13:54 +0000)]
Add OSSummit in Asia

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

17 years agoBugfix for NPE with empty table-row (regression from 0.93).
Jeremias Maerki [Mon, 15 Oct 2007 07:23:37 +0000 (07:23 +0000)]
Bugfix for NPE with empty table-row (regression from 0.93).

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

17 years agoAdded a configuration setting to the PCL renderer that lets you disable PJL commands.
Jeremias Maerki [Fri, 5 Oct 2007 14:26:20 +0000 (14:26 +0000)]
Added a configuration setting to the PCL renderer that lets you disable PJL commands.

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

17 years agoFixed a bug in the test. MediaPosition takes an integer.
Jeremias Maerki [Fri, 5 Oct 2007 13:54:17 +0000 (13:54 +0000)]
Fixed a bug in the test. MediaPosition takes an integer.

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

17 years agoDon't use deprecated useRGBColor() from PSGenerator anymore.
Jeremias Maerki [Fri, 5 Oct 2007 13:37:04 +0000 (13:37 +0000)]
Don't use deprecated useRGBColor() from PSGenerator anymore.

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

17 years agoConfiguration settings for "language-level" and "optimize-resources" got lost when...
Jeremias Maerki [Fri, 5 Oct 2007 13:33:45 +0000 (13:33 +0000)]
Configuration settings for "language-level" and "optimize-resources" got lost when the patch for revision 542237 got applied. This is restored now.
See http://svn.apache.org/viewvc?view=rev&revision=542237

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

17 years agoBugzilla #43464:
Jeremias Maerki [Fri, 5 Oct 2007 12:34:33 +0000 (12:34 +0000)]
Bugzilla #43464:
There is no need to cast the sources into a StreamSource to determine
the SystemId. With this cast DOMSources or other non-StreamSources lead in a
ClassCastException.
Submitted by: Bruno Feurer <dev.at.brunof.com>

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

17 years agoAdded a test case for AFP extension to make sure restoration from IF is correct.
Jeremias Maerki [Fri, 5 Oct 2007 09:57:35 +0000 (09:57 +0000)]
Added a test case for AFP extension to make sure restoration from IF is correct.

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

17 years agoBugzilla #43439:
Jeremias Maerki [Fri, 5 Oct 2007 09:56:12 +0000 (09:56 +0000)]
Bugzilla #43439:
Fixed the restoration of the TLE values from the intermediate format for the AFP extension elements.
Submitted by: Adrian Cumiskey <dev.at.cumiskey.com>

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

17 years agoBugzilla #43041:
Jeremias Maerki [Fri, 5 Oct 2007 08:48:15 +0000 (08:48 +0000)]
Bugzilla #43041:
Added a configuration setting for the renderer/device resolution to the AFP renderer.
Many Checkstyle violations fixed.
Submitted by: Adrian Cumiskey <dev.at.cumiskey.com>

Changes to the patch by jeremias:
- Bugfix: SVGs were rendered in the wrong size when the target-resolution and the renderer-resolution differ.

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

17 years agoBugzilla #43070
Chris Bowditch [Fri, 5 Oct 2007 08:36:48 +0000 (08:36 +0000)]
Bugzilla #43070
Postscript extension : comment before and after page
Submitted by Adrian Cumiskey <dev.at.cumiskey.com>

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

17 years agoBugzilla #42144
Chris Bowditch [Thu, 4 Oct 2007 14:03:03 +0000 (14:03 +0000)]
Bugzilla #42144
Missing File from previous commit
Submitted by Adrian Cumiskey <dev.at.cumiskey.com>

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

17 years agoBugzilla #43184
Chris Bowditch [Thu, 4 Oct 2007 13:56:55 +0000 (13:56 +0000)]
Bugzilla #43184
I checked in the changes to xmlgraphics-commons source repo, but forgot to commit the updated JAR to the FOP distro. So here it is.
Submitted by Adrian Cumiskey <dev.at.cumiskey.com>

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

17 years agoBugzilla #42144
Chris Bowditch [Thu, 4 Oct 2007 13:51:25 +0000 (13:51 +0000)]
Bugzilla #42144
Safely set postscript page device dictionary
Submitted by Adrian Cumiskey <dev.at.cumiskey.com>

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

17 years agoRemoved unnecessary dependency on Batik in the "fo" package.
Jeremias Maerki [Thu, 4 Oct 2007 09:42:00 +0000 (09:42 +0000)]
Removed unnecessary dependency on Batik in the "fo" package.

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

17 years agoBugzilla #43542:
Jeremias Maerki [Thu, 4 Oct 2007 09:04:43 +0000 (09:04 +0000)]
Bugzilla #43542:
Removed dependency on Xalan's XML utilities. Used a method from Commons IO instead.

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

17 years agoMetafocus has renamed their product.
Jeremias Maerki [Mon, 1 Oct 2007 08:00:28 +0000 (08:00 +0000)]
Metafocus has renamed their product.

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

17 years agoCleanup: remove unused imports
Andreas L. Delmelle [Sat, 22 Sep 2007 09:52:04 +0000 (09:52 +0000)]
Cleanup: remove unused imports

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

17 years agoInlineStackingLM should not be instantiated directly -> make abstract
Andreas L. Delmelle [Sat, 22 Sep 2007 09:51:16 +0000 (09:51 +0000)]
InlineStackingLM should not be instantiated directly -> make abstract

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

17 years agoSlight correction: part of the issue has already been resolved
Andreas L. Delmelle [Sat, 22 Sep 2007 09:50:18 +0000 (09:50 +0000)]
Slight correction: part of the issue has already been resolved

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

17 years agoPropertyCache phase 2:
Andreas L. Delmelle [Fri, 21 Sep 2007 22:51:22 +0000 (22:51 +0000)]
PropertyCache phase 2:
        * improvement of the PropertyCache itself should guarantee acceptable
          performance of the static caches in multi-session environments, which is
          a possible problem with synchronizedMap
        * changed CommonFont to use the cache:
          added CachedCommonFont to contain the properties that are always cacheable
          CommonFont itself is only cached if the remaining properties are absolutes
        * changed CommonHyphenation, KeepProperty, ColorProperty and FontFamilyProperty
          to use the cache

Facilitate the implementation for font-selection-strategy:
        * Changed FontInfo.fontLookup to always return an array of FontTriplet
        * Changed CommonFont.getFontState to return an array of FontTriplet
        * Initial modifications to the related LMs: initialized with
          the font corresponding to the first of the triplets

This line, and those below, will be ignored--

M    src/java/org/apache/fop/render/rtf/TextAttributesConverter.java
M    src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java
M    src/java/org/apache/fop/layoutmgr/inline/InlineLayoutManager.java
M    src/java/org/apache/fop/layoutmgr/inline/PageNumberCitationLayoutManager.java
M    src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java
M    src/java/org/apache/fop/layoutmgr/inline/PageNumberLayoutManager.java
M    src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
M    src/java/org/apache/fop/layoutmgr/inline/CharacterLayoutManager.java
M    src/java/org/apache/fop/layoutmgr/inline/LeaderLayoutManager.java
M    src/java/org/apache/fop/fonts/FontInfo.java
M    src/java/org/apache/fop/fo/properties/CommonHyphenation.java
M    src/java/org/apache/fop/fo/properties/CommonAccessibility.java
M    src/java/org/apache/fop/fo/properties/CompoundPropertyMaker.java
M    src/java/org/apache/fop/fo/properties/FontFamilyProperty.java
M    src/java/org/apache/fop/fo/properties/FixedLength.java
M    src/java/org/apache/fop/fo/properties/PropertyCache.java
M    src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
M    src/java/org/apache/fop/fo/properties/CommonFont.java
M    src/java/org/apache/fop/fo/properties/ColorProperty.java
M    src/java/org/apache/fop/fo/properties/KeepProperty.java
M    src/java/org/apache/fop/fo/PropertyList.java
M    src/java/org/apache/fop/fo/FOPropertyMapping.java
M    src/java/org/apache/fop/fo/expr/PropertyParser.java
M    src/java/org/apache/fop/fo/expr/ICCColorFunction.java
M    src/java/org/apache/fop/fo/expr/CMYKcolorFunction.java
M    src/java/org/apache/fop/fo/expr/RGBColorFunction.java
M    src/java/org/apache/fop/fo/expr/SystemColorFunction.java
M    status.xml

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

17 years agoUndo unnecessary changes of previous commit (r578197)
Andreas L. Delmelle [Fri, 21 Sep 2007 16:32:00 +0000 (16:32 +0000)]
Undo unnecessary changes of previous commit (r578197)

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

17 years agoFix behavior of from-nearest-specified-value(): the value should be that of 'the...
Andreas L. Delmelle [Fri, 21 Sep 2007 16:27:33 +0000 (16:27 +0000)]
Fix behavior of from-nearest-specified-value(): the value should be that of 'the closest ancestor', so the iteration should start with the parent PropertyList.

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

17 years agoBugfix: non-collapsed white-space caused ArrayIndexOutOfBoundsException
Andreas L. Delmelle [Thu, 20 Sep 2007 20:11:05 +0000 (20:11 +0000)]
Bugfix: non-collapsed white-space caused ArrayIndexOutOfBoundsException

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

17 years agoBugfix: non-collapsed white-space caused ArrayIndexOutOfBoundsException
Andreas L. Delmelle [Thu, 20 Sep 2007 20:00:45 +0000 (20:00 +0000)]
Bugfix: non-collapsed white-space caused ArrayIndexOutOfBoundsException

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

17 years agoCorrection: Added missing file for r576095
Andreas L. Delmelle [Sun, 16 Sep 2007 13:03:09 +0000 (13:03 +0000)]
Correction: Added missing file for r576095

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

17 years agoBugzilla 42705: Fixed swallowing PCDATA during white-space removal in retrieved markers.
Andreas L. Delmelle [Sun, 16 Sep 2007 12:52:28 +0000 (12:52 +0000)]
Bugzilla 42705: Fixed swallowing PCDATA during white-space removal in retrieved markers.

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

17 years agoBugzilla 42703: Fixed incorrect white-space removal in retrieved markers.
Andreas L. Delmelle [Sun, 16 Sep 2007 10:45:05 +0000 (10:45 +0000)]
Bugzilla 42703: Fixed incorrect white-space removal in retrieved markers.

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

17 years agoSlight correction in the 0.94 font docs.
Andreas L. Delmelle [Sat, 8 Sep 2007 08:21:51 +0000 (08:21 +0000)]
Slight correction in the 0.94 font docs.

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