aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Added (limited) support for Unicode UAX#14 compliant line breaking. Thanks ↵Manuel Mall2006-12-225-284/+625
| | | | | | to Joerg Pietschman who supplied the core code for the Unicode line breaking algorithm git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@489585 13f79535-47bb-0310-9956-ffa450edef68
* Add a disabled testcase for bug #40230 (was in my local copy for long)Vincent Hennebert2006-12-072-1/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@483461 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #40729:Jeremias Maerki2006-11-133-10/+66
| | | | | | | | | Support for the rgb-icc() function and for a proprietary cmyk() function (for device CMYK colors only through the PDF renderer so far). Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com> Patch slightly modified to comply with our Java conventions, plus some minor editing. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@474225 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed bug when the sum of column widths of a table is larger than ↵Jeremias Maerki2006-11-061-0/+88
| | | | | | the specified widths. The table width was not adjusted. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@471725 13f79535-47bb-0310-9956-ffa450edef68
* Style only.Jeremias Maerki2006-10-252-46/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@467698 13f79535-47bb-0310-9956-ffa450edef68
* Update to latest font metric XML version to make tests work again.Jeremias Maerki2006-10-252-3/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@467691 13f79535-47bb-0310-9956-ffa450edef68
* FilledArea now properly applies the variation factor, when a pageSimon Pepping2006-10-113-60/+9
| | | | | | | | | | number citation is resolved. It (and each InlineArea) may have an adjustingInfo object for that purpose. Adapted leader_toc testcase to the new, correct, results; removed page-number-citation_forward-ref testcase because it duplicates the leader_toc testcase. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462812 13f79535-47bb-0310-9956-ffa450edef68
* Fixed layout of forward page number citation references in fo:inlineSimon Pepping2006-10-071-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@453920 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Nested tables with headers and footers were not handled correctly ↵Jeremias Maerki2006-10-071-0/+179
| | | | | | and could overlap with the region-after. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@453900 13f79535-47bb-0310-9956-ffa450edef68
* This fixes a bug that has crept in page number resolution, viz. the text was ↵Simon Pepping2006-10-061-0/+52
| | | | | | not updated, so that the wrong ipd was calculated. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@453700 13f79535-47bb-0310-9956-ffa450edef68
* Simple test of the PDFCMap class, before refactoring it for ToUnicode Bertrand Delacretaz2006-09-202-0/+71
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@448243 13f79535-47bb-0310-9956-ffa450edef68
* Code style, conform to checkstyle requirements (where it makes sense)Bertrand Delacretaz2006-09-202-89/+115
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@448214 13f79535-47bb-0310-9956-ffa450edef68
* PDFEncodingTestCase added, but test with custom font is disabled, fails (as ↵Bertrand Delacretaz2006-09-157-11/+262
| | | | | | expected, bugzilla 40467) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@446640 13f79535-47bb-0310-9956-ffa450edef68
* BasePDFTestCase extracted from PDFAConformanceTestCase, will be used to ↵Bertrand Delacretaz2006-09-152-48/+85
| | | | | | create more PDF renderer tests git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@446585 13f79535-47bb-0310-9956-ffa450edef68
* Implemented limited support for extension properties through new methods on ↵Jeremias Maerki2006-09-116-0/+756
| | | | | | | | | | ElementMapping (backwards-compatible). Moved block-progression-unit into the fox: namespace. Implemented new extension properties: fox:orphan-content-limit and fox:widow-content-limit for fo:table and fo:list-block. See documentation for details. Bugfix in ElementListUtils.removeLegalBreaks (concerning box/glue combinations). Added a unit test to cover the problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@442282 13f79535-47bb-0310-9956-ffa450edef68
* Trivial change to testcase to avoid 800+ warning messagesManuel Mall2006-09-021-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@439568 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39414:Andreas L. Delmelle2006-09-021-6/+0
| | | | | | | | | Uninterrupted text blocks larger than 32K characters would cause overflows during layout, so make sure the FOText char arrays are never larger, by splitting them up into multiple instances. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@439511 13f79535-47bb-0310-9956-ffa450edef68
* Make FontInfo look for the same font-family and weight first, but with ↵Andreas L. Delmelle2006-08-291-12/+6
| | | | | | default font-style git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@438251 13f79535-47bb-0310-9956-ffa450edef68
* Minor enhancement of column-number property code / removal of unused methodAndreas L. Delmelle2006-08-221-0/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433459 13f79535-47bb-0310-9956-ffa450edef68
* Minor enhancement of FOTree test outputAndreas L. Delmelle2006-08-221-4/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433456 13f79535-47bb-0310-9956-ffa450edef68
* Minor fix: set negative values to zero for b-p-d/i-p-dAndreas L. Delmelle2006-08-211-11/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433385 13f79535-47bb-0310-9956-ffa450edef68
* Rework of default column-creation and setting column-widths from the first ↵Andreas L. Delmelle2006-08-211-14/+0
| | | | | | row (fixes Bugzilla 35656) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433291 13f79535-47bb-0310-9956-ffa450edef68
* Changed testcases failing due to r432190Andreas L. Delmelle2006-08-179-18/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@432403 13f79535-47bb-0310-9956-ffa450edef68
* Helper XSLT which can split an FO file into multiple FO files at ↵Jeremias Maerki2006-08-091-0/+45
| | | | | | page-sequence boundaries. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@430134 13f79535-47bb-0310-9956-ffa450edef68
* Rework of the marker/retrieve-marker implementation to cater for correct ↵Andreas L. Delmelle2006-08-065-25/+220
| | | | | | evaluation of percentages and relative font-sizes, as well as more correct white-space handling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@429168 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39840:Jeremias Maerki2006-08-041-0/+85
| | | | | | Changed the way overflowing pages are handled. The overflow property on region-body is now used to define the behaviour. It removes the "Some content could not fit..." exception that bugged so many. However, the change does not yet change any keep behaviour. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@428750 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a memory-leak: The FO tree part of a page-sequence was not released ↵Jeremias Maerki2006-08-032-0/+180
| | | | | | | | | when a page-sequence was finished. Added a "MemoryEater" debug helper which can replicate page-sequences of a regular FO file using the fo-replicator.xsl. Without the fix a JVM set to the normal 64MB heap size throws an OutOfMemoryError when replicating readme.fo 150 times. With the fix the memory consumption doesn't go above 10MB for the 1350 pages. Note that about one third of the time goes into garbage collection. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@428450 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Table headers and footers were swallowed when a table was nested in ↵Jeremias Maerki2006-08-021-0/+115
| | | | | | a list-block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@428011 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Temp_Floats branch:Jeremias Maerki2006-08-021-18/+90
| | | | | | Fixed a bug with indent handling when margins are used on a surrounding block and not start/end-indent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@427939 13f79535-47bb-0310-9956-ffa450edef68
* Changed license headers and updated NOTICE file according to: ↵Jeremias Maerki2006-07-28490-13637/+14127
| | | | | | http://www.apache.org/legal/src-headers.html git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426576 13f79535-47bb-0310-9956-ffa450edef68
* Showing a problem with SVG used inside a basic-link. The size of the link ↵Jeremias Maerki2006-07-112-0/+62
| | | | | | rect is wrong and only spans the area of the nominal line rect. (As reported on fop-users) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420759 13f79535-47bb-0310-9956-ffa450edef68
* Test case for change/revision 411180 ("Extends white-space removal to occur ↵Jeremias Maerki2006-06-121-0/+100
| | | | | | also before nested block-*level* FOs instead of only blocks.") git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@413614 13f79535-47bb-0310-9956-ffa450edef68
* Added region-body_display-align to demonstrate the default behaviour for ↵Jeremias Maerki2006-06-082-0/+192
| | | | | | | | adjustable spaces when display-align is set to "auto". Reactivated proprietary display-align="distribute" so a block-container can cause its content to be "justified" in the reference area if it's large enough and the adjustable elements (min/opt/max) allow for it. I may be misusing the original intended behaviour of "distribute" but for block-container this seemed suitable since it's destined to produce only one viewport/reference pair if possible. Test added that demonstrates the proprietary value on block-container. Note: on normal region-body elements, display-align="distribute" has currently no effect since the code did not evolve with the changes in the layout engine. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412735 13f79535-47bb-0310-9956-ffa450edef68
* Set a PrefixResolver for the "true" check, too, not only for "eval".Jeremias Maerki2006-06-082-14/+24
| | | | | | Added optional "tolerance" value for number comparisons using the "eval" check. Simplifies certain checks. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412732 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: components of border-separation weren't set when using ↵Andreas L. Delmelle2006-06-081-0/+67
| | | | | | shorthand-mode, leading to an NPE being thrown (Bugzilla 39712) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412714 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Table headers were omitted when a table is a child of a block-container.Jeremias Maerki2006-06-071-0/+87
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412407 13f79535-47bb-0310-9956-ffa450edef68
* Fixes Bugzilla 39560: make sure the interaction between FOs and properties ↵Andreas L. Delmelle2006-06-061-6/+0
| | | | | | is only performed once git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412224 13f79535-47bb-0310-9956-ffa450edef68
* Tweak: change expected value to an absoluteAndreas L. Delmelle2006-06-051-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@411742 13f79535-47bb-0310-9956-ffa450edef68
* Update assertions to reflect recent modification to the method in questionAndreas L. Delmelle2006-06-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@411545 13f79535-47bb-0310-9956-ffa450edef68
* Correct some formal errors in this file.Simon Pepping2006-05-191-1/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407821 13f79535-47bb-0310-9956-ffa450edef68
* An emergency patch to avoid that a non-breaking space at the end of anSimon Pepping2006-05-191-0/+60
| | | | | | | | | | | fo:inline with padding, followed by another fo:inline, while text-align is justify, does not cause a NullPointerException due to InlineStackingLayoutManager.addALetterSpaceTo(). Patch submitted by Max Berger <max@berger.name>, applied with some modifications. This patch solves bug 39571. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407819 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: The combination of hyphenation and kerning resulted in slightly ↵Jeremias Maerki2006-05-191-0/+60
| | | | | | ragged right ends for right-aligned and justified text. The kerning values were not correctly placed and summed up for hyphenation and no-hyphenation conditions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407774 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: NullPointerException in AreaAdditionUtil in a table-cell spanning ↵Jeremias Maerki2006-05-182-0/+88
| | | | | | | | multiple pages and with a marker. Note: This is a hack to avoid the NPE. A problem remains. The markers will not be added if the first/last conditions cannot be determined. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407614 13f79535-47bb-0310-9956-ffa450edef68
* Testcase for Bugzilla #39560Jeremias Maerki2006-05-182-0/+104
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407588 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39533:Jeremias Maerki2006-05-181-1/+1
| | | | | | | Bugfix: NullPointerException in RTF output when a table does not contain table-columns. The code now informs the user that he should explicitely define the table-columns. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407576 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39607:Jeremias Maerki2006-05-183-0/+107
| | | | | | | Bugfix for NPE in RTF library. Submitted by: Julien Aymé <julien.ayme.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407553 13f79535-47bb-0310-9956-ffa450edef68
* Extended PageViewport to carry foreign attributes.Jeremias Maerki2006-05-182-1/+61
| | | | | | | | | | | | | Foreign attributes from simple-page-master are transferred to the PageViewport. Added foreign attributes handling in AreaTreeParser. Fixed proper generation of foreign attributes in XMLRenderer. EvalCheck extended so it can use namespace prefix mappings in its context. Test case for foreign attributes. Paper source/tray support for PCL (pcl:paper-source="<tray-code>" on s-p-m) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@407541 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: tables nested in inline elements caused a NullPointerException.Jeremias Maerki2006-05-151-0/+55
| | | | | | | Furthermore, keep-together handling was not appropriate when a table is nested in an inline (fixes a ClassCastException). Finally, TableContentPosition did not indicate that it generates area which made them be ignored by the InlineLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@406596 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #39443:Jeremias Maerki2006-05-071-0/+68
| | | | | | | Bugfix: Sections with span="all" lead to overlapping text if spanning multiple pages. Tables and list produced an illegal value for break class on normal breaks. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@404751 13f79535-47bb-0310-9956-ffa450edef68
* Fixed incorrect handling of percentages in vertical-align property values ↵Manuel Mall2006-05-061-7/+47
| | | | | | and added testcase git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@400279 13f79535-47bb-0310-9956-ffa450edef68