]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
19 years agoBugzilla #36068:
Finn Bock [Mon, 12 Sep 2005 08:05:59 +0000 (08:05 +0000)]
Bugzilla #36068:
Validation added for font-style and font-weight by making both properties
enums.

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

19 years agoImplemented the example under 4.3.1 Space-resolution Rules as a test case. Test fails.
Jeremias Maerki [Fri, 9 Sep 2005 08:49:46 +0000 (08:49 +0000)]
Implemented the example under 4.3.1 Space-resolution Rules as a test case. Test fails.

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

19 years agoRemoved TODO. No MT issues here.
Jeremias Maerki [Fri, 9 Sep 2005 06:50:38 +0000 (06:50 +0000)]
Removed TODO. No MT issues here.

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

19 years agoFix compile error. Removed the user agent setting because it's not used and the FOUse...
Jeremias Maerki [Fri, 9 Sep 2005 06:50:05 +0000 (06:50 +0000)]
Fix compile error. Removed the user agent setting because it's not used and the FOUserAgent can be accessed through the parent LM's FObj if this ever becomes necessary again.

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

19 years agoRequire at least Java 1.4 for building the javadocs.
Joerg Pietschmann [Thu, 8 Sep 2005 22:34:00 +0000 (22:34 +0000)]
Require at least Java 1.4 for building the javadocs.
Add todo tag to javadoc task.
Fixed @todo: tags.

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

19 years agoFixed javadoc errors.
Joerg Pietschmann [Thu, 8 Sep 2005 22:06:48 +0000 (22:06 +0000)]
Fixed javadoc errors.
Added a few TODOs.

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

19 years agoRemoving trailing spaces at the end of text areas: this is done by storing the Positi...
Luca Furini [Thu, 8 Sep 2005 10:47:57 +0000 (10:47 +0000)]
Removing trailing spaces at the end of text areas: this is done by storing the Position, whose value points to the AreaInfo created for a space, inside the glue element that is ignored if there is a line break.

This fixes item 2) in bug 36533.

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

19 years agoAllow javadoc to find Ant classes.
Joerg Pietschmann [Wed, 7 Sep 2005 23:04:08 +0000 (23:04 +0000)]
Allow javadoc to find Ant classes.

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

19 years agoAllow constructor and setter parameter to shadow class fields.
Joerg Pietschmann [Wed, 7 Sep 2005 22:32:23 +0000 (22:32 +0000)]
Allow constructor and setter parameter to shadow class fields.

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

19 years agoAdd classpathref to CheckStyle task to allow finding FOP Exceptions.
Joerg Pietschmann [Wed, 7 Sep 2005 22:25:54 +0000 (22:25 +0000)]
Add classpathref to CheckStyle task to allow finding FOP Exceptions.

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

19 years agoSquashed CheckStyle warnings, mostly JavaDoc.
Joerg Pietschmann [Wed, 7 Sep 2005 22:20:36 +0000 (22:20 +0000)]
Squashed CheckStyle warnings, mostly JavaDoc.

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

19 years agoUsing the fo property last-line-end-indent instead of a hard coded value.
Luca Furini [Wed, 7 Sep 2005 15:03:06 +0000 (15:03 +0000)]
Using the fo property last-line-end-indent instead of a hard coded value.
This fixes item 1) in bug 36533.

Note that the old behaviour (before the changes) was not completely equivalent to the one requested by the specs, as the empty space was not necessarily placed at the end of the line; for example, the last line in a right-aligned paragraph was aligned as the previous lines, although shorter.

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

19 years agoCorrect template.
Joerg Pietschmann [Tue, 6 Sep 2005 21:40:02 +0000 (21:40 +0000)]
Correct template.

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

19 years agoAdd property for forking javac.
Joerg Pietschmann [Tue, 6 Sep 2005 21:39:21 +0000 (21:39 +0000)]
Add property for forking javac.
Add javac.fork and user.hyph.dir to the build.porperties templates.

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

19 years agoMoved default property settings from build.properties to build.xml.
Joerg Pietschmann [Tue, 6 Sep 2005 21:25:45 +0000 (21:25 +0000)]
Moved default property settings from build.properties to build.xml.
Add comments to build.properties.

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

19 years agoBugzilla #36520:
Jeremias Maerki [Tue, 6 Sep 2005 14:23:31 +0000 (14:23 +0000)]
Bugzilla #36520:
Cleaner transformation matrix handling.
SVG painting extracted into an XMLHandler subclass like for the other renderers.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>

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

