aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* expected table width was incorrect and now fails due to table width ↵Chris Bowditch2005-09-151-96/+91
| | | | | | calculation being corrected by Jeremias' last change. I have corrected the expected width git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289270 13f79535-47bb-0310-9956-ffa450edef68
* Test case showing a bug with table width determination.Jeremias Maerki2005-09-151-0/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289242 13f79535-47bb-0310-9956-ffa450edef68
* Slight modification to layout testcase to make initial values for ↵Andreas L. Delmelle2005-09-151-6/+6
| | | | | | column-number work git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289200 13f79535-47bb-0310-9956-ffa450edef68
* Disabled testcase for column-number propertyAndreas L. Delmelle2005-09-151-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289199 13f79535-47bb-0310-9956-ffa450edef68
* Simple testcase for initial value of column-number -- tables without ↵Andreas L. Delmelle2005-09-151-0/+145
| | | | | | explicit rows git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289195 13f79535-47bb-0310-9956-ffa450edef68
* Added line-/column-number output for easier tracing of errorsAndreas L. Delmelle2005-09-141-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280971 13f79535-47bb-0310-9956-ffa450edef68
* Disabled test for column-number -- initial values unimplemented for the momentAndreas L. Delmelle2005-09-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280969 13f79535-47bb-0310-9956-ffa450edef68
* Simple testcase for initial value of column-number -- tables with explicit rowsAndreas L. Delmelle2005-09-141-0/+169
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280968 13f79535-47bb-0310-9956-ffa450edef68
* Ouch. The penalties are completely wrong if a higher-level block defines ↵Jeremias Maerki2005-09-142-0/+84
| | | | | | non-conditional padding. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280872 13f79535-47bb-0310-9956-ffa450edef68
* Run the checks on the parent's propertyList.Finn Bock2005-09-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280608 13f79535-47bb-0310-9956-ffa450edef68
* disabled Border conditionality test on tables as it isn't implemented yetChris Bowditch2005-09-131-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280529 13f79535-47bb-0310-9956-ffa450edef68
* Added Test case for Border Conditionality on fo:tableChris Bowditch2005-09-131-0/+195
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280527 13f79535-47bb-0310-9956-ffa450edef68
* Enabled fotree junit tests.Finn Bock2005-09-124-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280298 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the example under 4.3.1 Space-resolution Rules as a test case. ↵Jeremias Maerki2005-09-092-0/+56
| | | | | | Test fails. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279733 13f79535-47bb-0310-9956-ffa450edef68
* Removing trailing spaces at the end of text areas: this is done by storing ↵Luca Furini2005-09-081-2/+3
| | | | | | | | 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
* Bugzilla #36505: Jeremias Maerki2005-09-062-48/+106
| | | | | | | | | | | | | 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
* Renamed test cases to avoid filename problems under Unix.Jeremias Maerki2005-09-051-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278754 13f79535-47bb-0310-9956-ffa450edef68
* Renamed test cases to avoid filename problems under Unix.Jeremias Maerki2005-09-053-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278753 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36487:Jeremias Maerki2005-09-052-214/+0
| | | | | | | 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
* Bugzilla #36487: Jeremias Maerki2005-09-0519-65/+1270
| | | | | | | | | | | | | | | | 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
* Resurrected overwritten test case external-graphic4.xml under a different name.Jeremias Maerki2005-09-012-0/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265747 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36460 (second part):Jeremias Maerki2005-09-01209-34/+34
| | | | | | | 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
* Bugzilla #36460 (first part): Jeremias Maerki2005-09-011-0/+0
| | | | | | | 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
* Bugzilla #36460 (first part): Jeremias Maerki2005-09-0110-314/+398
| | | | | | | 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
* PDFNumber.doubleOut() rewritten using java.text.DecimalFormat. Jeremias Maerki2005-09-012-0/+115
| | | | | | | 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
* Bugzilla #36379:Finn Bock2005-08-3135-205/+1449
| | | | | | | | | | | | 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
* Test case for squeezing an oversized image into a page. Currently fails ↵Jeremias Maerki2005-08-313-0/+53
| | | | | | 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
* normal-breaking6 shows problems with breaking in narrow environments. Jeremias Maerki2005-08-303-0/+125
| | | | | | 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
* Fix for text-align2.xml (for real now). The alignment used to set up the ↵Jeremias Maerki2005-08-302-2/+1
| | | | | | element list was not properly determined. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264797 13f79535-47bb-0310-9956-ffa450edef68
* Hmm, seems like my fix was not enough. Now, it simply crashes due to a ↵Jeremias Maerki2005-08-302-1/+5
| | | | | | 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
* Some tests for text-align (not comprehensive!). Jeremias Maerki2005-08-302-0/+171
| | | | | | 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
* Initial commit for a FO tree testing facility.Jeremias Maerki2005-08-3010-0/+509
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264709 13f79535-47bb-0310-9956-ffa450edef68
* Background trait's toString() streamlined. Test cases adjusted accordingly. Jeremias Maerki2005-08-2916-23/+72
| | | | | | | 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
* Bugzilla #36396: Jeremias Maerki2005-08-2910-0/+833
| | | | | | | 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
* Added negative reference-orientations to block-container4. Jeremias Maerki2005-08-273-42/+212
| | | | | | | | 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
* Two new config values: stop-on-exception and create-diffs.Jeremias Maerki2005-08-261-21/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240253 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla: #36356 Jeremias Maerki2005-08-262-0/+60
| | | | | | | 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
* Testcase showing a page-number whose ipd is not correctly setLuca Furini2005-08-262-1/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240206 13f79535-47bb-0310-9956-ffa450edef68
* After chasing a phantom for hours, it looks like it's simply the big images ↵Jeremias Maerki2005-08-251-0/+5
| | | | | | | | being generated that eat over 90% of the memory and at some point cause an OutOfMemoryError. Releasing the bitmaps a little sooner now which helps a little. "-Xmx256m" is still a good idea for BatchDiffer. Haven't found any memory leaks inside FOP, since I fixed the image cache. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240079 13f79535-47bb-0310-9956-ffa450edef68
* Moved CLI to its own package. New main class is org.apache.fop.cli.Main. Jeremias Maerki2005-08-231-1/+1
| | | | | | InputHandler is not passed through the FOUserAgent anymore. IMO it doesn't belong there. Instead I defined an interface "Renderable" in the AWT preview that InputHandler implements. This is used exclusively for reloading the document inside the preview dialog. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239409 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36224: Jeremias Maerki2005-08-212-1/+9
| | | | | | | | | | | | | | 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
* Show and fix a bug where bottom/right positioning of block-containers didn't ↵Jeremias Maerki2005-08-211-1/+15
| | | | | | work properly when the block-container is nested in a block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234203 13f79535-47bb-0310-9956-ffa450edef68
* I want to work while this is running. :-)Jeremias Maerki2005-08-211-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234189 13f79535-47bb-0310-9956-ffa450edef68
* Testing all inline-level FOs inside fo:inline to check for ↵Jeremias Maerki2005-08-201-0/+59
| | | | | | ClassCastExceptions as reported in Bugzilla #36248. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234033 13f79535-47bb-0310-9956-ffa450edef68
* Add a method to clear all image caches for testing purposes. It shouldn't be ↵Jeremias Maerki2005-08-161-5/+36
| | | | | | | | necessary anymore to call such a method in a production environment or we have a problem with the image cache. Testing SystemID resolution as well as StreamSource with an InputStream. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232952 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36082 Jeremias Maerki2005-08-161-11/+9
| | | | | | | Renamed FOUserAgent.getStream() to FOUserAgent.resolveURI() which now simply returns a Source instance which the ImageFactory uses to get at an InputStream somehow. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232949 13f79535-47bb-0310-9956-ffa450edef68
* ref to bugzilla 36180Chris Bowditch2005-08-153-0/+251
| | | | | | | Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232810 13f79535-47bb-0310-9956-ffa450edef68
* Aaargh. Imports again.Jeremias Maerki2005-08-151-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232789 13f79535-47bb-0310-9956-ffa450edef68
* JUnit Test cases to test URI resolution using custom URIResolvers. They are ↵Jeremias Maerki2005-08-153-0/+279
| | | | | | not yet integrated into the test suite as the second test fails and the first test needs some changes in the code (see TODO). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232788 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36082 Jeremias Maerki2005-08-1517-0/+554
| | | | | | | | | | | | | | | | | | | | | 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