]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
18 years agoExtend exclude pattern for JAI-dependant classes.
Jeremias Maerki [Fri, 28 Apr 2006 09:44:44 +0000 (09:44 +0000)]
Extend exclude pattern for JAI-dependant classes.

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

18 years agoUpdate to PCL documentation.
Jeremias Maerki [Fri, 28 Apr 2006 09:39:41 +0000 (09:39 +0000)]
Update to PCL documentation.

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

18 years agoIntroduced "ignored namespaces" list on FopFactory. Attributes from ignored namespace...
Jeremias Maerki [Fri, 28 Apr 2006 08:51:27 +0000 (08:51 +0000)]
Introduced "ignored namespaces" list on FopFactory. Attributes from ignored namespaces are not complained about. Not done for elements, yet.
Added support for foreign attributes (attributes in a non-FO namespace) on formatting objects, for example to specify additional (proprietary) hints for rendering i-f-o and e-g. First usage example is PCLRendererContext which the PCLGraphics2DAdapter uses to decide whether to paint natively using HP GL/2 or using a bitmap.

PCL Renderer revived: Basic framework constructed based on the old one. Still incomplete (no border painting, incomplete Graphics2D implementation, problems with reference orientation, no kerning etc.). The PCL Renderer implements PCL5 (monochrome) and HP GL/2. Work in progress!
Added UnitConv helper class which could also be useful elsewhere (Could be a candidate for Commons).

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

18 years agoMore missing AFP Renderer files as identified by JM
Manuel Mall [Thu, 27 Apr 2006 15:26:00 +0000 (15:26 +0000)]
More missing AFP Renderer files as identified by JM

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

18 years agoMissing AFP Renderer file as identified by JM
Manuel Mall [Thu, 27 Apr 2006 15:21:05 +0000 (15:21 +0000)]
Missing AFP Renderer file as identified by JM

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