19 years agoBugzilla #36508:
Jeremias Maerki [Tue, 6 Sep 2005 12:07:49 +0000 (12:07 +0000)]
Bugzilla #36508:
Support for padding-before and padding-after in RTF output.
Submitted by: Sergey Simonchik <Sergey.Simonchik.at.borland.com>

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

19 years agoBugzilla #36505:
Jeremias Maerki [Tue, 6 Sep 2005 10:18:58 +0000 (10:18 +0000)]
Bugzilla #36505:
Several fixes for SVG painting in the Java2DRenderer.
Updated SVG test case to test additional features.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>

Comments and changes by jeremias:
Added an additional SVG image with an intrinsic size and modified the test case to use and test that, too.
I'll commit this patch because it improves the current situation but I'm not happy with the current state of Java2DRenderer.renderSVGDocument(). Creating inverse transformation matrices is surely not the right way to do this. The matrix should be saved and restored instead.
Furthermore, renderSVGDocument should be extracted into a Java2DSVGHandler like it is done for the other renderers.

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

19 years agoFix for SVG images with an intrinsic size when the FOUserAgent does not default to...
Jeremias Maerki [Tue, 6 Sep 2005 09:34:55 +0000 (09:34 +0000)]
Fix for SVG images with an intrinsic size when the FOUserAgent does not default to 72dpi.
Round the intrinsic size, don't truncate it.

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

19 years agoTranscoder JAR is missing the new SubInputStream.
Jeremias Maerki [Mon, 5 Sep 2005 21:12:54 +0000 (21:12 +0000)]
Transcoder JAR is missing the new SubInputStream.

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

19 years agoMy earlier fix didn't quite work if the protocol isn't the same between the base...
Jeremias Maerki [Mon, 5 Sep 2005 21:12:10 +0000 (21:12 +0000)]
My earlier fix didn't quite work if the protocol isn't the same between the base URI and the parameter URI.

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

19 years agoFixes a compile error. I used a method from a SVN checkout of Commons IO. Sorry.
Jeremias Maerki [Mon, 5 Sep 2005 19:20:32 +0000 (19:20 +0000)]
Fixes a compile error. I used a method from a SVN checkout of Commons IO. Sorry.

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

19 years agoImplemented embedding of Type 1 fonts.
Jeremias Maerki [Mon, 5 Sep 2005 15:41:54 +0000 (15:41 +0000)]
Implemented embedding of Type 1 fonts.

font dict writing moved to new class PSFontUtils.
PSGenerator.resolveURI() does the same as FOUserAgent.resolveURI() but thus avoids the dependency on FOUserAgent. Needed for font embedding.
Treat fonts as resources now.
Wrap font keying in FOP-specific comments for reliable finding.
New class SubInputStream which reads a maximum number of bytes from an underlying InputStream and then behaves like it has reached EOF. Used for Type1 font embedding.

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

19 years agoNot sure if it's the best solution but this changes the following:
Jeremias Maerki [Mon, 5 Sep 2005 15:31:04 +0000 (15:31 +0000)]
Not sure if it's the best solution but this changes the following:
- Enable plain filenames (without "file:" scheme) as URI. FOURIResolver tries to create a java.io.File to access the file.
- If after removing the scheme from a file: URL the string still contains a ":" it is likely an absolute Windows path for which the user forgot to specify a leading "/", i.e.:
file:C:/Temp/test.txt --> file:/C:/Temp/test.txt

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

19 years agoRe-adjusting lines after a page-number or a page-number-citation is resolved.
Luca Furini [Mon, 5 Sep 2005 15:06:39 +0000 (15:06 +0000)]
Re-adjusting lines after a page-number or a page-number-citation is resolved.
At the moment, only TextAreas are adjusted, the other will be fixed soon!

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

19 years agoRenamed test cases to avoid filename problems under Unix.
Jeremias Maerki [Mon, 5 Sep 2005 14:37:50 +0000 (14:37 +0000)]
Renamed test cases to avoid filename problems under Unix.

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

19 years agoRenamed test cases to avoid filename problems under Unix.
Jeremias Maerki [Mon, 5 Sep 2005 14:36:56 +0000 (14:36 +0000)]
Renamed test cases to avoid filename problems under Unix.

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

