aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Testcases for conditional spaces inside table-cells.Vincent Hennebert2007-07-242-0/+409
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@559087 13f79535-47bb-0310-9956-ffa450edef68
* Corrected issue with zero width spaces being given a non zero widthManuel Mall2007-07-221-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@558455 13f79535-47bb-0310-9956-ffa450edef68
* Added support for keep-togther.within-line="always"Manuel Mall2007-07-183-22/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557347 13f79535-47bb-0310-9956-ffa450edef68
* Fixed incomplete support for Unicode word joinersManuel Mall2007-07-181-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557219 13f79535-47bb-0310-9956-ffa450edef68
* Use a list of active cells for computing steps, continued:Vincent Hennebert2007-07-091-8/+8
| | | | | | | | | - remove the need for backupWidth - handle the iteration over the cell's Knuth element inside the active cell itself - improve the computation of the remaining height (a testcase needed to be updated; no visual change, only the values for the boxes/penalties which lead to the same result) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554690 13f79535-47bb-0310-9956-ffa450edef68
* Improvement in handling relative font-weightsAndreas L. Delmelle2007-07-062-15/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554088 13f79535-47bb-0310-9956-ffa450edef68
* Add a testcase for a bug in TableStepper spotted during the refactoring. The ↵Vincent Hennebert2007-07-061-0/+83
| | | | | | border-before of the primary grid unit was taken into account instead of the whole cell border. If the cell is spanning over two columns and the border-before for the second grid unit is bigger, this was leading to a wrong step computation. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@553824 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #42278:Jeremias Maerki2007-06-292-0/+120
| | | | | | | | | | | | | Refactoring of color map cache and uri/fo resolution from FopFactory Submitted by: Adrian Cumiskey <fop-dev@cumiskey.com> Changes in addition to the patch by jeremias: - Moved the color map cache to the util package so it doesn't clutter the API (apps) package. - Factored out the data URL resolution into its own URIResolver class which can now be used separately. - Added a utility class for generating RFC2397 data URLs. - Added a unit test for data URL handling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@551874 13f79535-47bb-0310-9956-ffa450edef68
* Additional testcases for tables with spanning cells and collapsing-border model.Vincent Hennebert2007-06-282-0/+1079
| | | | | | | TODO the checks in table_border-collapse_collapse_spans_2.xml need to updated once bugs #42768 and #42769 are fixed git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@551603 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 42703: white-space incorrectly handled in retrieved markersAndreas L. Delmelle2007-06-231-0/+70
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@550098 13f79535-47bb-0310-9956-ffa450edef68
* Updated PDF/A-1b support according to ISO-19005-1:2005/Cor.1:2007.Jeremias Maerki2007-06-224-2/+117
| | | | | | | | Changed test.xconf to match the triplet generated by auto-font-detection (Gladiator is bold) and adjusted PDF/A test files accordingly. Updated XML Graphics Commons to latest snapshot to include the PDF/A fixes. Added a unit test for the synchronization of PDF Info and XMP metadata as described in PDF/A-1. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@549816 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #42576Chris Bowditch2007-06-221-0/+152
| | | | | | | Fix bug in force-page-count Submitted by Adrian Cumiskey <dev.at.cumiskey.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@549767 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #41831:Jeremias Maerki2007-05-2828-122/+428
| | | | | | | | | | | | | | | | | | | | - Add support font auto-detection (easier font configuration) including a font cache to speed up the auto-detection process. - Refactoring of the configuration code: All Avalon configuration stuff is extracted into separate "Configurator" classes. - Refactoring of the FOURIResolver. Submitted by: Adrian Cumiskey <fop-dev.at.cumiskey.com> Changes to the patch by jeremias during the review: - Font cache simplified (Java object serialization instead of XML), functionality fixed and moved to the fonts.package. - Relocated default cache file location to user directory. - Fixed the font configuration for PDFDocumentGraphics2D/PDFTranscoder that got lost with the patch. - Fixed a problem with having a non-file URL as font base URL. - Simplified RendererContextInfo stuff to make it easier to understand. - Fixed handling of Type 1 fonts in auto-detection. - Reduced verbosity of font-related log output. - Updated Jakarta Commons IO to version 1.3.1 (the patch depends on it) - Various javadocs improvements git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@542237 13f79535-47bb-0310-9956-ffa450edef68
* One Factory per VM is enough here.Jeremias Maerki2007-05-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@542036 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #42109: Jeremias Maerki2007-05-211-11/+11
| | | | | | | Fixed the rendering of zero-width spaces for certain fonts by not generating them into the area tree. Submitted by: Paul Vinkenoog <paul.at.vinkenoog.nl> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@540049 13f79535-47bb-0310-9956-ffa450edef68
* ID on wrapper should work now.Jeremias Maerki2007-05-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538539 13f79535-47bb-0310-9956-ffa450edef68
* Fixing a problem with disappearing footnotes inside inlines when hyphenation ↵Luca Furini2007-05-152-7/+2
| | | | | | | | | is enabled, and with disappearing footnotes whose inline child can be hyphenated (quite unlikely, but you never know ...). As the FootnoteLM was completely "bypassed", it could not add the anchor in the getChangedKnuthElement() phase. Testcase updated with an example of the "hyphenated inline child" case. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538198 13f79535-47bb-0310-9956-ffa450edef68
* Testcase for bookmarks in the area tree.Jeremias Maerki2007-05-071-0/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@535867 13f79535-47bb-0310-9956-ffa450edef68
* Bugfixes:Vincent Hennebert2007-04-305-0/+364
| | | | | | | | | | - NPE when break-before is set on the first row of a table with headers - NPE when break-after is set on the last row of a table with headers or footers - Invalid break class exception when break-after is set on the last block of a cell in the last row of a table - double page break when break-before is set both on a table and its first row git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@533789 13f79535-47bb-0310-9956-ffa450edef68
* Fix a NPE when break-before is specified on the first row of a table, and ↵Vincent Hennebert2007-04-261-0/+78
| | | | | | when that row contains a row-spanning cell. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@532780 13f79535-47bb-0310-9956-ffa450edef68
* Add check for the number of pagesVincent Hennebert2007-04-262-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@532777 13f79535-47bb-0310-9956-ffa450edef68
* Make keep-with-next and keep-with-previous work on fo:tableVincent Hennebert2007-04-262-0/+150
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@532754 13f79535-47bb-0310-9956-ffa450edef68
* Forgot checks for the second table's IPDsVincent Hennebert2007-04-241-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@531804 13f79535-47bb-0310-9956-ffa450edef68
* "Exhaustive" testcase for border resolution in the collapsing-border modelVincent Hennebert2007-04-241-2/+313
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@531799 13f79535-47bb-0310-9956-ffa450edef68
* First testcases for the collapsing-border model in tablesVincent Hennebert2007-04-204-0/+771
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530894 13f79535-47bb-0310-9956-ffa450edef68
* Fix the computation of cells' IPD when they contain children with forced breaks.Vincent Hennebert2007-04-201-13/+29
| | | | | | | In such cases TableCellLM.getNextKnuthElements was called several times, and thus the borders/paddings of the cell were substracted several times from the IPD. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530724 13f79535-47bb-0310-9956-ffa450edef68
* Fix the handling of forced breaks which were sometimes counted twice.Vincent Hennebert2007-04-181-0/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530040 13f79535-47bb-0310-9956-ffa450edef68
* Make the fop.layoutengine.disabled property work with ↵Vincent Hennebert2007-04-171-0/+1
| | | | | | fop.layoutengine.starts-with git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529667 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for keep-with-next inside tables:Jeremias Maerki2007-04-011-0/+69
| | | | | | Once a keep-with-next was set inside a table, the FO following the table would always be glued to the previous table. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524571 13f79535-47bb-0310-9956-ffa450edef68
* Add explicit border-collapse="separate" property in preparation for the ↵Vincent Hennebert2007-03-301-4/+4
| | | | | | implementation of the border-collapsing model git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@524014 13f79535-47bb-0310-9956-ffa450edef68
* - add border-collapse="separate" to the properties of tables in some ↵Vincent Hennebert2007-03-272-257/+257
| | | | | | | | | testcases, in preparation for the soon-to-be-enabled border-collapsing model - fix svn keywords for region_display-align_table.xml git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@522907 13f79535-47bb-0310-9956-ffa450edef68
* Some more comments for RowPainter.Jeremias Maerki2007-03-231-0/+84
| | | | | | Additional test that checks that no cell paints more than one area in that case. Because if you remove one or more of the checks now newly commented, you get multiple areas. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@521744 13f79535-47bb-0310-9956-ffa450edef68
* Better document some of the code in RowPainter.Jeremias Maerki2007-03-231-1/+2
| | | | | | Added a check in table-cell_number-rows-spanned_bug38397.xml which is the reason for one of the if-branches in RowPainter. It wan't tested previously so that if-branch could easily be mistaken to be useless. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@521713 13f79535-47bb-0310-9956-ffa450edef68
* Avoid an IndexOutOfBoundsException when more columns are used than are ↵Jeremias Maerki2007-03-231-0/+75
| | | | | | specified even though this is illegal with fixed table layout. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@521640 13f79535-47bb-0310-9956-ffa450edef68
* Fixed an IllegalArgumentException for absolutely positioned block-containers ↵Jeremias Maerki2007-03-121-19/+29
| | | | | | with a border and no height/bpd set. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@517415 13f79535-47bb-0310-9956-ffa450edef68
* Disable FontBaseBadTestCase for now as it is currently not working and makes ↵Vincent Hennebert2007-02-281-0/+5
| | | | | | the build fail. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@512809 13f79535-47bb-0310-9956-ffa450edef68
* Switch to XGCommons' ImageWriter for writing PNGs.Jeremias Maerki2007-02-281-8/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@512686 13f79535-47bb-0310-9956-ffa450edef68
* Removed visual markers to count the lines from the testcase...Andreas L. Delmelle2007-02-231-12/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@510739 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 41652: Andreas L. Delmelle2007-02-221-0/+65
| | | | | | | | Preserved linefeeds now generate an empty line. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@510626 13f79535-47bb-0310-9956-ffa450edef68
* Add the very same test cases with tables using starts-row/ends-row instead ↵Vincent Hennebert2007-02-143-5/+350
| | | | | | of fo:table-row objects git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@507597 13f79535-47bb-0310-9956-ffa450edef68
* Stricter user config file validation.Vincent Hennebert2007-02-1417-3/+618
| | | | | | | | | Add a configuration parameter (strict-configuration), enabled by default, which makes FOP throw an exception instead of logging an error when a problem occurs. Invalid resource paths should be catched now. Fixes bug #40120. Submitted by: Adrian Cumiskey (fop-dev AT cumiskey DOT com) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@507539 13f79535-47bb-0310-9956-ffa450edef68
* Forgot the ASF header in the fo test filesVincent Hennebert2007-02-132-0/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@507162 13f79535-47bb-0310-9956-ffa450edef68
* First unit tests for table layout manager classesVincent Hennebert2007-02-134-0/+645
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@507160 13f79535-47bb-0310-9956-ffa450edef68
* Fix: override PropertyMaker.make() to properly parse font-family names ↵Andreas L. Delmelle2007-02-061-0/+49
| | | | | | containing spaces. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@504280 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bugzilla 41503: Andreas L. Delmelle2007-01-311-0/+58
| | | | | | | take into account that column-numbers need not be monotonically increasing git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@501977 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 41019, minor changes to a few testcases as now a different set ↵Luca Furini2007-01-303-19/+21
| | | | | | of break is created. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@501453 13f79535-47bb-0310-9956-ffa450edef68
* Properties are wrong. Sorry.Jeremias Maerki2007-01-221-49/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@498837 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #41426:Jeremias Maerki2007-01-222-5/+53
| | | | | | | | Fix for ClassCastException when fo:wrapper was used as direct child of fo:flow. Note: "id" attributes are still not handled properly on fo:wrapper! Submitted by: Adrian Cumiskey <fop-dev.at.cumiskey.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@498835 13f79535-47bb-0310-9956-ffa450edef68
* Initial support for soft hyphensManuel Mall2007-01-133-0/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@495855 13f79535-47bb-0310-9956-ffa450edef68
* Added support for line-height-shift-adjustment propertyManuel Mall2007-01-111-0/+111
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@495222 13f79535-47bb-0310-9956-ffa450edef68