aboutsummaryrefslogtreecommitdiffstats
path: root/test/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Added support for PDF object streams.Temp_PDF_ObjectStreamsVincent Hennebert2012-03-2115-16/+944
| | | | | | | | When accessibility is enabled and PDF version 1.5 selected, the structure tree will be stored in object streams in order to reduce the size of the final PDF. This can lead to file reductions by up to 75% git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_ObjectStreams@1303431 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51385: Added configuration option to set the version of the output ↵Vincent Hennebert2012-03-192-0/+232
| | | | | | | | | PDF document. Patch by Mehdi Houshmand, applied with minor modifications git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1302518 13f79535-47bb-0310-9956-ffa450edef68
* Bugzila#52849: SVG font being painted as shapes when font present in the systemMehdi Houshmand2012-03-162-0/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1301445 13f79535-47bb-0310-9956-ffa450edef68
* Added new line at end of files and enabled corresponding rule in checkstyle-5.5Vincent Hennebert2012-03-0621-21/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297404 13f79535-47bb-0310-9956-ffa450edef68
* Removed trailing whitespace and enabled corresponding RegexpSingleline ↵Vincent Hennebert2012-03-058-17/+17
| | | | | | Checkstyle rule git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297008 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#50391: Adding support for different flow-name of fo:region-body in FOPPeter Hancock2012-03-027-61/+242
| | | | | | | Unit tests and a bugfix related to a repeatable sub-sequence specifier combo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296104 13f79535-47bb-0310-9956-ffa450edef68
* fix @Override usage to be compatible with Java 1.5Glenn Adams2012-02-292-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1295320 13f79535-47bb-0310-9956-ffa450edef68
* apply complex scripts patchGlenn Adams2012-02-26661-5/+11999
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
* Enabled assertions in junit tasks (analagous to JVM arg -ea)Mehdi Houshmand2012-02-141-0/+1
| | | | | | | | - Disabled a layout test that fails an assertion - Added an expression to a mocked class to pass assertion git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1243963 13f79535-47bb-0310-9956-ffa450edef68
* Corrected error in Junit4 migrationMehdi Houshmand2012-02-132-30/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1243549 13f79535-47bb-0310-9956-ffa450edef68
* Merged in Temp_ImproveAccessibilityPeter Hancock2012-02-1030-153/+2510
|\ | | | | | | | | | | | | revs 1187234, 1188205, 1205935, 1236718, 1238313, 1240963 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1242848 13f79535-47bb-0310-9956-ffa450edef68
| * Associate structure tree elements directly to render contentPeter Hancock2012-01-276-47/+402
| | | | | | | | | | | | | | | | | | | | * Defer the binding of PCData to struct elems using a placeholder mechanism. * Translate text nodes to marked-content sequences in IF structure tree. * Replace ptr with structure tree element. * Re-order table footers so they appear at the end of the structure tree. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1236718 13f79535-47bb-0310-9956-ffa450edef68
| * Removed the DOM representation of the structure tree.Vincent Hennebert2011-11-2412-28/+703
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The structure tree is now directly converted into corresponding PDF objects. When going the IF route, the structure tree is stored in the form of SAX events that will be re-played when it's time to stream them into the output. This may still change. * Extracted RFC3066 methods from XMLUtil into new LanguageTags class that can be re-used in a non-XML context. * Dropped support for accessibility in the old Area Tree XML. * Added support for the xml:lang property on fo:root, so that the global language can be set for the document without retrieving the language from the first page-sequence. * Renamed StructureTreeBuilder into more appropriate StructureTreeEventHandler (same for applicable sub-classes) * Renamed StructureTreeBuildingFOEventHandler into FO2StructureTreeConverter and added test case * Added test cases for classes in the StructureTreeEventHandler hierarchy git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1205935 13f79535-47bb-0310-9956-ffa450edef68
| * Removed the FO document pre-processing step that was adding ptr and creating ↵Vincent Hennebert2011-10-2420-141/+1475
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a reduced FO tree. * Removed addPtr.xsl and reduceFOTree.xsl * Implemented Common Accessibility properties on objects that support them * Added a special implementation of FOEventHandler to build the structure tree * Added mockito library and its dependencies * Added mocks for some FO nodes and properties * Removed FOTreeUnitTester and converted it into a re-usable FODocumentParser class * Re-worked table FO test cases accordingly git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1188205 13f79535-47bb-0310-9956-ffa450edef68
* | Amended checkstyle errors and return carriagesMehdi Houshmand2012-01-302-60/+64
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237610 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla#52513: Moved FOUserAgent to the constructor of the RenderersMehdi Houshmand2012-01-303-17/+13
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237582 13f79535-47bb-0310-9956-ffa450edef68
* | Reverted changes made in r1234877, see bugzilla#52513Mehdi Houshmand2012-01-243-13/+17
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235189 13f79535-47bb-0310-9956-ffa450edef68
* | Moved the FOUserAgent into the constructor of the RenderersMehdi Houshmand2012-01-233-17/+13
| | | | | | | | | | | | | | | | | | | | This breaks the public API but for good reasons: 1) the user-agent is essential for configuring the renderers 2) instantiation of the constructor is always followed by call to "setUserAgent()" (in the examples) 3) simplifies the API and reduces mutability of the Renderers git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1234877 13f79535-47bb-0310-9956-ffa450edef68
* | Amended a non-ASCII character in a commentMehdi Houshmand2012-01-231-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1234748 13f79535-47bb-0310-9956-ffa450edef68
* | added svn:eol-style=native property to recently added new filesChris Bowditch2012-01-2017-1601/+1601
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1233854 13f79535-47bb-0310-9956-ffa450edef68
* | use of £ was causing some cross platform issues since it's part of the ↵Chris Bowditch2012-01-191-1/+1
| | | | | | | | | | | | ASCII extended character set. Swapped it for a Unicode reference to resolve the problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1233427 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #51209:Chris Bowditch2012-01-181-0/+72
| | | | | | | | | | | | | | SVG text in AFP creates miscoded GOCA text Submitted by: Luis Bernardo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1232845 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #50391:Chris Bowditch2012-01-105-11/+338
| | | | | | | | | | | | | | Add support for different flow-name of fo:region-body in FOP Submitted by: Peter Hancock git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1229622 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #51644:Chris Bowditch2012-01-0615-150/+1338
| | | | | | | | | | | | | | Tagged PDF performance improvement + tests Submitted by: Mehdi Houshmand git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1228243 13f79535-47bb-0310-9956-ffa450edef68
* | Removed file that became empty in rev. 1198853Vincent Hennebert2011-12-201-0/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1221326 13f79535-47bb-0310-9956-ffa450edef68
* | Changed the error handling for AFP fonts such that errors are passed to the ↵Mehdi Houshmand2011-11-214-11/+110
| | | | | | | | | | | | AFPEventProducer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204579 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #52197: Improved support for AdobeStandardEncoding encoded AFM ↵Mehdi Houshmand2011-11-2116-46/+1257
| | | | | | | | | | | | files for type1 fonts git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204488 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #52151: added ant script to get JaCoCo code coverageVincent Hennebert2011-11-182-2/+66
| | | | | | | | | | | | | | Patch by Mehdi Houshmand, applied with changes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1203749 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #51592: TTFFontLoader ignores the useKerning attribute used with fontsChris Bowditch2011-11-171-0/+57
| | | | | | | | | | | | Patch submitted by Mehdi Houshmand (mehdi1985 at gmail.com) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1203163 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla 52136: Added to build file JUnit target that uses a regex to run ↵Vincent Hennebert2011-11-0769-308/+166
| | | | | | | | | | | | | | | | | | all of the test cases. Patch by Mehdi Houshmand, applied with minor modifications git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1198853 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla#52089: Allow JPEG images to be embedded in an AFP document asPeter Hancock2011-11-016-4/+327
|/ | | | | | | | | is, without being decoded and encoded. It also allows lossy JPEG compression. Patch by Jeremias Maerki and Mehdi Houshmand. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1195952 13f79535-47bb-0310-9956-ffa450edef68
* Cache the schema for the XML namespace to a local directory. This avoids ↵Vincent Hennebert2011-10-202-0/+95
| | | | | | downloading it from the W3C website every time the IF test cases are run. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1186858 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#512010: Simplification of the build.Peter Hancock2011-10-198-107/+316
| | | | | | | Reduced code duplication and layout engine tests. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1186070 13f79535-47bb-0310-9956-ffa450edef68
* Restored PDFDocumentGraphics2D functionality.Jeremias Maerki2011-10-152-1/+96
| | | | | | | | Bugfix: NPE after PDFDocumentGraphics2D.create() due to missing font setup and other missing initializations. Bugfix: Properly handle state in PDFGraphics2D.drawString(). Added an example class demonstrating the use of PDFDocumentGraphics2D. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1183620 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51928: Upgraded all tests to JUnit 4Vincent Hennebert2011-10-04108-1217/+1179
| | | | | | | Patch by Mehdi Houshmand, applied with minor cosmetics and error fixes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1178747 13f79535-47bb-0310-9956-ffa450edef68
* PDFFactory responsible for asdigning name to a subset font.Peter Hancock2011-09-262-0/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1175754 13f79535-47bb-0310-9956-ffa450edef68
* Bugzill#51530: Improved support for EBCDIC encoded double byte fonts fo AFP.Peter Hancock2011-09-052-1/+111
| | | | | | | Submitted by: Mehdi Houshmand <med1985.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1165223 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug in AFP where an ArrayOutofBoundsException is throwqn when ↵Peter Hancock2011-08-224-0/+101
| | | | | | embedding a Page Segment. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1160298 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51596: A composite glyph can be remapped more than once in a TTF ↵Vincent Hennebert2011-08-082-0/+192
| | | | | | | | | subset, resulting in garbled character Test and clean-up provided by Mehdi Houshmand git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1155024 13f79535-47bb-0310-9956-ffa450edef68
* Added support for 128bit encryption in PDF output. Based on work by Michael ↵Vincent Hennebert2011-08-085-0/+793
| | | | | | Rubin. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1154998 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug in AFP where the object area axes of an Include Object was ↵Peter Hancock2011-07-277-2/+697
| | | | | | incorrectly set when rotated by 180 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1151452 13f79535-47bb-0310-9956-ffa450edef68
* Fixed io exception in MODCAParser caused by the improper use of mark() and ↵Peter Hancock2011-05-172-0/+240
| | | | | | | | | reset() on the MODCA data input stream. See bugzilla 50909. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1104135 13f79535-47bb-0310-9956-ffa450edef68
* https://issues.apache.org/jira/browse/XERCESJ-1505Jeremias Maerki2011-04-291-1/+17
| | | | | | Schemas should not be downloaded from the W3C website! git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1097807 13f79535-47bb-0310-9956-ffa450edef68
* Added id element to intermediate format to track the origin of content.Vincent Hennebert2011-04-1821-426/+732
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1094690 13f79535-47bb-0310-9956-ffa450edef68
* Renamed Viewport into InlineViewportVincent Hennebert2011-03-151-3/+3
| | | | | | | Added {@inheritDoc} comments to make Checkstyle happy git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1081822 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49910: clipping rectangle is wrong on side-regionsVincent Hennebert2011-03-146-0/+229
| | | | | | | Partial fix that works only when the reference-orientation property is set to 0 or 180 on side-regions git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1081554 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Trunk, revisions 1060235 to 1069383.Jeremias Maerki2011-02-1012-52/+579
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1069397 13f79535-47bb-0310-9956-ffa450edef68
| * Disable pixel tests due to differences between JVMs.Jeremias Maerki2011-02-041-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067193 13f79535-47bb-0310-9956-ffa450edef68
| * Fix compile error when JAI is not around.Jeremias Maerki2011-02-041-2/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067126 13f79535-47bb-0310-9956-ffa450edef68
| * Some tests for bitmap conversions.Jeremias Maerki2011-02-042-0/+169
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067123 13f79535-47bb-0310-9956-ffa450edef68