19 years agoBugzilla #36479:
Jeremias Maerki [Mon, 5 Sep 2005 11:44:49 +0000 (11:44 +0000)]
Bugzilla #36479:
Bookmarks are now working in RTF output.
Submitted by: Sergey Simonchik <Sergey.Simonchik.at.borland.com>

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

19 years agoBugzilla #36476:
Jeremias Maerki [Mon, 5 Sep 2005 11:30:47 +0000 (11:30 +0000)]
Bugzilla #36476:
Border support on block, block-container and inline introduced. Nesting borders are supported partially: only two levels of nesting.
Consecutive paragraphs with identical border formatting are considered part
of a single group with the border information applying to the entire group.

Bugzilla #36477:
start-indent and end-indent are used instead of margins only to do indentation.

Submitted by: Sergey Simonchik <Sergey.Simonchik.at.borland.com>

Changes to the patch by jeremias:
Fix for deferred handling which didn't work for block-containers. They got ignored.

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

19 years agoBugzilla #36487:
Jeremias Maerki [Mon, 5 Sep 2005 09:17:38 +0000 (09:17 +0000)]
Bugzilla #36487:
Forgot to remove the two test cases Manuel indicated.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

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

19 years agoBugzilla #36475:
Jeremias Maerki [Mon, 5 Sep 2005 09:03:23 +0000 (09:03 +0000)]
Bugzilla #36475:
Fix for block background not extending to the whole block content-width.
Submitted by: Sergey Simonchik <Sergey.Simonchik.at.borland.com>

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

19 years agoBugzilla #36487:
Jeremias Maerki [Mon, 5 Sep 2005 08:09:42 +0000 (08:09 +0000)]
Bugzilla #36487:
Background images were incorrectly positioned in some absolute positioned blocks.
Some additional attributes output by the XMLRenderer.
Refactored the layout for e-g and i-f-o. Introduced common base classes for the
corresponding flow objects as well as the e-g and i-f-o LMs.
Fixed incorrectly applied margins on region-body when writing mode is not lr.
Fixed application of correct percent base for margins and extents on regions
when the reference orientation is 90 degrees.
Fixed incorrectly positioned regions when writing mode is different between the
simple-page-master setting and the setting on the region.
Several updates to the layout engine test cases.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

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

19 years agoInitial work on enhancing the extension facilities to register special extensions...
Jeremias Maerki [Fri, 2 Sep 2005 14:26:31 +0000 (14:26 +0000)]
Initial work on enhancing the extension facilities to register special extensions which create so-called ExtensionAttachment objects which are attached to the formatting object they are attached to. These objects can be evaluated by standard or custom layout managers or simply passed through to the area tree (the latter is NYI). The AreaTreeHandler currently takes ExtensionAttachment objects from fo:root and fo:declarations and wraps them in OffDocumentItems that Renderers can react on to provide additional functionality on document-level (like PDF metadata or PostScript media dictionaries). Since the simple-page-master is available directly from the PageViewport the renderer can take ExtensionAttachment objects directly from there (see PSRenderer.renderPage()).
Extension Elements that provide ExtensionAttachments are not added as such to the child element list of a formatting object since they work a little differently and should free memory as soon as possible.

The PostScript extension described in http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPostScript are now fully implemented but under the namespace URI "http://xmlgraphics.apache.org/fop/postscript", not "http://xml.apache.org/fop/extensions". I'll need to look at namespaces again separately, later.
The new PSExtensionElementMapping is currently hard-coded into FOTreeBuilder as are the other ElementMapping classes.

OffDocumentItem is now an interface, AbstractOffDocumentItem now providing the base functionality of the former OffDocumentItem class.
Lots of clean-up and javadocs while working through this, for example: FObj.childNodes is not public anymore. Instead a special method on fo.flow.InstreamForeignObject provides the child in the one case childNodes was directly accessed. PropertyMaker access in FObj is also done through a method now, propertyListTable is now private.

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

19 years agoFixed FO validation problem and the header.
Jeremias Maerki [Fri, 2 Sep 2005 07:56:52 +0000 (07:56 +0000)]
Fixed FO validation problem and the header.

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

19 years agoFixed getDocument() method (is now getDOMDocument()).
Jeremias Maerki [Fri, 2 Sep 2005 07:56:08 +0000 (07:56 +0000)]
Fixed getDocument() method (is now getDOMDocument()).

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

