]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
16 years agoFix for Bugzilla 45295 (already committed to the trunk with r672010, r672495 and...
Andreas L. Delmelle [Thu, 3 Jul 2008 18:25:01 +0000 (18:25 +0000)]
Fix for Bugzilla 45295 (already committed to the trunk with r672010, r672495 and r672496)

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

16 years agoUse configured source and target resolution for foreign objects in RTF output.
Jeremias Maerki [Mon, 23 Jun 2008 12:54:27 +0000 (12:54 +0000)]
Use configured source and target resolution for foreign objects in RTF output.
Fixed intrinsic size calculation for SVG images when source resolution is not 72 dpi.
Fixed calculation of px2mm values in the SVG to G2D converter (used by RTF output).

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

16 years agoBugzilla #44412:
Jeremias Maerki [Thu, 19 Jun 2008 13:03:57 +0000 (13:03 +0000)]
Bugzilla #44412:
Improvements after Vincent's feedback:
Removal of the somewhat ugly Reference.
getBreakBefore() reduced to private visibility.

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

16 years agoBugzilla #44887:
Jeremias Maerki [Wed, 18 Jun 2008 14:07:27 +0000 (14:07 +0000)]
Bugzilla #44887:
Fixed potential multi-threading problem concerning the use of DecimalFormat.

Results from performance measurements in a separate test (operation repeated 100'000 times, exemplary):
shared static variable: ~220ms (old choice, problematic!)
always create new instance: ~480ms
ThreadLocal: ~220ms (new choice)

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

16 years agoBugzilla #44412:
Jeremias Maerki [Wed, 18 Jun 2008 09:02:45 +0000 (09:02 +0000)]
Bugzilla #44412:
Regression fix for empty pages caused by multiple collapsible breaks.
No more empty block areas if a break-before occurs on the first child of an FO to match the behaviour of tables and other FO implementations (clarification by XSL WG pending).
Added an accessor interface for break-before/-after to avoid long if..else lists in BlockStackingLayoutManager.

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

16 years agoFixed potential NPE.
Jeremias Maerki [Tue, 17 Jun 2008 12:59:25 +0000 (12:59 +0000)]
Fixed potential NPE.

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

16 years agoWrong line number reported in the case of a line overflow.
Jeremias Maerki [Tue, 17 Jun 2008 08:54:07 +0000 (08:54 +0000)]
Wrong line number reported in the case of a line overflow.

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

16 years agoBugzilla #45146:
Jeremias Maerki [Tue, 17 Jun 2008 08:05:22 +0000 (08:05 +0000)]
Bugzilla #45146:
Removed duplicate LICENSE.txt and Notice.txt from the JAR.

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

16 years agoUpdate known issues.
Jeremias Maerki [Tue, 17 Jun 2008 07:58:40 +0000 (07:58 +0000)]
Update known issues.
Remove ApacheConEU logo.

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

16 years agoBugzilla #45151:
Jeremias Maerki [Tue, 17 Jun 2008 07:57:55 +0000 (07:57 +0000)]
Bugzilla #45151:
Note on the "compiling" page that Ant 1.7 is required. The README file already points to this page.

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

16 years agoSome notes on RTF and print output.
Jeremias Maerki [Wed, 11 Jun 2008 13:33:20 +0000 (13:33 +0000)]
Some notes on RTF and print output.

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

16 years agoFixed resolution handling inside AWT preview dialog.
Jeremias Maerki [Wed, 11 Jun 2008 12:18:53 +0000 (12:18 +0000)]
Fixed resolution handling inside AWT preview dialog.

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

16 years agoRestored PSImageUtils. I had deleted it prematurely. Extensions like Barcode4J rely...
Jeremias Maerki [Mon, 9 Jun 2008 12:49:45 +0000 (12:49 +0000)]
Restored PSImageUtils. I had deleted it prematurely. Extensions like Barcode4J rely on this class.

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

16 years agoFixed positioning of absolutely positioned block-containers in multi-column documents.
Jeremias Maerki [Thu, 5 Jun 2008 07:06:37 +0000 (07:06 +0000)]
Fixed positioning of absolutely positioned block-containers in multi-column documents.

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

16 years agoadded my key to KEYS, it is used for signing mvn artifacts
Maximilian Berger [Fri, 30 May 2008 06:42:17 +0000 (06:42 +0000)]
added my key to KEYS, it is used for signing mvn artifacts

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

16 years agoUpdated as per suggestions in bug 45019
Maximilian Berger [Sun, 18 May 2008 09:38:45 +0000 (09:38 +0000)]
Updated as per suggestions in bug 45019

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

16 years agoFixed rendering of fixed block-containers in AFP output. The break-out was actually...
Jeremias Maerki [Thu, 15 May 2008 07:07:18 +0000 (07:07 +0000)]
Fixed rendering of fixed block-containers in AFP output. The break-out was actually never implemented which is necessary for supporting fixed positioned viewports.

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

16 years agoRestored plug-in API compatibility with FOP 0.94. Fixes a NoSuchMethodError when...
Jeremias Maerki [Wed, 14 May 2008 14:16:49 +0000 (14:16 +0000)]
Restored plug-in API compatibility with FOP 0.94. Fixes a NoSuchMethodError when Barcode4J is run.

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

16 years agoAdded /usr/local/share/fonts as additional possible location for fonts on Unixes.
Jeremias Maerki [Thu, 8 May 2008 09:14:04 +0000 (09:14 +0000)]
Added /usr/local/share/fonts as additional possible location for fonts on Unixes.

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

16 years agoBugfix: the before border of cells below a column-spanning cell had their value taken...
Vincent Hennebert [Mon, 5 May 2008 17:47:28 +0000 (17:47 +0000)]
Bugfix: the before border of cells below a column-spanning cell had their value taken from the leading case, instead of the normal one.

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

16 years agoFixed regression causing bad positioning of block-containers if used as descendant...
Jeremias Maerki [Thu, 24 Apr 2008 16:08:53 +0000 (16:08 +0000)]
Fixed regression causing bad positioning of block-containers if used as descendant of a table-cell. This was not caught because of the lack of a test case that would have shown the problem in visual testing with BatchDiffer.
See also: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200804.mbox/%3c20080424164128.973A.DEV@jeremias-maerki.ch%3e

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

16 years agoBugzilla 41621:
Vincent Hennebert [Tue, 22 Apr 2008 15:22:31 +0000 (15:22 +0000)]
Bugzilla 41621:
- length of the penalty now correctly computed;
- AssertionError fixed.

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

16 years agoAdded missing change information.
Jeremias Maerki [Thu, 17 Apr 2008 09:10:15 +0000 (09:10 +0000)]
Added missing change information.

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

16 years agoFixed text extraction problem with ZapfDingbats and Symbol font in PDF output. These...
Jeremias Maerki [Thu, 17 Apr 2008 08:42:52 +0000 (08:42 +0000)]
Fixed text extraction problem with ZapfDingbats and Symbol font in PDF output. These fonts are symbolic and must not use an Encoding value in PDF. Applies to the built-in base 14 variant and to the case where these fonts are explicitely embedded.

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

16 years agoHeadURL was missing in the properties.
Jeremias Maerki [Thu, 17 Apr 2008 07:00:22 +0000 (07:00 +0000)]
HeadURL was missing in the properties.

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

16 years agoPerformance improvement when encoding images: Fixed an important hotspot by extending...
Jeremias Maerki [Sun, 13 Apr 2008 07:36:00 +0000 (07:36 +0000)]
Performance improvement when encoding images: Fixed an important hotspot by extending CloseBlocker from ProxyOutputStream instead of FilterOutputStream as the latter routes all write(byte[]) calls through write(int).

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

16 years agoFixed NullPointerException when loading a TrueType font using XML font metric files.
Jeremias Maerki [Sat, 12 Apr 2008 09:02:01 +0000 (09:02 +0000)]
Fixed NullPointerException when loading a TrueType font using XML font metric files.

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

16 years agoAdded version number to xml-apis-ext (as suggested by Karel Vervaeke).
Jeremias Maerki [Mon, 31 Mar 2008 07:12:40 +0000 (07:12 +0000)]
Added version number to xml-apis-ext (as suggested by Karel Vervaeke).
Moved xml-apis to same version as xml-apis-ext.
Added missing licensing info about xml-apis-ext.

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

16 years agoSet the final release date and added a news item about the 0.95beta release (the...
Vincent Hennebert [Tue, 25 Mar 2008 16:43:55 +0000 (16:43 +0000)]
Set the final release date and added a news item about the 0.95beta release (the change was made before updating the website)

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

16 years agoA nit.
Jeremias Maerki [Wed, 19 Mar 2008 17:08:57 +0000 (17:08 +0000)]
A nit.

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

16 years agoUpdated the probable date of the release
Vincent Hennebert [Tue, 18 Mar 2008 11:08:29 +0000 (11:08 +0000)]
Updated the probable date of the release

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

16 years agoRemoved the 'jdk1.4' suffix appended to the binary artifacts. There's no point in...
Vincent Hennebert [Tue, 18 Mar 2008 11:06:59 +0000 (11:06 +0000)]
Removed the 'jdk1.4' suffix appended to the binary artifacts. There's no point in making the distinction anymore since there is only one binary now

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

16 years agoSimplified the getNextKnuthElements method a little bit
Vincent Hennebert [Tue, 18 Mar 2008 10:26:32 +0000 (10:26 +0000)]
Simplified the getNextKnuthElements method a little bit

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

16 years agoChanged the documentation to reflect the move to Java 1.4 as a minimum requirement
Vincent Hennebert [Mon, 17 Mar 2008 20:00:36 +0000 (20:00 +0000)]
Changed the documentation to reflect the move to Java 1.4 as a minimum requirement

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

16 years agoBugzilla #44621: when the after border of a cell, in the trailing case, is bigger...
Vincent Hennebert [Mon, 17 Mar 2008 17:48:44 +0000 (17:48 +0000)]
Bugzilla #44621: when the after border of a cell, in the trailing case, is bigger than in the normal case, the generated sequence of Knuth elements was wrong, leading to content being swallowed
This is a partial fix only: the content is no longer swallowed, but the penalty is wrong (shorter than it should be). This will lead to the table overflowing the region-body without warning.

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

16 years agoPartially reverted revision 637791:
Jeremias Maerki [Mon, 17 Mar 2008 12:24:33 +0000 (12:24 +0000)]
Partially reverted revision 637791:
Restored JAI as a required dependency for distribution builds (used for error diffusion dithering in the PCL Renderer). It is optional otherwise.
Updated the licensing info and release notes to make the changes clear.

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

16 years agoRemoved old image adapters.
Jeremias Maerki [Mon, 17 Mar 2008 08:59:51 +0000 (08:59 +0000)]
Removed old image adapters.
Removed support for Java 1.3 building as it didn't work anymore anyway.
Added a check to require Java 1.4 for building.

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

16 years agoBugzilla #44412:
Jeremias Maerki [Fri, 14 Mar 2008 14:41:03 +0000 (14:41 +0000)]
Bugzilla #44412:
Bugfix: The before border of a block is no longer swallowed if its first child issues a break-before.

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

16 years agoBugzilla #44412:
Vincent Hennebert [Fri, 14 Mar 2008 12:19:45 +0000 (12:19 +0000)]
Bugzilla #44412:
Bugfix: When there was a forced break after a block with (conditional) borders the border-after wasn't painted.
Changes made by Jeremias

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

16 years agoSet the version to 0.95beta
Vincent Hennebert [Wed, 12 Mar 2008 16:28:00 +0000 (16:28 +0000)]
Set the version to 0.95beta

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

16 years agoUpdated copyright years
Vincent Hennebert [Wed, 12 Mar 2008 16:24:48 +0000 (16:24 +0000)]
Updated copyright years

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

16 years agoBranch for the 0.95 release
Vincent Hennebert [Wed, 12 Mar 2008 16:05:07 +0000 (16:05 +0000)]
Branch for the 0.95 release

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

16 years agoUpdate of the documentation before the release.
Vincent Hennebert [Wed, 12 Mar 2008 12:19:15 +0000 (12:19 +0000)]
Update of the documentation before the release.
Added notes about improved checks and conformance in tables.

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

16 years agoUpdated the compliance page. Re-added the 0.94 column since there are some noteworthy...
Vincent Hennebert [Wed, 12 Mar 2008 12:14:51 +0000 (12:14 +0000)]
Updated the compliance page. Re-added the 0.94 column since there are some noteworthy changes between the 0.94 and 0.95 versions

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

16 years agoSince compliance.ihtml is now the source file and it would cost too much to revert...
Vincent Hennebert [Wed, 12 Mar 2008 10:51:09 +0000 (10:51 +0000)]
Since compliance.ihtml is now the source file and it would cost too much to revert to an xml version, tidied the file a bit. No content change.

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

16 years agoUpdated the disabled-testcases.xml file: re-enabled testcases which could easily...
Vincent Hennebert [Tue, 11 Mar 2008 15:13:51 +0000 (15:13 +0000)]
Updated the disabled-testcases.xml file: re-enabled testcases which could easily be updated, removed the other ones which anyway were superseded by more complete ones

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

16 years agoForgot to add the testcase for forced break vs explicit row height in revision 635686
Vincent Hennebert [Tue, 11 Mar 2008 15:05:27 +0000 (15:05 +0000)]
Forgot to add the testcase for forced break vs explicit row height in revision 635686

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

16 years agoFixed a copy-paste error (getPaddingStart instead of getPaddingEnd)
Vincent Hennebert [Tue, 11 Mar 2008 11:02:27 +0000 (11:02 +0000)]
Fixed a copy-paste error (getPaddingStart instead of getPaddingEnd)

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

16 years agoBugfix for row/body/col background painting when padding is used in the table-cells.
Jeremias Maerki [Mon, 10 Mar 2008 22:39:38 +0000 (22:39 +0000)]
Bugfix for row/body/col background painting when padding is used in the table-cells.

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

16 years agoNeed to clean up after myself.
Jeremias Maerki [Mon, 10 Mar 2008 21:28:08 +0000 (21:28 +0000)]
Need to clean up after myself.

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

16 years agoBugfix: forced break ignored when the minimum height of a table-row isn't reached
Vincent Hennebert [Mon, 10 Mar 2008 20:52:43 +0000 (20:52 +0000)]
Bugfix: forced break ignored when the minimum height of a table-row isn't reached

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

16 years agoFixed NPE in BlockContainerLayoutManager when used as a child of an inline-level...
Jeremias Maerki [Mon, 10 Mar 2008 10:06:37 +0000 (10:06 +0000)]
Fixed NPE in BlockContainerLayoutManager when used as a child of an inline-level FO. Split IP and BP stack limits in LayoutContext (there's now a certain amount of redundancy with "refIPD" in LayoutContext which I didn't resolve).
Areas are now generated for block-level FOs when used as children of inline-level FOs.
ClassCastException in ListLayoutManager.mustKeepTogether() fixed (occured if used as child of an inline-level FO).

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

16 years agoAdded some notes on getting the same output for PDF/PS and Java2D-based renderers.
Jeremias Maerki [Thu, 6 Mar 2008 08:21:06 +0000 (08:21 +0000)]
Added some notes on getting the same output for PDF/PS and Java2D-based renderers.

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

16 years ago- Fixed the rendering of the area of a table corresponding to border-separation,...
Vincent Hennebert [Wed, 5 Mar 2008 18:22:06 +0000 (18:22 +0000)]
- Fixed the rendering of the area of a table corresponding to border-separation, which must be filled with the background of the table, and not the rows.
- Improved conformance: even if a table-cell spans several rows its background must correspond to the first row spanned.
- Added support for background on fo:table-column and fo:table-header/footer/body
  TODO more testcases needed, especially tables with collapsing border model and tables broken over pages

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

16 years agoUpdate README.
Jeremias Maerki [Tue, 4 Mar 2008 17:39:08 +0000 (17:39 +0000)]
Update README.

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

16 years agoUpdate FOP poster for OpenExpo 2008 in Bern.
Jeremias Maerki [Tue, 4 Mar 2008 17:35:52 +0000 (17:35 +0000)]
Update FOP poster for OpenExpo 2008 in Bern.
This fixes various warnings, updates the history and simplifies configuration (if you're on Windows, it will work out of the box because all fonts are available).

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

16 years agoBugfix: If there's shrink available in an auto-height situation, the difference is...
Jeremias Maerki [Tue, 4 Mar 2008 17:30:40 +0000 (17:30 +0000)]
Bugfix: If there's shrink available in an auto-height situation, the difference is now set to 0 in order to avoid unwanted effects. IOW, never shrink in an auto-height situation.

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

16 years agoBugfix: Without the system ID (base URI), the XSLT processor cannot resolve document...
Jeremias Maerki [Tue, 4 Mar 2008 16:13:17 +0000 (16:13 +0000)]
Bugfix: Without the system ID (base URI), the XSLT processor cannot resolve document(<uri>, .) function calls correctly.

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

16 years agoHa! Almost forgot the most important change: Java 1.4!
Jeremias Maerki [Tue, 4 Mar 2008 13:40:11 +0000 (13:40 +0000)]
Ha! Almost forgot the most important change: Java 1.4!
Plus a note on image libraries.

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

16 years agoNoted some of the major change areas in this release.
Jeremias Maerki [Tue, 4 Mar 2008 13:25:12 +0000 (13:25 +0000)]
Noted some of the major change areas in this release.

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

16 years agoCopyright year
Jeremias Maerki [Tue, 4 Mar 2008 12:59:57 +0000 (12:59 +0000)]
Copyright year

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

16 years agoRenamed to 0.95beta.
Jeremias Maerki [Tue, 4 Mar 2008 11:50:34 +0000 (11:50 +0000)]
Renamed to 0.95beta.
Made changes and release notes work again by switching to the projectInfo plug-in rather than relying on our local copy of the stylesheets. There's a little bug (missing images) in the release notes for which I submitted a patch (https://issues.apache.org/jira/browse/FOR-1076) to Forrest.
Brought status.xml more in line with the official status DTD.

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

16 years agoUsing Forrest Trunk from now on (in order to use FOP 0.94 for PDFs). We'll switch...
Jeremias Maerki [Tue, 4 Mar 2008 09:15:50 +0000 (09:15 +0000)]
Using Forrest Trunk from now on (in order to use FOP 0.94 for PDFs). We'll switch to a stable release as soon as a release with a new FOP version is available.

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

16 years agoVarious updates.
Jeremias Maerki [Tue, 4 Mar 2008 09:06:03 +0000 (09:06 +0000)]
Various updates.

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

16 years agoAdded ApacheCon US 2008.
Jeremias Maerki [Tue, 4 Mar 2008 08:39:12 +0000 (08:39 +0000)]
Added ApacheCon US 2008.

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

16 years agoSwitched to Commons 1.3 being released.
Jeremias Maerki [Tue, 4 Mar 2008 08:38:36 +0000 (08:38 +0000)]
Switched to Commons 1.3 being released.

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

16 years agoRemoved 0.93 and 0.94, added 0.95. There's no noticeable difference between 0.94...
Jeremias Maerki [Tue, 4 Mar 2008 08:37:05 +0000 (08:37 +0000)]
Removed 0.93 and 0.94, added 0.95. There's no noticeable difference between 0.94 and 0.95 so I removed a column to regain some space.

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

16 years agoTried to make font configuration easier to understand by splitting the basics from...
Jeremias Maerki [Mon, 3 Mar 2008 07:51:14 +0000 (07:51 +0000)]
Tried to make font configuration easier to understand by splitting the basics from the advanced stuff. Otherwise, people will believe for the next 100 years that generating XML font metrics file is still always necessary.

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

16 years agoUpdated the Apache FOP Quick Start to include a 'Hello World' document and make it...
Clay Leeds [Mon, 3 Mar 2008 04:44:28 +0000 (04:44 +0000)]
Updated the Apache FOP Quick Start to include a 'Hello World' document and make it more geared toward newbies (thanks Jeremias!).

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

16 years agoFurther preparations for the 0.95 release. This was tested with the latest Forrest...
Jeremias Maerki [Sun, 2 Mar 2008 16:53:24 +0000 (16:53 +0000)]
Further preparations for the 0.95 release. This was tested with the latest Forrest Trunk (which uses FOP 0.94 for the PDFs).

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

16 years agoAdding Quick Start Guide.
Clay Leeds [Sun, 2 Mar 2008 06:42:02 +0000 (06:42 +0000)]
Adding Quick Start Guide.

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

16 years agoPreparing for FOP 0.95 release.
Clay Leeds [Sat, 1 Mar 2008 07:10:03 +0000 (07:10 +0000)]
Preparing for FOP 0.95 release.

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

16 years agoBugfix: Disabled setting widths from AFM since we're using WinAnsiEncoding internally...
Jeremias Maerki [Fri, 29 Feb 2008 14:03:01 +0000 (14:03 +0000)]
Bugfix: Disabled setting widths from AFM since we're using WinAnsiEncoding internally but the AFM delivers the character widths using the font's native encoding which causes problems with some characters.

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

16 years agoMinor tweak: switch from toString() to getLocalizedMessage() for Exceptions passed...
Andreas L. Delmelle [Thu, 28 Feb 2008 21:33:11 +0000 (21:33 +0000)]
Minor tweak: switch from toString() to getLocalizedMessage() for Exceptions passed into warning()

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

16 years agoMinor tweaks/updates:
Andreas L. Delmelle [Thu, 28 Feb 2008 21:29:04 +0000 (21:29 +0000)]
Minor tweaks/updates:
- change toString() to getLocalizedMessage() for exceptions passed to warning()
- removed deprecated method isLocatorDisabled()
- removed superfluous try-catch block
- some javadoc changes

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

16 years agoSlight improvement for thin lines in Java2D/AWT output.
Jeremias Maerki [Thu, 28 Feb 2008 14:30:46 +0000 (14:30 +0000)]
Slight improvement for thin lines in Java2D/AWT output.
Submitted by: Gordon Cooke <cookeg.at.btinternet.com>

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

16 years agobpBeforeNormal and bpAfterNormal already include border-separation, no need to re...
Vincent Hennebert [Wed, 27 Feb 2008 15:09:06 +0000 (15:09 +0000)]
bpBeforeNormal and bpAfterNormal already include border-separation, no need to re-substract it from the box height

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

16 years agoBugzilla #44497:
Jeremias Maerki [Wed, 27 Feb 2008 13:00:54 +0000 (13:00 +0000)]
Bugzilla #44497:
AFP Renderer: Bugfix for broken reference orientation on absolutely positioned block-containers.

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

16 years agoMoved the getBody method into PrimaryGridUnit, since it's only needed there and that...
Vincent Hennebert [Tue, 26 Feb 2008 16:23:15 +0000 (16:23 +0000)]
Moved the getBody method into PrimaryGridUnit, since it's only needed there and that allows to simplify EmptyGridUnit

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

16 years agoGOCA support temporarily removed.
Jeremias Maerki [Tue, 26 Feb 2008 14:30:50 +0000 (14:30 +0000)]
GOCA support temporarily removed.

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

16 years agoReverted revision 603590 which broke the AFP renderer. The other changes after revisi...
Jeremias Maerki [Tue, 26 Feb 2008 11:07:20 +0000 (11:07 +0000)]
Reverted revision 603590 which broke the AFP renderer. The other changes after revision 603590 should be preserved as well as possible, including the switch to the new image library.
Adjustments for change in behaviour of the block viewport CTM.
Bugfix: SVG painting is now always done on a color canvas (like for PCL) because Batik cannot handle gradients on a grayscale canvas.

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

16 years ago- added full support for keep-with-previous on table-row and in table-cell
Vincent Hennebert [Mon, 25 Feb 2008 11:30:43 +0000 (11:30 +0000)]
- added full support for keep-with-previous on table-row and in table-cell
- added more testcases for keeps in tables
- assign the right table-row element to grid units that are not on the first row spanned
- slightly re-worked the RowGroupBuilder interface to make it more SAX-like

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

16 years agoBugfix: When scale-up/down-to-fit was used, the image scaling rule was not always...
Jeremias Maerki [Mon, 25 Feb 2008 09:17:43 +0000 (09:17 +0000)]
Bugfix: When scale-up/down-to-fit was used, the image scaling rule was not always respected.

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

16 years agoFixed backward compatiblity with 1.4
Maximilian Berger [Fri, 22 Feb 2008 14:17:20 +0000 (14:17 +0000)]
Fixed backward compatiblity with 1.4

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

16 years agoTurned on XInclude processing for the main source given on the command line.
Maximilian Berger [Thu, 21 Feb 2008 18:22:22 +0000 (18:22 +0000)]
Turned on XInclude processing for the main source given on the command line.

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

16 years agoMoved me to commiters :)
Maximilian Berger [Thu, 21 Feb 2008 12:52:33 +0000 (12:52 +0000)]
Moved me to commiters :)

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

16 years agoFixed a bug leading to the content of row-spanning cells being duplicated at page...
Vincent Hennebert [Tue, 19 Feb 2008 17:32:18 +0000 (17:32 +0000)]
Fixed a bug leading to the content of row-spanning cells being duplicated at page breaks, when it's small enough to fit on the previous row

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

16 years agoAdded support for reading the OS/2 table's usWeightClass value which supports the...
Jeremias Maerki [Tue, 19 Feb 2008 15:47:48 +0000 (15:47 +0000)]
Added support for reading the OS/2 table's usWeightClass value which supports the same font weight values as we use in XSL-FO.
However, in my tests these values proved to be unreliable (like ExtraBlack fonts returning 400). I just hooked the whole thing in so this work isn't lost if anyone has an idea to make it work. The FontInfoFinder will continue to only use guessed font weights for now.

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

16 years agoFixed NPE when no AFM is available and the PFM didn't provide a xHeight.
Jeremias Maerki [Tue, 19 Feb 2008 15:43:31 +0000 (15:43 +0000)]
Fixed NPE when no AFM is available and the PFM didn't provide a xHeight.

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

16 years agoBugfix: a specified font-weight of 100 could result into a resolved font-weight of...
Jeremias Maerki [Tue, 19 Feb 2008 14:16:08 +0000 (14:16 +0000)]
Bugfix: a specified font-weight of 100 could result into a resolved font-weight of 400 even when a font with weight 200 is registered.

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

16 years agoBugzilla #44451:
Jeremias Maerki [Tue, 19 Feb 2008 13:08:39 +0000 (13:08 +0000)]
Bugzilla #44451:
The patch fixes two problems:
- If distinct fonts declare the same font family name, the resulting font mapping is currently arbitrary; now, a name-similarity heuristic is used to prioritize the font mappings.
- "Medium" and "demi" fonts are now recognized as "bold", solving several real-world problems (although this solution may be an oversimplification).
Submitted by: Justus Piater <justus-bulk.at.piater.name>

Patch modified by jeremias:
- Style fixes (tab chars)
- Refined font weight identification: medium -> 500, semi/demi -> 600

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

16 years agoStyle only: removed spurious ^M characters at the end of lines
Vincent Hennebert [Tue, 19 Feb 2008 09:36:23 +0000 (09:36 +0000)]
Style only: removed spurious ^M characters at the end of lines

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

16 years agoMakes sense to mention the removal of deprecated methods.
Jeremias Maerki [Mon, 18 Feb 2008 17:30:15 +0000 (17:30 +0000)]
Makes sense to mention the removal of deprecated methods.

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

16 years agoMade the necessary changes to remove the long-standing deprecations in the apps packa...
Jeremias Maerki [Mon, 18 Feb 2008 17:24:23 +0000 (17:24 +0000)]
Made the necessary changes to remove the long-standing deprecations in the apps package as discussed.

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

16 years agoIt currently doesn't work properly without a layout-master-set.
Jeremias Maerki [Mon, 18 Feb 2008 17:06:39 +0000 (17:06 +0000)]
It currently doesn't work properly without a layout-master-set.

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

16 years agoReducing noise. Better messages.
Jeremias Maerki [Mon, 18 Feb 2008 16:45:18 +0000 (16:45 +0000)]
Reducing noise. Better messages.

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

16 years agofop-rgb-icc() function did not make the round-trip which caused an error in the color...
Jeremias Maerki [Mon, 18 Feb 2008 15:02:39 +0000 (15:02 +0000)]
fop-rgb-icc() function did not make the round-trip which caused an error in the color_1.xml test case (intermediate format tests). Added a unit test to test the parsing and round-trip.
Documented the cmyk() function.

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

16 years agoExtract original exception in BasePDFTestCase.java. They are normally embedded in...
Jeremias Maerki [Mon, 18 Feb 2008 09:41:03 +0000 (09:41 +0000)]
Extract original exception in BasePDFTestCase.java. They are normally embedded in a TransformerException and sometimes additionally in a SAXException (depending on the JAXP implementation).
Restore validation for Base14 font check when PDF/A is active. Got lost when I refactored to generic structures in the PDF library.

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

16 years agoNo stack traces with missing images.
Jeremias Maerki [Mon, 18 Feb 2008 09:00:08 +0000 (09:00 +0000)]
No stack traces with missing images.

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

16 years agoExtracted most of the code in CodePointMapping (generated by XSLT) into a base class...
Jeremias Maerki [Sat, 16 Feb 2008 12:28:48 +0000 (12:28 +0000)]
Extracted most of the code in CodePointMapping (generated by XSLT) into a base class for easier maintenance and proper Javadocs.
Deprecated FOP's copy of Glyphs.java.
Took a different approach at handling mapping alternatives for single-byte fonts. The AFM now only lists the main character. Substitution is done through Glyphs.java later in CodePointMapping.
Fixed a problem in Type1FontLoader where the PFM overrides asc/desc/cap/x even though the AFM provides the values. It showed itself because the URW Symbol font has wrong values in the PFM.
Added a note to myself in Type1FontLoader to implement the "Flags" value. The whole thing still seems to work without that part.
Added a glyph name list to the CodePointMapping so we can work with the original list from the AFM. Otherwise, various mapping operations to and from resulted in unwanted mappings (because the mappings are not necessarily 1:1) and in the end the PDF received an incorrect Encoding map. Now there's no such problem anymore.

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