Commit Graph

21 Commits

Author SHA1 Message Date
Manuel Mall
7dab077c58 more test images for layout engine tests
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@307038 13f79535-47bb-0310-9956-ffa450edef68
2005-10-07 07:16:52 +00:00
Jeremias Maerki
c6cb98b668 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
2005-09-06 10:18:58 +00:00
Jeremias Maerki
243ec46c26 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
2005-09-01 13:03:17 +00:00
Jeremias Maerki
6af5e0e866 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
2005-08-31 14:32:59 +00:00
Jeremias Maerki
de9376da2d Bugzilla #36224:
This patch ports the 0.20.5 CCITTFaxDecode filter functionality and its support
of direct embedding on certain TIFF images to the trunk.
It also cleans up some of the image handling with respect to consistent closing
of the input stream to avoid dangling open files.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

Changes to the patch:
Fixed a small problem with the NullFilter in the PDF library.
Used tiff_group4.tiff in external-graphic-tiff.xml.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234261 13f79535-47bb-0310-9956-ffa450edef68
2005-08-21 16:44:00 +00:00
Jeremias Maerki
98745dd6db Bugzilla #36082
1. Addresses the URI resolving issue as discussed in this bug by providing a
FOP implementation of the URIResolver interface as well as the capabilities to
set a URIResolver on the FOUserAgent object.
2. Modifies the BMPReader to extract the resolution information.
3. Fixes a possible array bounds exception in BMPImage which can happen for BMP
images with extra bytes at the end.
4. Provides some infrastructure in ImageFactory in preparation of external
configuration of multiple prioritised image providers per mime type.
5. Sets a proper base URL in SVGElement.
6. Provides test cases and test images for the different formats and
resolutions.
Submitted by: Manuel Mall <mm.at.arcus.com.au>

Patch slightly modified:
- EPS sample graphic exchanged with a very simple and more importantly much smaller one generated by Barcode4J.
- Enabled resolution checking for some of the format-specific testcases (especially after working around resolution detection for PNG)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232786 13f79535-47bb-0310-9956-ffa450edef68
2005-08-15 10:34:31 +00:00
Jeremias Maerki
105e8b261d Image resources for tests
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198303 13f79535-47bb-0310-9956-ffa450edef68
2005-01-24 10:44:18 +00:00
William Victor Mote
0d03763cd5 white-space and line-ending cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195674 13f79535-47bb-0310-9956-ffa450edef68
2002-11-29 19:47:03 +00:00
Keiron Liddle
a6dfaed495 improved layout a bit, added some more examples of scaling
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195438 13f79535-47bb-0310-9956-ffa450edef68
2002-11-06 15:57:11 +00:00
Keiron Liddle
045ed065e4 test for images with errors
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195106 13f79535-47bb-0310-9956-ffa450edef68
2002-08-20 06:45:15 +00:00
Keiron Liddle
6deb492a66 changed to a format jimi can handle, no alpha and packed
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195098 13f79535-47bb-0310-9956-ffa450edef68
2002-08-19 13:45:00 +00:00
Keiron Liddle
eb196eb49f added test, currently not handled, for a transparency factor on whole image
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195052 13f79535-47bb-0310-9956-ffa450edef68
2002-08-02 09:57:10 +00:00
Keiron Liddle
1b00621af0 added eps image type
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195051 13f79535-47bb-0310-9956-ffa450edef68
2002-08-02 08:52:23 +00:00
Keiron Liddle
43b70ce361 added a few more text tests
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195005 13f79535-47bb-0310-9956-ffa450edef68
2002-07-18 10:10:26 +00:00
Keiron Liddle
358c7ebdbd improved patterns, the contents should be visible now
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194992 13f79535-47bb-0310-9956-ffa450edef68
2002-07-10 08:22:24 +00:00
Keiron Liddle
896554dab3 embedding svg in instream-foreign-object with alignment and scaling
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194970 13f79535-47bb-0310-9956-ffa450edef68
2002-07-05 09:20:13 +00:00
Keiron Liddle
238467227e some test images and fo with alignment, viewports etc.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194967 13f79535-47bb-0310-9956-ffa450edef68
2002-07-05 06:10:54 +00:00
Keiron Liddle
9a12631843 added some more complicated fills
tests use of resources inside patterns


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194931 13f79535-47bb-0310-9956-ffa450edef68
2002-06-28 06:21:29 +00:00
Keiron Liddle
4a98e50c8f more svg tests with transparency, patterns and images
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194908 13f79535-47bb-0310-9956-ffa450edef68
2002-06-21 15:17:36 +00:00
Keiron Liddle
49a3d7a5eb put decent glyphs for font
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194890 13f79535-47bb-0310-9956-ffa450edef68
2002-06-17 09:44:05 +00:00
Keiron Liddle
9a506aa30e some svg test, links and text
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194883 13f79535-47bb-0310-9956-ffa450edef68
2002-06-14 14:29:48 +00:00