19 years agoFixed getDocument() method (is now getDOMDocument()). The plan extension still worked...
Jeremias Maerki [Fri, 2 Sep 2005 07:49:30 +0000 (07:49 +0000)]
Fixed getDocument() method (is now getDOMDocument()). The plan extension still worked because convertToSvg() was called by getDimension(). Anyway, this is now fixed.

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

19 years agoResurrected overwritten test case external-graphic4.xml under a different name.
Jeremias Maerki [Thu, 1 Sep 2005 15:57:03 +0000 (15:57 +0000)]
Resurrected overwritten test case external-graphic4.xml under a different name.

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

19 years agoCleanup of unused imports.
Finn Bock [Thu, 1 Sep 2005 14:28:21 +0000 (14:28 +0000)]
Cleanup of unused imports.

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

19 years agoBugzilla #36460 (second part):
Jeremias Maerki [Thu, 1 Sep 2005 13:29:28 +0000 (13:29 +0000)]
Bugzilla #36460 (second part):
Renamed all test cases to more speaking names.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

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

19 years agoBugzilla #36460 (first part):
Jeremias Maerki [Thu, 1 Sep 2005 13:03:17 +0000 (13:03 +0000)]
Bugzilla #36460 (first part):
Some minor cleanup and two bigger revamps of two cases. (Forgot the new image.)
Submitted by: Manuel Mall <mm.at.arcus.com.au>

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

19 years agoBugzilla #36460 (first part):
Jeremias Maerki [Thu, 1 Sep 2005 12:51:47 +0000 (12:51 +0000)]
Bugzilla #36460 (first part):
Some minor cleanup and two bigger revamps of two cases
Submitted by: Manuel Mall <mm.at.arcus.com.au>

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

19 years agoBeen careless again, sorry.
Jeremias Maerki [Thu, 1 Sep 2005 10:07:41 +0000 (10:07 +0000)]
Been careless again, sorry.

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

19 years agoPDFNumber.doubleOut() rewritten using java.text.DecimalFormat.
Jeremias Maerki [Thu, 1 Sep 2005 10:06:53 +0000 (10:06 +0000)]
PDFNumber.doubleOut() rewritten using java.text.DecimalFormat.
This fixes a bug of doubleOut() not recognizing the scientific format sometimes returned by Double.toString(double).
This change may result in slightly different value being written to the PDF stream. The former doubleOut contained specific code to do special rounding where the new method using DecimalFormat implicitly uses the BigDecimal.ROUND_HALF_EVEN strategy when rounding. These different values hopefully won't make a big visual difference. They don't in my tests.

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

19 years agoAn additional comment so this line will not be activated accidentally. The problem...
Jeremias Maerki [Thu, 1 Sep 2005 09:00:28 +0000 (09:00 +0000)]
An additional comment so this line will not be activated accidentally. The problem was a backwards-incompatible chnage in Batik for which a patch has been submitted:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36455

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

19 years agoReverting my earlier change to make FOP compile with Batik 1.6 again. I'm investigati...
Jeremias Maerki [Thu, 1 Sep 2005 06:50:16 +0000 (06:50 +0000)]
Reverting my earlier change to make FOP compile with Batik 1.6 again. I'm investigating this problem further.

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

19 years agoFixed copyright year.
Finn Bock [Thu, 1 Sep 2005 05:34:28 +0000 (05:34 +0000)]
Fixed copyright year.

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

19 years agoA nit.
Jeremias Maerki [Wed, 31 Aug 2005 21:05:51 +0000 (21:05 +0000)]
A nit.

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

19 years agoFixed license blurb.
Finn Bock [Wed, 31 Aug 2005 20:48:52 +0000 (20:48 +0000)]
Fixed license blurb.

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

19 years agoFix a compile conflict with BlockStackingLayoutManager.
Finn Bock [Wed, 31 Aug 2005 20:47:11 +0000 (20:47 +0000)]
Fix a compile conflict with BlockStackingLayoutManager.

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

19 years agoSet not only the base URL for the SVG Document but also the URI. Otherwise, relativel...
Jeremias Maerki [Wed, 31 Aug 2005 20:34:14 +0000 (20:34 +0000)]
Set not only the base URL for the SVG Document but also the URI. Otherwise, relatively referenced documents or images inside an SVG defined in a fo:instream-foreign-object don't get resolved. This fixes certain problems with examples/fo/svg/external.fo.

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