18 years agoAFP Renderer as per IP clearance (http://mail-archives.apache.org/mod_mbox/xmlgraphic...
Manuel Mall [Thu, 27 Apr 2006 15:08:17 +0000 (15:08 +0000)]
AFP Renderer as per IP clearance (http://mail-archives.apache.org/mod_mbox/xmlgraphics-general/200604.mbox/%3c20060426085421.B456.DEV@jeremias-maerki.ch%3e) plus some further corrections and changes made by manuel@apache.org since

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

18 years agoMinor correction to whitespace handling to ensure non space whitespace is always...
Manuel Mall [Thu, 27 Apr 2006 14:37:38 +0000 (14:37 +0000)]
Minor correction to whitespace handling to ensure non space whitespace is always converted to a space

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

18 years agoPrevious commit of disabled-testcases.xml was broken
Manuel Mall [Thu, 27 Apr 2006 14:18:48 +0000 (14:18 +0000)]
Previous commit of disabled-testcases.xml was broken

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

18 years agoTest case for Bug 39414
Manuel Mall [Thu, 27 Apr 2006 10:21:04 +0000 (10:21 +0000)]
Test case for Bug 39414

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

18 years agoBugzilla #39416:
Jeremias Maerki [Thu, 27 Apr 2006 07:33:19 +0000 (07:33 +0000)]
Bugzilla #39416:
JDK 1.3 compatibility.
Added missing serializer*.jar to the classpath.

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

18 years agoBugzilla #39416:
Jeremias Maerki [Thu, 27 Apr 2006 07:25:21 +0000 (07:25 +0000)]
Bugzilla #39416:
Fixed classpath for the embedding example.

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

18 years agoBugzilla #39416:
Jeremias Maerki [Thu, 27 Apr 2006 07:24:31 +0000 (07:24 +0000)]
Bugzilla #39416:
Fixed classpath for the embedding example.
Removed all build.* scripts following Ant best practices.
Removed a deprecation warning in ExampleConcat.

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

18 years agoFixed bad URL. Bad URL\!
Clay Leeds [Wed, 26 Apr 2006 21:28:28 +0000 (21:28 +0000)]
Fixed bad URL. Bad URL\!

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

18 years agoContent in block-containers makes better use of shrink to fit content vertically...
Jeremias Maerki [Tue, 25 Apr 2006 17:03:49 +0000 (17:03 +0000)]
Content in block-containers makes better use of shrink to fit content vertically into the available area. This can be used indirectly to justify content vertically in a block-container.
PageBreakingAlgorithm now writes to a different logger than its base class. Makes debugging easier.
Some minor logging improvements to improve clarity.

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

18 years agoBugfix: basic-links with internal destinations in documents with multiple page-sequen...
Jeremias Maerki [Mon, 24 Apr 2006 18:39:05 +0000 (18:39 +0000)]
Bugfix: basic-links with internal destinations in documents with multiple page-sequences sometimes pointed at the wrong page.

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

18 years agoFixed a typo. Thanks, Matthew East.
Jeremias Maerki [Mon, 24 Apr 2006 14:06:35 +0000 (14:06 +0000)]
Fixed a typo. Thanks, Matthew East.

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

18 years agoUse JAVA_HOME environment variable if it is available.
Jeremias Maerki [Sun, 23 Apr 2006 14:45:17 +0000 (14:45 +0000)]
Use JAVA_HOME environment variable if it is available.

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

18 years agoBypass URI resolution for "data:" URLs (RFC 2397). If a large data URL is given to...
Jeremias Maerki [Sun, 23 Apr 2006 12:16:54 +0000 (12:16 +0000)]
Bypass URI resolution for "data:" URLs (RFC 2397). If a large data URL is given to Apache XML Commons Resolver, it tries to construct a java.net.URL from it which takes forever and fails in the end when no protocol handler for "data" URLs is installed.

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

18 years agoBugfix: Fixed ClassCastException when retrieve-marker is used as a direct child if...
Jeremias Maerki [Sun, 23 Apr 2006 11:35:19 +0000 (11:35 +0000)]
Bugfix: Fixed ClassCastException when retrieve-marker is used as a direct child if static-content in which case leading and trailing white space is not properly removed.

Note: This is probably more a hack than anything else, but it fixes the problem for now. If anyone has a better solution, please feel free to improve.

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

18 years agoBugzilla #39285:
Jeremias Maerki [Sun, 23 Apr 2006 10:49:42 +0000 (10:49 +0000)]
Bugzilla #39285:
Bugfix: Fixed OutOfMemoryException with long data URLs (RFC 2397).

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

18 years agoBugzilla #39118:
Jeremias Maerki [Sun, 23 Apr 2006 09:31:08 +0000 (09:31 +0000)]
Bugzilla #39118:
Initial support for page-number-citation-last (XSL 1.1). Works without problems only for page-sequence so far.
Submitted by: Pierre-Henri Kraus <phkraus.at.skynet.be>

Modifications to the patch by jeremias during review:
- Tab character removed
- Some style fixes and javadoc enhancements
- Renamed some methods in AreaTreeHandler to some more speaking names
- Changed the ..._basic.xml testcase so it shows a remaining problem: Forward references are not properly resolved, yet.

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

18 years agoImproved wording in release notes.
Jeremias Maerki [Thu, 20 Apr 2006 18:28:55 +0000 (18:28 +0000)]
Improved wording in release notes.
Status update.

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

18 years agoMinor edit
Clay Leeds [Thu, 20 Apr 2006 16:40:02 +0000 (16:40 +0000)]
Minor edit

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

18 years agoAdded info about updating Distribution HEADER.html file for each release
Clay Leeds [Thu, 20 Apr 2006 14:59:47 +0000 (14:59 +0000)]
Added info about updating Distribution HEADER.html file for each release

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

18 years agoOops.
Jeremias Maerki [Thu, 20 Apr 2006 09:25:40 +0000 (09:25 +0000)]
Oops.

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

18 years agoUpdated link to release branch.
Jeremias Maerki [Thu, 20 Apr 2006 07:29:34 +0000 (07:29 +0000)]
Updated link to release branch.

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

18 years ago0.92beta is out.
Jeremias Maerki [Thu, 20 Apr 2006 07:26:24 +0000 (07:26 +0000)]
0.92beta is out.

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

18 years agoMerged changes from 0.92 branch back into Trunk.
Jeremias Maerki [Thu, 20 Apr 2006 07:20:08 +0000 (07:20 +0000)]
Merged changes from 0.92 branch back into Trunk.

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

18 years agoBugfix: The generation of the PDF "d" (setdash) command was assuming that only intege...
Jeremias Maerki [Tue, 18 Apr 2006 12:36:58 +0000 (12:36 +0000)]
Bugfix: The generation of the PDF "d" (setdash) command was assuming that only integer values can be used but that isn't the case. Dash patterns PDFGraphics2D would be wrong in the process.

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

18 years agoAdding a test case that demonstrates a problem with forward references and page-numbe...
Jeremias Maerki [Wed, 12 Apr 2006 08:58:46 +0000 (08:58 +0000)]
Adding a test case that demonstrates a problem with forward references and page-number-citation. The reference's width is adjusted, but not the whole line. Some code in the area tree tries to adjust word- and letter-spacing but it does not seem to be working properly.

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

18 years agoBugfix: Fixed a division by zero problem in TTFReader popping up with arialuni.ttf.
Jeremias Maerki [Wed, 12 Apr 2006 07:55:17 +0000 (07:55 +0000)]
Bugfix: Fixed a division by zero problem in TTFReader popping up with arialuni.ttf.
Improved the detection of the capHeight and xHeight font metric values for TrueType fonts. Fonts that contain a version 3.0 PostScript table don't contain unicode glyph names. Without an xHeight value, super- and subscript does not work in FOP.

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

18 years agoAdd disabled test case to demonstrate problems with white space handling when it...
Manuel Mall [Mon, 10 Apr 2006 15:09:26 +0000 (15:09 +0000)]
Add disabled test case to demonstrate problems with white space handling when it comes to inlines.

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

18 years agoBugzilla #39033:
Jeremias Maerki [Mon, 10 Apr 2006 10:42:58 +0000 (10:42 +0000)]
Bugzilla #39033:
Enancement: convert java.awt.GradientPaint to Batik's LinearGradientPaint to avoid rasterization when painting. This is useful when someone uses PDFGraphics2D outside FOP.
Submitted by: Michal Sevcenko <sevcenko.at.vc.cvut.cz>

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

18 years agoSome updates in preparation of the next release.
Jeremias Maerki [Mon, 10 Apr 2006 09:13:53 +0000 (09:13 +0000)]
Some updates in preparation of the next release.

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

18 years agoUpdate on the README file.
Jeremias Maerki [Mon, 10 Apr 2006 07:53:47 +0000 (07:53 +0000)]
Update on the README file.

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

18 years agoBugfix: Allow URLs in basic-link's external-destination to be wrapped in "url()".
Jeremias Maerki [Mon, 10 Apr 2006 07:41:16 +0000 (07:41 +0000)]
Bugfix: Allow URLs in basic-link's external-destination to be wrapped in "url()".

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

18 years agoList NBSP under adjustable spaces in CharUtilities.
Jeremias Maerki [Mon, 10 Apr 2006 07:39:01 +0000 (07:39 +0000)]
List NBSP under adjustable spaces in CharUtilities.
Generate space elements in the area tree from spaces in fo:character.
Clearly mark test cases which test for NBSP.
Document failure to generate adjustable spaces from fo:character in a disabled test case.
Adjust checks to the fact the fo:character can now also generate spaces.
Enable block_white-space-collapse_2.xml again

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

18 years agoForgot to disable the writing down of the generated PDF files.
Jeremias Maerki [Mon, 10 Apr 2006 07:35:21 +0000 (07:35 +0000)]
Forgot to disable the writing down of the generated PDF files.

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

18 years agoCorrected wrong BugZilla number in status.xml
Manuel Mall [Sat, 8 Apr 2006 08:22:19 +0000 (08:22 +0000)]
Corrected wrong BugZilla number in status.xml

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

18 years agoFixed various white space (non)removal issues during line building. white-space-treat...
Manuel Mall [Sat, 8 Apr 2006 07:17:59 +0000 (07:17 +0000)]
Fixed various white space (non)removal issues during line building. white-space-treatment is now supported properly especially for the "preserve" case.

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

18 years agoDocumentation on PDF/A support.
Jeremias Maerki [Thu, 6 Apr 2006 14:27:57 +0000 (14:27 +0000)]
Documentation on PDF/A support.

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

18 years agoAdding XML Graphics Commons to classpath.
Jeremias Maerki [Thu, 6 Apr 2006 09:48:14 +0000 (09:48 +0000)]
Adding XML Graphics Commons to classpath.

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

18 years agoFixed encoding issue.
Jeremias Maerki [Thu, 6 Apr 2006 05:47:21 +0000 (05:47 +0000)]
Fixed encoding issue.
Using Commons IO ByteArrayOutputStream.

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

18 years agoI'd like to make Batik an optional dependency over time, so check Commons IO instead...
Jeremias Maerki [Wed, 5 Apr 2006 19:36:08 +0000 (19:36 +0000)]
I'd like to make Batik an optional dependency over time, so check Commons IO instead of Batik as indicator for a complete classpath.

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

18 years agoSwitching to the Commons variants for the Graphics2D base/helper classes.
Jeremias Maerki [Wed, 5 Apr 2006 19:31:53 +0000 (19:31 +0000)]
Switching to the Commons variants for the Graphics2D base/helper classes.

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

18 years agoSwitching to the Commons variant for the base64 encoding/decoding.
Jeremias Maerki [Wed, 5 Apr 2006 18:37:22 +0000 (18:37 +0000)]
Switching to the Commons variant for the base64 encoding/decoding.

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

18 years agoImproved JUnit report creation.
Jeremias Maerki [Wed, 5 Apr 2006 14:21:39 +0000 (14:21 +0000)]
Improved JUnit report creation.
Added support for OutputIntent objects in PDF. When PDF/A-1b is activated OutputIntents are created and the sRGB color space is used by default (hardcoded for the moment for lack of better color infrastructure in FOP).
The sRGB color profile from HP (covering sRGB IEC61966-2.1) is now embedded in fop.jar as a resource so the PDF library can embed it. The sRGB profile from the Sun JRE is much bigger. That's why it's not used.
The Gladiator TrueType font (glb12.ttf) has been copied over from Batik and is used to verify PDF/A-1b's conformance checks.
CMYK JPEG image added to test resources so PDF/A-1b color space checks can be performed.
With the color space checks, support for PDF/A-1b is complete to the degree that FOP supports the creation of elements described in ISO 19005-1, except for the case where an embedded XMP packet is used in the fo:declarations element. In this case the metadata is not synchronized with the values in the Info PDF object which could lead to validation errors when checking for PDF/A-1b conformance.

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

18 years agoReestablishing PDF 1.3 compatibility ("Z" is not available under JDK 1.3).
Jeremias Maerki [Wed, 5 Apr 2006 14:08:10 +0000 (14:08 +0000)]
Reestablishing PDF 1.3 compatibility ("Z" is not available under JDK 1.3).

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

18 years agoDon't catch RuntimeExceptions.
Jeremias Maerki [Wed, 5 Apr 2006 14:04:54 +0000 (14:04 +0000)]
Don't catch RuntimeExceptions.

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

18 years agoSmall update to page on output formats.
Jeremias Maerki [Wed, 5 Apr 2006 14:03:49 +0000 (14:03 +0000)]
Small update to page on output formats.

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

18 years agoAdded ApacheCon EU 2006
Clay Leeds [Wed, 5 Apr 2006 04:55:27 +0000 (04:55 +0000)]
Added ApacheCon EU 2006

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

18 years agoAdding dependency on XML Graphics Commons.
Jeremias Maerki [Tue, 4 Apr 2006 15:15:23 +0000 (15:15 +0000)]
Adding dependency on XML Graphics Commons.
Switching to code in XML Graphics Commons for:
- PSGraphics2D
- Service discovery
- Codecs
Removed local classes that have been ported to Commons.
xmlgraphics-commons-snapshot.jar is a Trunk snapshot built with JDK 1.4.2 from today. It should work under JDK 1.3.1.

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

18 years agoA few small changes to these two documentation pages
Simon Pepping [Thu, 30 Mar 2006 19:33:25 +0000 (19:33 +0000)]
A few small changes to these two documentation pages

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

18 years agoChanged PDFText.escapeText() so it doesn't output 7bit ASCII texts in hex mode. This...
Jeremias Maerki [Thu, 30 Mar 2006 09:57:32 +0000 (09:57 +0000)]
Changed PDFText.escapeText() so it doesn't output 7bit ASCII texts in hex mode. This makes it easier to read the PDF in a text editor in most cases.
Fixed the property names for xmp:CreatorTool and xmp:CreateDate (case mistake on my side).
Changed XMP-generation to output the creation date including the time zone to keep Acrobat's preflight check for PDF/A-1b happy. Found that only after more than 3 hours of trial&error.

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

18 years agoUhm, forgot another occurence of the old domain name.
Jeremias Maerki [Thu, 30 Mar 2006 07:23:29 +0000 (07:23 +0000)]
Uhm, forgot another occurence of the old domain name.

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

18 years agoDon't use "deprecated" hostname.
Jeremias Maerki [Thu, 30 Mar 2006 06:46:40 +0000 (06:46 +0000)]
Don't use "deprecated" hostname.

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

18 years agoAdded missing OutputStream parameter to one of the examples.
Jeremias Maerki [Thu, 30 Mar 2006 06:40:19 +0000 (06:40 +0000)]
Added missing OutputStream parameter to one of the examples.

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

18 years agoRemove unnecessary artifact.
Jeremias Maerki [Wed, 29 Mar 2006 19:19:31 +0000 (19:19 +0000)]
Remove unnecessary artifact.

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

18 years agoExamples pointed to the tag not to the trunk. Otherwise, this can be real confusing...
Jeremias Maerki [Tue, 28 Mar 2006 18:14:03 +0000 (18:14 +0000)]
Examples pointed to the tag not to the trunk. Otherwise, this can be real confusing now that the API has changed.

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

18 years agoAdjust documentation to changes in outer API (FopFactory etc.).
Jeremias Maerki [Tue, 28 Mar 2006 18:10:00 +0000 (18:10 +0000)]
Adjust documentation to changes in outer API (FopFactory etc.).

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

18 years agoTweak: reuse the FopFactory instance.
Andreas L. Delmelle [Mon, 27 Mar 2006 18:43:40 +0000 (18:43 +0000)]
Tweak: reuse the FopFactory instance.

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

18 years agoFixed addition of ElementMapping instances. Witnessed in the FO tree tests.
Jeremias Maerki [Mon, 27 Mar 2006 18:01:20 +0000 (18:01 +0000)]
Fixed addition of ElementMapping instances. Witnessed in the FO tree tests.
The ElementMapping list is not necessary since we now have the ElementMappingRegistry.

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

18 years agoMerged Temp_API_Finalization branch back into FOP Trunk:
Jeremias Maerki [Mon, 27 Mar 2006 09:51:14 +0000 (09:51 +0000)]
Merged Temp_API_Finalization branch back into FOP Trunk:
Finalized API according to the plan in the Wiki: http://wiki.apache.org/xmlgraphics-fop/ApiDesign

In addition to that:
Deprecated the rest of the Fop constructors.
Refactored the FopServlet a bit to make it more versatile and still easy to understand. The FopPrintServlet is now a subclass of FopServlet.
Some further cleanup on the way.

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

18 years agoRestored JDK 1.3 compatibility.
Jeremias Maerki [Mon, 27 Mar 2006 08:33:48 +0000 (08:33 +0000)]
Restored JDK 1.3 compatibility.

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

18 years agoGuard against NPEs when no base URI is given.
Jeremias Maerki [Sun, 26 Mar 2006 17:21:56 +0000 (17:21 +0000)]
Guard against NPEs when no base URI is given.

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

18 years agoUpdated to RDF standard
Clay Leeds [Sat, 25 Mar 2006 20:30:48 +0000 (20:30 +0000)]
Updated to RDF standard

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

18 years agoRemoved totally misleading demo file. widows and orphans only have an effect inside...
Jeremias Maerki [Sat, 25 Mar 2006 14:48:25 +0000 (14:48 +0000)]
Removed totally misleading demo file. widows and orphans only have an effect inside the same fo:block, not across table-cells.

See also: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200603.mbox/%3c20060322150426.7F8D.DEV@jeremias-maerki.ch%3e

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

18 years agoNo stacktrace when encountering problems while building a base URL. It's not necessar...
Jeremias Maerki [Sat, 25 Mar 2006 14:36:45 +0000 (14:36 +0000)]
No stacktrace when encountering problems while building a base URL. It's not necessary and draws too much attention. Instead added the URL to the log message that causes the problem.
Don't validate Base URLs anymore in FOUserAgent because that produces errors (because an URL cannot be built) if a symbolic URI is used which is later resolved through a URIResolver.
Improved support for relative URLs for accessing font resources.
ServletContextURIResolver can now use a base URI that starts with "servlet-context:".

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

18 years agoID reference in some checks were wrong.
Jeremias Maerki [Sat, 25 Mar 2006 14:30:12 +0000 (14:30 +0000)]
ID reference in some checks were wrong.

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

18 years agoDemonstrating negative last-line-end-indent.
Jeremias Maerki [Fri, 24 Mar 2006 16:50:59 +0000 (16:50 +0000)]
Demonstrating negative last-line-end-indent.

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

18 years agoCorrected expectation and behaviour for the text-indent property to only apply to...
Jeremias Maerki [Fri, 24 Mar 2006 15:53:01 +0000 (15:53 +0000)]
Corrected expectation and behaviour for the text-indent property to only apply to the first line area generated by a block.

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

18 years agoConfirming that last-line-end-indent works as specified in XSL 1.0.
Jeremias Maerki [Fri, 24 Mar 2006 14:32:19 +0000 (14:32 +0000)]
Confirming that last-line-end-indent works as specified in XSL 1.0.

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

18 years agoBugfix for ICC color profile parsing in JPEG images.
Jeremias Maerki [Fri, 24 Mar 2006 08:56:55 +0000 (08:56 +0000)]
Bugfix for ICC color profile parsing in JPEG images.
Ported detection code for CMYK JPEG images generated by Adobe Photoshop from maintenance branch. Adobe inverts CMYK images.
Reenabled ICC color profile embedding for PDF.

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

18 years agoInitial support for page-position="last". Feedback requested!
Jeremias Maerki [Thu, 23 Mar 2006 14:45:17 +0000 (14:45 +0000)]
Initial support for page-position="last". Feedback requested!
See also: http://wiki.apache.org/xmlgraphics-fop/PagePositionLast

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

18 years agoBugfix: display-align did not work if the first object in a page was a table.
Luca Furini [Thu, 23 Mar 2006 12:42:03 +0000 (12:42 +0000)]
Bugfix: display-align did not work if the first object in a page was a table.

Testcase added, now all seems ok.

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

18 years agoThe about attribute must have the "rdf" namespace prefix.
Jeremias Maerki [Thu, 23 Mar 2006 09:52:24 +0000 (09:52 +0000)]
The about attribute must have the "rdf" namespace prefix.
Adobe Acrobat uses an outdated namespace URI for the PDF/A identification, so do the same as Adobe Distiller: write the PDF/A identification twice, once with each namespace URI. Reason: Acrobat is probably the best tool to verify PDF/A conformance right now. jHove covers only part of ISO 19005-1.

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

18 years agoBugzilla #39070:
Jeremias Maerki [Thu, 23 Mar 2006 07:56:58 +0000 (07:56 +0000)]
Bugzilla #39070:
Removed illegal "/Type /Info" entry in the Info dictionary.
Submitted by: John Yonosh <jyonosh.at.fcg.com>

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

18 years agoAdded missing package description.
Jeremias Maerki [Wed, 22 Mar 2006 10:08:49 +0000 (10:08 +0000)]
Added missing package description.

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

18 years agoClean-up in PageSequence.
Jeremias Maerki [Wed, 22 Mar 2006 08:13:02 +0000 (08:13 +0000)]
Clean-up in PageSequence.

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

18 years agoRemoved obsolete TODO
Jeremias Maerki [Wed, 22 Mar 2006 07:31:33 +0000 (07:31 +0000)]
Removed obsolete TODO

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

18 years agoForgot a file when committing my changes for the user-supplied hyphenation patterns...
Jeremias Maerki [Wed, 22 Mar 2006 07:30:50 +0000 (07:30 +0000)]
Forgot a file when committing my changes for the user-supplied hyphenation patterns. Without the resolver, they are not picked up.

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

18 years agoAdd PDF/A-1b support to command-line.
Jeremias Maerki [Tue, 21 Mar 2006 16:01:34 +0000 (16:01 +0000)]
Add PDF/A-1b support to command-line.

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

18 years agoMade the loading of user-specified hyphenation patterns usable again and plugged...
Jeremias Maerki [Tue, 21 Mar 2006 10:24:45 +0000 (10:24 +0000)]
Made the loading of user-specified hyphenation patterns usable again and plugged it into URI resolution.
Backwards-compatibility should be maintained.
PatternParser now uses JAXP to get the SAX parser.
Moved the hyphenation pattern cache into a separate class so I can easily plug it into FopFactory later instead of having static variables.
Added serialVersionUID to HyphenationTree. Necessary because the class signature changed.
FOURIResolver does not complain about "file not found" on the log anymore since this should be done by the caller. Until now, this resulted in two log messages about the same problem on the log. "File not found" is still reported but only on level "debug" which might be helpful when tracking down a problem, but at least it's not a "WARNING" anymore.

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

18 years agoblock-container did not tell the breaker if it's in auto-height mode. That causes...
Jeremias Maerki [Tue, 21 Mar 2006 08:17:39 +0000 (08:17 +0000)]
block-container did not tell the breaker if it's in auto-height mode. That causes false alarms for block-containers which are not constrained in b-p-d.

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

18 years agoCertain filter combinations in PDF could lead to invalid PDFs. DecodeParams were...
Jeremias Maerki [Mon, 20 Mar 2006 13:49:05 +0000 (13:49 +0000)]
Certain filter combinations in PDF could lead to invalid PDFs. DecodeParams were not properly handled.
Default filter for XMP metadata set to NullFilter as XMP metadata should always be embedded as clear-text so non-PDF-aware XMP processors can extract the metadata.
Default filter for DCT/JPEG- and CCITT/TIFF-encoded images set to NullFilter because these two compression methods already do a good job. An additional flate filter (as was applied before due to the single default) helps a just little but also adds processing time. If anyone wants to squeeze every possible bit out of the PDF you can use the following in the user configuration:
      <filterList type="tiff">
        <value>flate</value>
      </filterList>
      <filterList type="jpeg">
        <value>flate</value>
      </filterList>

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

18 years agoBugzilla #39030:
Jeremias Maerki [Mon, 20 Mar 2006 07:32:22 +0000 (07:32 +0000)]
Bugzilla #39030:
Output filenames with a space resulted in "%20" in the generated file. Looks like a bug in Xalan-J.
We now open the OutputStream ourselves. The two practically identical write methods pulled up into the abstract base class.

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

18 years agoBugzilla #38731:
Jeremias Maerki [Sun, 19 Mar 2006 11:12:44 +0000 (11:12 +0000)]
Bugzilla #38731:
More accurate font size selection.
Outer transformation matrix is no longer ignored when painting text.
Improvement for transparent bitmaps (effect can be seen on filters-composite-01-b and render-groups-03-t in SVG 1.1 test suite)
Submitted by: Michal Sevcenko <sevcenko.at.vc.cvut.cz>

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

18 years agoAvoid exception when ImageIO is used as image adapter for TIFF images. The stream...
Jeremias Maerki [Sat, 18 Mar 2006 20:30:47 +0000 (20:30 +0000)]
Avoid exception when ImageIO is used as image adapter for TIFF images. The stream is already closed and the bitmap loaded when FopPDFImages wants to write the image to the PDF.

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

18 years agoBugfix: CCITT Group 4 encoded TIFF images were not properly embedded in PDF files...
Jeremias Maerki [Sat, 18 Mar 2006 20:28:33 +0000 (20:28 +0000)]
Bugfix: CCITT Group 4 encoded TIFF images were not properly embedded in PDF files. FopPDFImage always used the bits/pixel and color space of the original image although our image adapter mostly convert all images to 24bit RGB. One day, we will need to improve the image handling.

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

18 years agoChanged the way that text-align-last is calculated. Hopefully, this is it, now. Shoul...
Jeremias Maerki [Thu, 16 Mar 2006 16:53:21 +0000 (16:53 +0000)]
Changed the way that text-align-last is calculated. Hopefully, this is it, now. Should fix a bug reported last week on fop-users.

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

18 years agoLooks like we already had a test for the bug I fixed in revision 386025. D'oh. Adjust...
Jeremias Maerki [Thu, 16 Mar 2006 14:34:27 +0000 (14:34 +0000)]
Looks like we already had a test for the bug I fixed in revision 386025. D'oh. Adjusted the space-before to force the second page again.

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

18 years agoFix for ArrayIndexOutOfBoundException in block_white-space_4.
Jeremias Maerki [Thu, 16 Mar 2006 14:15:53 +0000 (14:15 +0000)]
Fix for ArrayIndexOutOfBoundException in block_white-space_4.

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

18 years agoAdded support for fixed-width spaces and kerning.
Jeremias Maerki [Thu, 16 Mar 2006 13:51:14 +0000 (13:51 +0000)]
Added support for fixed-width spaces and kerning.

Note: letter-spacing is still implemented as before. Fixing this cannot be done without looking at space resolution as a whole on inline level.

The Character area tree object is now deprecated. Normal Text objects should be used to keep renderers simpler.
Introduced FontResolver interface to remove the dependency of FOUserAgent into the font package.
Added kerning information to the base14 fonts, Helvetica and Times. By default it is not used to keep the status-quo. Enable base14 kerning through the FOUserAgent (FopFactory after the API finalization).
Restored the production of EPS images in PDF output as PostScript XObjects.
Restored functionality for a more compact format for the area tree renderer to save space.
LayoutEngineTester slightly changed to allow for configuration values from the XML file. For now, only enabling base14 kerning is supported.
Removed duplicate offset variable in SpaceArea.

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

18 years agoBugfix: Fixed a copy/paste error in the table layout code that caused wrong page...
Jeremias Maerki [Wed, 15 Mar 2006 09:54:04 +0000 (09:54 +0000)]
Bugfix: Fixed a copy/paste error in the table layout code that caused wrong page break decisions when table-headers and/or table-footers are used.

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

18 years agoBugfix: Fixed an NPE that was thrown when a table was used inside a footnote-body.
Jeremias Maerki [Wed, 15 Mar 2006 09:28:49 +0000 (09:28 +0000)]
Bugfix: Fixed an NPE that was thrown when a table was used inside a footnote-body.

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

18 years agoElementMapping lookup via META-INF/services
Andreas L. Delmelle [Tue, 7 Mar 2006 22:06:05 +0000 (22:06 +0000)]
ElementMapping lookup via META-INF/services

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

18 years agoTypo
Jeremias Maerki [Mon, 6 Mar 2006 08:53:51 +0000 (08:53 +0000)]
Typo

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

18 years agoRemoved stray debug message.
Jeremias Maerki [Mon, 6 Mar 2006 08:18:54 +0000 (08:18 +0000)]
Removed stray debug message.

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

18 years agoRemoved duplicate entry in Renderer list.
Jeremias Maerki [Mon, 6 Mar 2006 07:59:52 +0000 (07:59 +0000)]
Removed duplicate entry in Renderer list.
Register FOEventHandlers using Service discovery, too.
Removed superfluous discovery and registration methods.
Renamed META-INF file to match the pattern established in the sandbox.

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

18 years agoFix for NPE in case of empty instream-foreign-object
Andreas L. Delmelle [Mon, 6 Mar 2006 00:18:03 +0000 (00:18 +0000)]
Fix for NPE in case of empty instream-foreign-object

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