aboutsummaryrefslogtreecommitdiffstats
path: root/test/java
Commit message (Collapse)AuthorAgeFilesLines
* Improved the handling of defaults for PDF config and general clean upMehdi Houshmand2012-06-2617-359/+283
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1353992 13f79535-47bb-0310-9956-ffa450edef68
* Merged in trunk@1353397Mehdi Houshmand2012-06-2617-17/+1553
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1353883 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #53431: Fix incorrect SVG line dash pattern with PDF output format. ↵Glenn Adams2012-06-241-0/+48
| | | | | | | | | | | | Submitted by Luis Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1353311 13f79535-47bb-0310-9956-ffa450edef68
| * Merged changes from trunk up to revision 1351540Temp_TrueTypeInPostScriptVincent Hennebert2012-06-223-0/+367
| |\ | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1352963 13f79535-47bb-0310-9956-ffa450edef68
| * | Renamed DIRECTORY_TABLE into TABLE_DIRECTORYVincent Hennebert2012-05-311-1/+1
| | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1344787 13f79535-47bb-0310-9956-ffa450edef68
| * | Merged changes from trunk up to revision 1343632Vincent Hennebert2012-05-293-2/+112
| |\ \ | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1343668 13f79535-47bb-0310-9956-ffa450edef68
| * \ \ Merged changes from trunk up to revision 1343133Vincent Hennebert2012-05-2811-10/+459
| |\ \ \ | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1343310 13f79535-47bb-0310-9956-ffa450edef68
| * | | | Bugzilla #53296: Updated TTFinPS specific test cases to JUnit 4Vincent Hennebert2012-05-2813-158/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Robert Meyer, applied with minor modifications git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1343299 13f79535-47bb-0310-9956-ffa450edef68
| * | | | Merged changes from trunk up to revision 1306814Vincent Hennebert2012-04-05875-2121/+24747
| |\ \ \ \ | | | | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1309921 13f79535-47bb-0310-9956-ffa450edef68
| * | | | | Bugzilla #50483: Improved support for TrueType fonts in PostScriptVincent Hennebert2012-03-3012-5/+1411
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored code and added unit tests Patch by Mehdi Houshmand git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1307574 13f79535-47bb-0310-9956-ffa450edef68
| * | | | | Merged from Trunk revisions 990171 to 1035276.Jeremias Maerki2010-11-151-0/+36
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1035278 13f79535-47bb-0310-9956-ffa450edef68
| * | | | | | Added possibility to use glyphs outside WinAnsiEncoding for TrueType fonts ↵Vincent Hennebert2010-08-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that are not embedded in the PostScript file, and that don't have a list of glyph names ('post' table version 3). This is done by creating glyph names using Adobe's convention (/u1234) and adding a CharStrings table that maps those glyph names to the actual glyph index. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@990225 13f79535-47bb-0310-9956-ffa450edef68
| * | | | | | Merged changes from Trunk up to revision 989178Vincent Hennebert2010-08-2526-316/+271
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@989216 13f79535-47bb-0310-9956-ffa450edef68
| * | | | | | | Added support for CID-keyed TrueType fonts in PostScript outputVincent Hennebert2010-06-292-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@959012 13f79535-47bb-0310-9956-ffa450edef68
* | | | | | | | Predominantly clean up and javadocs, very little functional change hereMehdi Houshmand2012-06-227-15/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1352800 13f79535-47bb-0310-9956-ffa450edef68
* | | | | | | | Added tests and cleaning up of codeMehdi Houshmand2012-06-2015-83/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1352101 13f79535-47bb-0310-9956-ffa450edef68
* | | | | | | | Merged with trunk@1351540Mehdi Houshmand2012-06-203-0/+367
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1352095 13f79535-47bb-0310-9956-ffa450edef68
| * | | | | | | Bugzilla #40676: Support use of ImageLoaderRawPNG decoder in order to ↵Glenn Adams2012-06-153-0/+367
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prevent re-encoding of PNG images (and unnecssary output file bloat). Submitted by Luis Bernardo, Matthias Reischenbacher. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1350455 13f79535-47bb-0310-9956-ffa450edef68
* | | | | | | Removed HyphenationTreeResolver and better Handling of 'data://' URIsPeter Hancock2012-06-157-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plus other internal cleanup git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1350538 13f79535-47bb-0310-9956-ffa450edef68
* | | | | | | Removed URI resolving class that are no longer needed and handled data URIsMehdi Houshmand2012-06-145-86/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1350248 13f79535-47bb-0310-9956-ffa450edef68
* | | | | | | Removed AFP resource handling mechanism in favour of a unified resource resolverMehdi Houshmand2012-06-1110-93/+505
| | | | | | | | | | | | | | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1348871 13f79535-47bb-0310-9956-ffa450edef68
* | | | | | | Started unifying URI resolution mechanism, redesigned configuration system ↵Mehdi Houshmand2012-05-3194-600/+4448
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and created flexible config testing git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1344594 13f79535-47bb-0310-9956-ffa450edef68
* | | | | / Added possibility to treat some content as artifact.Vincent Hennebert2012-05-293-2/+112
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If any fo:static-content or fo:wrapper element has their 'role' property set to 'artifact', then they and their descendants will be treated as artifacts. Suggested by Martin Koegler as part of Bugzilla #50852 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1343632 13f79535-47bb-0310-9956-ffa450edef68
* | | | | Add extension to place code just before PostScript %PageTrailer. Submitted ↵Glenn Adams2012-05-271-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by Luis Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1343072 13f79535-47bb-0310-9956-ffa450edef68
* | | | | Bugzilla #53294: Fix invalid PostScript file being created when font-size is ↵Glenn Adams2012-05-251-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0. Submitted by Robert Meyer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1342792 13f79535-47bb-0310-9956-ffa450edef68
* | | | | Added support for the role property on fo:page-sequence, fo:flow and ↵Vincent Hennebert2012-05-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fo:static-content. This allows to change the mapping of those FOs to PDF structure types when enabling accessibility. Suggested by Martin Koegler as part of Bugzilla #50852 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1342680 13f79535-47bb-0310-9956-ffa450edef68
* | | | | Bugzilla #52144: Fix crash on use of version switch (-v). Submitted by Luis ↵Glenn Adams2012-05-221-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1341585 13f79535-47bb-0310-9956-ffa450edef68
* | | | | Bugzilla #53242: Support fractional line widths in AFP renderer, fixing ↵Glenn Adams2012-05-173-0/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problem with SVG line drawing. Submitted by Luis Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1339442 13f79535-47bb-0310-9956-ffa450edef68
* | | | | Bugzilla #53248: Fix exception thrown from use of -print option in CLI. ↵Glenn Adams2012-05-171-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by Luis Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1339441 13f79535-47bb-0310-9956-ffa450edef68
* | | | | Improved handling of AFP double-byte character setsMehdi Houshmand2012-05-151-7/+8
| | | | | | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1338605 13f79535-47bb-0310-9956-ffa450edef68
* | | | | Changed the way AFP PTOCA TransparentData control sequences are written so ↵Mehdi Houshmand2012-05-111-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that they end on character byte boundaries git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1337142 13f79535-47bb-0310-9956-ffa450edef68
* | | | | Bugzilla #53097: Ensure writing-mode specified on fo:table is used to ↵Glenn Adams2012-04-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | determine writing mode of table and its descendants. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1327244 13f79535-47bb-0310-9956-ffa450edef68
* | | | | Bugzilla #53094: Convert block container overflow exception to event model, ↵Glenn Adams2012-04-171-0/+12
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | improving overflow property behavior. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1327157 13f79535-47bb-0310-9956-ffa450edef68
* | | | Merged branch Temp_PDF_ObjectStreamsVincent Hennebert2012-03-2614-14/+942
|\ \ \ \ | | | | | | | | | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1305467 13f79535-47bb-0310-9956-ffa450edef68
| * | | | 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
* | | | | Removed reference to XML schema from IF schema.Vincent Hennebert2012-03-232-95/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copied the definition of xml:space into the IF schema. Removed the setup-xml-schema Ant ask. xml.xsd is a file under the W3C Document License and we cannot (yet?) redistribute files under such a license. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1304524 13f79535-47bb-0310-9956-ffa450edef68
* | | | | Bugzilla #46962: Fixed deadlock in PropertyCache.Vincent Hennebert2012-03-221-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-wrote the PropertyCache class, leveraging Java 1.5 concurrency features. Implemented equals and hashCode on many Property sub-classes to make the caching more effective Patch by Alexios Giotis, applied with the following minor modifications: * Javadoc improvements to PropertyCache * Factorize into new CompareUtil class code often used by equals and hashCode implementations git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1303891 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