19 years agoBugzilla #36379:
Finn Bock [Wed, 31 Aug 2005 20:29:33 +0000 (20:29 +0000)]
Bugzilla #36379:
Revised percentage resolution system.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

Slightly modified to avoid early evaluation of getValue().

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

19 years agoTest case for squeezing an oversized image into a page. Currently fails because min...
Jeremias Maerki [Wed, 31 Aug 2005 14:32:59 +0000 (14:32 +0000)]
Test case for squeezing an oversized image into a page. Currently fails because min/opt/max mechanisms currently ignored by the EGLM.

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

19 years agoexternal-graphic property demonstration section.
Jeremias Maerki [Wed, 31 Aug 2005 13:23:01 +0000 (13:23 +0000)]
external-graphic property demonstration section.
asf-logo-nt.png is the non-transparent version of asf-logo.png.

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

19 years agoBugzilla #36432:
Jeremias Maerki [Wed, 31 Aug 2005 08:53:25 +0000 (08:53 +0000)]
Bugzilla #36432:
JAI image does not release all resources - reported by Stephen Denne - thanks!
When loading an image provider whose support libraries are missing an
exception is thrown which should really only be a warning and the next provider
be tried.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

Changes to the patch by JM:
Log level for the warning changed to debug() because the binary distribution is compiled with JAI and JIMI support and this will cause a lot of inappropriate warnings for people just happy with ImageIO images.

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

19 years agoBugzilla #36418:
Jeremias Maerki [Wed, 31 Aug 2005 08:40:33 +0000 (08:40 +0000)]
Bugzilla #36418:
Documentation update for the "reload" change in the AWT Viewer.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>

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

19 years agoFixed the use of Length property for baseline-shift.
Finn Bock [Tue, 30 Aug 2005 23:03:19 +0000 (23:03 +0000)]
Fixed the use of Length property for baseline-shift.

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

19 years agoadded support for superscript and subscript
Peter Herweg [Tue, 30 Aug 2005 21:09:41 +0000 (21:09 +0000)]
added support for superscript and subscript

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

19 years agoadded support for superscript and subscript
Peter Herweg [Tue, 30 Aug 2005 21:00:41 +0000 (21:00 +0000)]
added support for superscript and subscript

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

19 years agoHarmonization between the two Graphics2D implementations. Clipping is done after...
Jeremias Maerki [Tue, 30 Aug 2005 19:32:05 +0000 (19:32 +0000)]
Harmonization between the two Graphics2D implementations. Clipping is done after the transform. All path iterators use an identity transform which makes the PDF/PS code more readable and usually smaller.
Added missing support for non-zero winding rule in PSGraphics2D.

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

19 years agoRemoved unnecessary comments.
Jeremias Maerki [Tue, 30 Aug 2005 19:28:39 +0000 (19:28 +0000)]
Removed unnecessary comments.

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

19 years agoSome clean-up.
Jeremias Maerki [Tue, 30 Aug 2005 19:27:58 +0000 (19:27 +0000)]
Some clean-up.

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

19 years agoWrite to log output (debug level) which image source is used to load an image.
Jeremias Maerki [Tue, 30 Aug 2005 18:49:27 +0000 (18:49 +0000)]
Write to log output (debug level) which image source is used to load an image.

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

19 years agonormal-breaking6 shows problems with breaking in narrow environments.
Jeremias Maerki [Tue, 30 Aug 2005 18:14:39 +0000 (18:14 +0000)]
normal-breaking6 shows problems with breaking in narrow environments.
keep-together-inline1 documents that keep-together.within-line doesn't work, yet.

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

19 years agoFix for text-align2.xml (for real now). The alignment used to set up the element...
Jeremias Maerki [Tue, 30 Aug 2005 15:35:37 +0000 (15:35 +0000)]
Fix for text-align2.xml (for real now). The alignment used to set up the element list was not properly determined.

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

19 years agoHmm, seems like my fix was not enough. Now, it simply crashes due to a different...
Jeremias Maerki [Tue, 30 Aug 2005 14:36:55 +0000 (14:36 +0000)]
Hmm, seems like my fix was not enough. Now, it simply crashes due to a different case. Not sure how to solve this, yet.

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

19 years agoFix for ClassCastException as shown in text-align2 (Reported by Lawrence Michel).
Jeremias Maerki [Tue, 30 Aug 2005 12:57:44 +0000 (12:57 +0000)]
Fix for ClassCastException as shown in text-align2 (Reported by Lawrence Michel).
Wrong alignment was taken to remove trailing spaces.

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

