aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Font name was wrongMaximilian Berger2009-09-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@818441 13f79535-47bb-0310-9956-ffa450edef68
* Added Testcase from Bug #47872 (thanks to alex kiel) and fixed it in FontLoaderMaximilian Berger2009-09-242-0/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@818424 13f79535-47bb-0310-9956-ffa450edef68
* Added support for the #CMYK pseudo-profile supported by some commercial XSL ↵Jeremias Maerki2009-09-162-5/+21
| | | | | | implementations on the rgb-icc() function. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815938 13f79535-47bb-0310-9956-ffa450edef68
* Fixed SVN PropsMaximilian Berger2009-09-152-153/+153
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815383 13f79535-47bb-0310-9956-ffa450edef68
* Merged back ChangingIPDHack branch into TrunkVincent Hennebert2009-08-266-0/+607
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808157 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 46905: Added basic implementation for column-level keeps. Andreas L. Delmelle2009-08-236-8/+228
| | | | | | | | Also added one disabled-testcase for a remaining issue with page-level keeps in multi-column layout. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@807014 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 47710: White-space handling in retrieved markers throws a ↵Andreas L. Delmelle2009-08-201-0/+77
| | | | | | NullPointerException in some cases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806361 13f79535-47bb-0310-9956-ffa450edef68
* Added tests for 2, 3, 4 values specified in the page boundaries properties.Vincent Hennebert2009-08-141-1/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804159 13f79535-47bb-0310-9956-ffa450edef68
* Renamed PageScaleAttributes class into PageScale.Vincent Hennebert2009-08-121-4/+6
| | | | | | | | | | | Simplified and improved its behaviour: - return null for an empty string - allow for an arbitrary sequence of white spaces between the scales - check that number of arguments is no more than 2 - other small improvements git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@803440 13f79535-47bb-0310-9956-ffa450edef68
* Fixed issues in PageBoundaries class:Vincent Hennebert2009-08-104-143/+207
| | | | | | | | | | | | | - typos in method name and documentation - unnecessary conversions from double to int - a single space between values of bleed and crop-offset is too restrictive; changed into a sequence of white space characters Cleanup and improvements of prepress tests: - split PrepressTest class into two separate PageScaleTest and PageBoundariesTest test cases - moved newly created test cases into prepress sub-package - re-organized tests and made them more complete git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@802752 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47311:Jeremias Maerki2009-08-031-32/+44
| | | | | | | | Fixed typos. Bugfix: when crop-offset wasn't specified, but bleed was, the media box was wrong. Tried to fix encapsulation problem mentioned by Vincent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800401 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47311:Jeremias Maerki2009-08-022-0/+131
| | | | | | | | | | | | | | | | Added an initial set of extensions for prepress support (fox:bleed, fox:crop-offset, fox:crop-box and fox:scale). This is currently supported only by PDF and Java2D renderers. Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com> Changes to patch by jeremias: - crop box expands from trim box rather than the bleed box. - fixed positioning in AWT preview Additional changes included: - disabled the border around every page in Java2DRenderer. - if background painting is enabled for the Java2DRenderer, it uses the bleed box rather than the trim box. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800142 13f79535-47bb-0310-9956-ffa450edef68
* Added support for AFP font embedding. Note: this changes the default ↵Jeremias Maerki2009-07-272-3/+14
| | | | | | | | | | behaviour. Like with PDF and PS, all fonts are embedded by default unless matched in the "referenced-fonts" section in the configuration. Added support for embedding external AFP form maps (form defs) using the afp:include-form-map extension. Fixed a small problem with AFP-related events. DefaultFOPResourceAccessor got a fallback to the user agent's base URI if no category base URI is specified. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798207 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 46960: Previously retrieved marker not cleared when the ↵Andreas L. Delmelle2009-06-051-0/+54
| | | | | | subsequently retrieved marker was empty. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@781944 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47101: The cells of a table inside a marker were duplicated at ↵Vincent Hennebert2009-05-131-0/+82
| | | | | | every marker retrieval. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@774280 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: allow back slashes for file URLs as they are commonly used in WindowsChris Bowditch2009-05-072-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@772672 13f79535-47bb-0310-9956-ffa450edef68
* Changes from revision 768320 introduced another bug: footnotes from later ↵Vincent Hennebert2009-05-012-0/+81
| | | | | | steps were taken into account too early git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@770635 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: footnotes occurring within the forced height of a table row did not ↵Vincent Hennebert2009-04-241-0/+67
| | | | | | appear on the output git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@768320 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 47027: Correction for interpretation of pixel-lengths, as suggested ↵Andreas L. Delmelle2009-04-194-20/+79
| | | | | | | | | by Jeremias. + minor changes to the fotreetest-classes: distinguish between fatal errors due to malformed testcases, and genuine assertion failures. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@766492 13f79535-47bb-0310-9956-ffa450edef68
* Remove svn:executable property...Andreas L. Delmelle2009-04-121-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@764320 13f79535-47bb-0310-9956-ffa450edef68
* Fix the behaviour of pixel-lengths: influenced by target-resolution, rather ↵Andreas L. Delmelle2009-04-121-0/+33
| | | | | | than source-resolution (which is meant for images) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@764317 13f79535-47bb-0310-9956-ffa450edef68
* Improved multi-threading testbed a bit:Jeremias Maerki2009-03-273-25/+132
| | | | | | | - Prints out a report with some statistics at the end. - Worker threads moved into their own thread group for easier profiling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@759147 13f79535-47bb-0310-9956-ffa450edef68
* Amendment to revision 755894:Jeremias Maerki2009-03-242-6/+53
| | | | | | The mimicking fix didn't work for all output formats. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757681 13f79535-47bb-0310-9956-ffa450edef68
* Set svn:eol-style property on ↵Vincent Hennebert2009-03-231-117/+93
| | | | | | | | | page-position-last_break-before_bugzilla46489.xml test case. Simplified it by removing superfluous content and references to fonts that are not available by default. Fixed small indentation issue in ElementListUtils. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757382 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 46489: Andreas L. Delmelle2009-03-221-0/+117
| | | | | | | Issue when combining page-position="last" with a block with break-before as a descendant of a table. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@757239 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: IFSerializer's mimicking feature didn't work properly. The wrong ↵Jeremias Maerki2009-03-193-0/+148
| | | | | | configuration got selected. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@755894 13f79535-47bb-0310-9956-ffa450edef68
* Restored ability to specify any URI base URI (URL), not just file URLs. For ↵Jeremias Maerki2009-03-102-9/+58
| | | | | | | | file URLs and file paths there's still a check whether the directory exists. Enabled FontBaseBadTestCase. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752153 13f79535-47bb-0310-9956-ffa450edef68
* Avoid errors with relative paths.Jeremias Maerki2009-03-101-2/+7
| | | | | | Properly handle events using the special test event listener. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752011 13f79535-47bb-0310-9956-ffa450edef68
* AFP Output: Tag Logical Element (TLE) is now also allowed on ↵Jeremias Maerki2009-03-021-8/+23
| | | | | | fo:page-sequence (page group level). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749258 13f79535-47bb-0310-9956-ffa450edef68
* Fixed BPD trait and border painting for leaders with leader-pattern="space" ↵Jeremias Maerki2009-03-011-3/+9
| | | | | | (and similar cases). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@749012 13f79535-47bb-0310-9956-ffa450edef68
* Fixed small mistake I noticed too late: extension attachments don't use the ↵Jeremias Maerki2009-03-011-1/+1
| | | | | | same namespace as the FO extensions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@748990 13f79535-47bb-0310-9956-ffa450edef68
* Added support for adding extension elements and foreign attributes on ↵Jeremias Maerki2009-03-011-2/+14
| | | | | | | | | | fo:page-sequence. AFP: Added support for Invoke Medium Map (IMM). AFP: Fixed a bug adding TLEs in DataStream (TLEs were added to the page group instead of to the page). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@748981 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to remove the old ";mode=painter" work-around.Jeremias Maerki2009-02-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@747752 13f79535-47bb-0310-9956-ffa450edef68
* ";mode=painter" MIME suffix removed from all new IFDocumentHandler ↵Jeremias Maerki2009-02-231-0/+159
| | | | | | | | | implementations. Changed RendererFactory to prefer IFDocumentHandler over Renderer if available. A setting on RendererFactory allows to to prefer Renderer over IFDocumentHandler if necessary for compatibility. (not yet tied into CLI or configuration) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@747010 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for replicator stylesheet: Only IDs in the FO namespace shall be ↵Jeremias Maerki2009-02-161-3/+3
| | | | | | adjusted. Adjusting also SVG IDs can result in errors. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744862 13f79535-47bb-0310-9956-ffa450edef68
* Additional filter possibility for BatchDiffer so previously faulty cases can ↵Jeremias Maerki2009-02-161-0/+10
| | | | | | quickly be regenerated. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744858 13f79535-47bb-0310-9956-ffa450edef68
* Performance improvements and file-size reductions by introducing ↵Jeremias Maerki2009-02-052-9/+35
| | | | | | | | | letter-spacing and word-spacing attributes in new IF (as mentioned on fop-dev). Allow to control whether kerning information is loaded from fonts. Started support for AFP font embedding (incomplete and currently disabled) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741165 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Trunk revisions 735029 - 740275.Jeremias Maerki2009-02-033-2/+292
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@740340 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #46315: extension to disable column balancing before blocks ↵Vincent Hennebert2009-01-281-0/+231
| | | | | | | | | | | | | | | | | | spanning the whole page, in multiple-column documents. Patch submitted by Georg Datterl, applied with some modifications (mainly Checkstyle issues) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738514 13f79535-47bb-0310-9956-ffa450edef68
| * Disabled the PDF dump by default.Jeremias Maerki2009-01-281-2/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@738482 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla 46567: fo:marker in fo:table-row produced a ValidationExceptionAndreas L. Delmelle2009-01-221-0/+57
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@736813 13f79535-47bb-0310-9956-ffa450edef68
* | Enabling border/padding tests on region references.Jeremias Maerki2009-01-301-7/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@739395 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed test error for transcoders.Jeremias Maerki2009-01-309-155/+277
| | | | | | | | | | | | | | | | | | Enabled disabling strict validation from inside the test case. This enabled activating the border/padding test case for region references. Refactored layout engine and intermediate format tests a bit to increase code reuse. Fixed the way border/padding are set on the area tree. The current way had unwanted side-effects for the AreaTreeParser. Added support for border/padding on region references when parsing from area tree XML. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@739386 13f79535-47bb-0310-9956-ffa450edef68
* | Added validation against XML Schema of the intermediate format so we notice ↵Jeremias Maerki2009-01-302-0/+67
| | | | | | | | | | | | when either changes incompatibly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@739244 13f79535-47bb-0310-9956-ffa450edef68
* | Merge from Trunk revisions 728026 - 731479.Jeremias Maerki2009-01-051-5/+0
|\| | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@731480 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45306:Jeremias Maerki2009-01-021-5/+0
| | | | | | | | | | | | Fixed fo:instream-foreign-object inside fo:marker. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@730764 13f79535-47bb-0310-9956-ffa450edef68
* | Introduced IFContext to provide access to foreign attributes (as discussed ↵Jeremias Maerki2009-01-025-5/+76
| | | | | | | | | | | | | | | | | | | | | | on fop-dev). Removed the foreign attributes map from the drawImage methods as a consequence. Added support for foreign attributes on the page (PCL's paper-source and duplex-mode extensions). Fixed a couple of bugs parsing the document navigation elements. Build-time test suite now runs through. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@730740 13f79535-47bb-0310-9956-ffa450edef68
* | Most of the PostScript extensions are implemented in PSPainter now (and tested).Jeremias Maerki2008-12-222-0/+47
| | | | | | | | | | | | Bugfix: IFSerializer wrote out the page name instead of the page-master-name for the page-master-name attribute. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@728737 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed another spacing issue in IFRenderer.Jeremias Maerki2008-12-222-0/+64
| | | | | | | | | | | | Checks for spacing (kerning, letter-space and word-space combinations). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@728700 13f79535-47bb-0310-9956-ffa450edef68
* | Added getUserAgent() to IFDocumentHandler (implemented by all ↵Jeremias Maerki2008-12-175-0/+634
| | | | | | | | | | | | | | | | | | | | | | | | | | implementations already). Full image support for PSPainter. PostScript output now uses the ImageHandler facility (IF and renderer) for both inline (ImageHandler interface) and form image production (PSImageHandler interface). No more hard-coded image flavor list. Resource optimization extended so images that are only used once are inlined to lower memory requirements in the PostScript VM. Added test cases using Commons' DSC parser to verify the new functionality. Added IFDocumentHandler override possibility in FOUserAgent (just like for FOEventHandler and Renderer). Subject support for PDF output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@727405 13f79535-47bb-0310-9956-ffa450edef68