19 years agoSome tests for text-align (not comprehensive!).
Jeremias Maerki [Tue, 30 Aug 2005 12:54:59 +0000 (12:54 +0000)]
Some tests for text-align (not comprehensive!).
text-align2 test for a special constellation which currently results in a ClassPathException.

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

19 years agoInitial commit for a FO tree testing facility.
Jeremias Maerki [Tue, 30 Aug 2005 06:09:14 +0000 (06:09 +0000)]
Initial commit for a FO tree testing facility.

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

19 years agoadded support for text-decoration
Peter Herweg [Mon, 29 Aug 2005 20:46:15 +0000 (20:46 +0000)]
added support for text-decoration

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

19 years agoMoved renderInlineBlockParent() up to the superclass. Fixes border and background...
Jeremias Maerki [Mon, 29 Aug 2005 14:22:21 +0000 (14:22 +0000)]
Moved renderInlineBlockParent() up to the superclass. Fixes border and background painting for inline block parents in PostScript.

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

19 years agoFixed the page coordinate system for the PDF Renderer (Defect: Rounding and rounding...
Jeremias Maerki [Mon, 29 Aug 2005 14:13:48 +0000 (14:13 +0000)]
Fixed the page coordinate system for the PDF Renderer (Defect: Rounding and rounding errors).

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

19 years agoCharacter positioning array can easily become too long so break them after every...
Jeremias Maerki [Mon, 29 Aug 2005 12:43:43 +0000 (12:43 +0000)]
Character positioning array can easily become too long so break them after every eigth value.

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

19 years agoBackground trait's toString() streamlined. Test cases adjusted accordingly.
Jeremias Maerki [Mon, 29 Aug 2005 12:03:27 +0000 (12:03 +0000)]
Background trait's toString() streamlined. Test cases adjusted accordingly.
Test cases without checks will fail from now on!!!
Checks for certain test cases and the others are added to the disabled list.

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

19 years agoBugzilla #36396:
Jeremias Maerki [Mon, 29 Aug 2005 12:01:13 +0000 (12:01 +0000)]
Bugzilla #36396:
More test cases for background images.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

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

19 years agoMade the warnings more verbose.
Jeremias Maerki [Mon, 29 Aug 2005 11:55:38 +0000 (11:55 +0000)]
Made the warnings more verbose.

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

19 years agoSet the background traits after the BPD and IPD are set.
Jeremias Maerki [Mon, 29 Aug 2005 11:52:38 +0000 (11:52 +0000)]
Set the background traits after the BPD and IPD are set.

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

19 years agoSet the background traits after the BPD and IPD are set.
Jeremias Maerki [Mon, 29 Aug 2005 11:51:30 +0000 (11:51 +0000)]
Set the background traits after the BPD and IPD are set.

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

19 years agoSet the background a little later, after the IPD is set. A block area grows as necess...
Jeremias Maerki [Mon, 29 Aug 2005 11:50:14 +0000 (11:50 +0000)]
Set the background a little later, after the IPD is set. A block area grows as necessary so this doesn't currently fix the problem that the background traits are set before the BPD is known.

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

19 years agoA little more debug output.
Jeremias Maerki [Mon, 29 Aug 2005 11:48:39 +0000 (11:48 +0000)]
A little more debug output.

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

19 years agoWrite the start-indent trait to the area tree XML.
Jeremias Maerki [Mon, 29 Aug 2005 11:20:29 +0000 (11:20 +0000)]
Write the start-indent trait to the area tree XML.

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

19 years agoNote about missing background on table-body, table-header and table-footer.
Jeremias Maerki [Mon, 29 Aug 2005 09:00:07 +0000 (09:00 +0000)]
Note about missing background on table-body, table-header and table-footer.

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

19 years agoAdded warning for non-standard fallback
Andreas L. Delmelle [Sun, 28 Aug 2005 21:20:56 +0000 (21:20 +0000)]
Added warning for non-standard fallback

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

19 years agoAdded warning for unimplemented feature
Andreas L. Delmelle [Sun, 28 Aug 2005 21:19:24 +0000 (21:19 +0000)]
Added warning for unimplemented feature

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

19 years agoRTF: borders had been too thick: divide by 50 to convert from millipoint to twips
Peter Herweg [Sun, 28 Aug 2005 17:21:38 +0000 (17:21 +0000)]
RTF: borders had been too thick: divide by 50 to convert from millipoint to twips

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

19 years agofixed support for basic-link; process table-footer only, if there is one
Peter Herweg [Sun, 28 Aug 2005 16:44:41 +0000 (16:44 +0000)]
fixed support for basic-link; process table-footer only, if there is one

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

19 years agoAdded negative reference-orientations to block-container4.
Jeremias Maerki [Sat, 27 Aug 2005 21:51:40 +0000 (21:51 +0000)]
Added negative reference-orientations to block-container4.
Now checking the CTMs, too
New block-container4a based on the test case submitted by Yannick Valot for Bugzilla #36391.
I had to disable block-container4a because the CTM for 180/-180 is really wrong. Comment about the defect added to the checks. There's no quick fix, but this is also low-priority for me.

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

19 years agoBugzilla #36391:
Jeremias Maerki [Sat, 27 Aug 2005 21:47:36 +0000 (21:47 +0000)]
Bugzilla #36391:
Fix for negative values for reference orientation. CTM was wrong.
Submitted by: Yannick Valot <yvalot.at.gmail.com>

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

19 years agoBugzilla #36394:
Jeremias Maerki [Sat, 27 Aug 2005 14:40:29 +0000 (14:40 +0000)]
Bugzilla #36394:
Bugfix for painting a single character. Text painting code was not enclosed in "BT" and "ET" commands.

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

19 years agoBugfixes and code cleanup:
Jeremias Maerki [Fri, 26 Aug 2005 21:01:06 +0000 (21:01 +0000)]
Bugfixes and code cleanup:
- processPathIterator method like in PSGraphics2D to reduce duplicate code.
- draw() and fill() coding styles synchronized (which fixes a bug reported by Lawrence Michel)
- Higher resolution for many (not all!) formatted doubles to address the problem reported by Martin Weindel in Bugzilla #35918.

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

19 years agoFix problem with SVG painting. ET was not sent.
Jeremias Maerki [Fri, 26 Aug 2005 15:36:31 +0000 (15:36 +0000)]
Fix problem with SVG painting. ET was not sent.

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

19 years agoAdd support for character area.
Jeremias Maerki [Fri, 26 Aug 2005 15:18:07 +0000 (15:18 +0000)]
Add support for character area.

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

19 years agoCommon base class for TextArea and Character. These two might even be merged altogether.
Jeremias Maerki [Fri, 26 Aug 2005 15:16:58 +0000 (15:16 +0000)]
Common base class for TextArea and Character. These two might even be merged altogether.

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

19 years agoTwo new config values: stop-on-exception and create-diffs.
Jeremias Maerki [Fri, 26 Aug 2005 14:53:01 +0000 (14:53 +0000)]
Two new config values: stop-on-exception and create-diffs.

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

19 years agoBugzilla: #36356
Jeremias Maerki [Fri, 26 Aug 2005 12:25:43 +0000 (12:25 +0000)]
Bugzilla: #36356
Test case for Bug #36356, slightly simplified by using absolute lengths instead of percentages for the margins. Checks added, too.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

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

19 years agoTestcase showing a page-number whose ipd is not correctly set
Luca Furini [Fri, 26 Aug 2005 11:33:31 +0000 (11:33 +0000)]
Testcase showing a page-number whose ipd is not correctly set

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

19 years agoThe necessary SVN properties.
Jeremias Maerki [Fri, 26 Aug 2005 07:55:47 +0000 (07:55 +0000)]
The necessary SVN properties.

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

19 years agoAdded support for table border-*-precedence properties in the table
Finn Bock [Fri, 26 Aug 2005 07:07:06 +0000 (07:07 +0000)]
Added support for table border-*-precedence properties in the table
fo objects.

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

19 years agoRemoved debug output.
Finn Bock [Fri, 26 Aug 2005 07:02:58 +0000 (07:02 +0000)]
Removed debug output.

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

19 years agoInitial version of a property maker that calculate default values for
Finn Bock [Fri, 26 Aug 2005 06:58:49 +0000 (06:58 +0000)]
Initial version of a property maker that calculate default values for
border-*-precedence.

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

19 years agofixed support for tables and lists
Peter Herweg [Thu, 25 Aug 2005 21:36:42 +0000 (21:36 +0000)]
fixed support for tables and lists

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