aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
Commit message (Collapse)AuthorAgeFilesLines
* Fix of a bug introduced when merging ImproveAccessibility.Peter Hancock2012-03-023-7/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296106 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#50391: Adding support for different flow-name of fo:region-body in FOPPeter Hancock2012-03-027-9/+32
| | | | | | | 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-291-9/+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-26201-1466/+28751
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 52657: instream foreign object (svg) coloration incorrect Chris Bowditch2012-02-201-2/+2
| | | | | | Submitted by Glenn Adams git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1291292 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #52655: Fixed rendering of special glyphs when using single-byte ↵Vincent Hennebert2012-02-154-17/+47
| | | | | | | | | encoding mode Patch by Luis Bernardo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1244656 13f79535-47bb-0310-9956-ffa450edef68
* Merged in Temp_ImproveAccessibilityPeter Hancock2012-02-10100-1268/+3670
|\ | | | | | | | | | | | | 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
| * Addressed findbugs and checkstyle regressionsTemp_ImproveAccessibilityPeter Hancock2012-02-0641-43/+104
| | | | | | | | | | | | | | | | | | Findbugs report generated with version 1.3.9. Checkstyle report generated with version 5.5. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1240963 13f79535-47bb-0310-9956-ffa450edef68
| * Cleanup associated with rev 1236718Peter Hancock2012-01-313-21/+0
| | | | | | | | | | | | | | Removed unused structure tree events. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1238313 13f79535-47bb-0310-9956-ffa450edef68
| * Associate structure tree elements directly to render contentPeter Hancock2012-01-2745-761/+1528
| | | | | | | | | | | | | | | | | | | | * 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-2439-633/+994
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2449-484/+1717
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | master is not supposed to still be null when canProcess is calledVincent Hennebert2012-01-312-12/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1238642 13f79535-47bb-0310-9956-ffa450edef68
* | Amended checkstyle errors and return carriagesMehdi Houshmand2012-01-3015-5/+42
| | | | | | | | 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-3023-143/+90
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237582 13f79535-47bb-0310-9956-ffa450edef68
* | Amended error message to describe licensing restriction flag in fontMehdi Houshmand2012-01-241-1/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235358 13f79535-47bb-0310-9956-ffa450edef68
* | Corrected typo in error messageMehdi Houshmand2012-01-241-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235191 13f79535-47bb-0310-9956-ffa450edef68
* | Reverted changes made in r1234877, see bugzilla#52513Mehdi Houshmand2012-01-2423-90/+143
| | | | | | | | 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-2323-143/+90
| | | | | | | | | | | | | | | | | | | | 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
* | Bugzilla#52499: non embeddable TTF fonts -- throw exception if trying to embedMehdi Houshmand2012-01-231-2/+7
| | | | | | | | | | | | | | Submitted by: Luis Bernardo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1234761 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #52416:Chris Bowditch2012-01-191-12/+14
| | | | | | | | | | | | | | Suppress unnecessary "font not found warnings" when generating AFP with raster fonts Submitted by: Luis Bernardo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1233393 13f79535-47bb-0310-9956-ffa450edef68
* | resolve findbug warningsChris Bowditch2012-01-182-2/+12
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1232905 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #51209:Chris Bowditch2012-01-184-24/+38
| | | | | | | | | | | | | | 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-1017-84/+255
| | | | | | | | | | | | | | 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-0613-139/+154
| | | | | | | | | | | | | | 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
* | Bugzilla #52206: small performance improvements by declaring some class ↵Vincent Hennebert2011-12-054-22/+23
| | | | | | | | | | | | | | | | | | members as static Patch by Alexis Giotis, applied with minor modifications git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1210477 13f79535-47bb-0310-9956-ffa450edef68
* | Changed the error handling for AFP fonts such that errors are passed to the ↵Mehdi Houshmand2011-11-218-153/+185
| | | | | | | | | | | | 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-214-134/+611
| | | | | | | | | | | | files for type1 fonts git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204488 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #52177: Changed the AFP double-byte characterset builder to a ↵Mehdi Houshmand2011-11-182-25/+41
| | | | | | | | | | | | singleton, this now matches the behaviour of the single byte characterset builder git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1203719 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #51592: TTFFontLoader ignores the useKerning attribute used with fontsChris Bowditch2011-11-171-1/+1
| | | | | | | | | | | | 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-078-8/+52
| | | | | | | | | | | | | | | | | | 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-0123-135/+480
| | | | | | | | | | | | | | | | | | 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
* | Allow to switch to a different page size in mid-document.Jeremias Maerki2011-10-241-2/+15
|/ | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1188123 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#512010: Simplification of the build.Peter Hancock2011-10-191-3/+2
| | | | | | | 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-6/+14
| | | | | | | | 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#51962: Bugfix for when the last simple-page-master referenced in a ↵Peter Hancock2011-10-112-2/+30
| | | | | | page-sequence-master is not chosen when force-page-count=odd. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1181660 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a findbugs warning introduced in rev#1177251Peter Hancock2011-10-031-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1178350 13f79535-47bb-0310-9956-ffa450edef68
* Fix FO tree hierarchy: BasicLink shouldn't inherit from InlinePeter Hancock2011-09-293-4/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1177251 13f79535-47bb-0310-9956-ffa450edef68
* Various small fixesSimon Pepping2011-09-295-27/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1177228 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#48696 version 4: Bugfix for color model in IOCA IDE structure ↵Peter Hancock2011-09-262-2/+4
| | | | | | parameter for 4- and 8-bit grayscale images. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1175808 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#51760: PS images stored as an embedded file which has no length limit.Peter Hancock2011-09-261-24/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1175764 13f79535-47bb-0310-9956-ffa450edef68
* PDFFactory responsible for asdigning name to a subset font.Peter Hancock2011-09-265-42/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1175754 13f79535-47bb-0310-9956-ffa450edef68
* Proper fix for Bugzilla #51789: no non-ascii characters permittedVincent Hennebert2011-09-122-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1169780 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51790: source file contains non-ascii characterVincent Hennebert2011-09-121-6/+0
| | | | | | | Removed @author tags git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1169766 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51789: removed non-ascii characters in source filesVincent Hennebert2011-09-123-4/+4
| | | | | | | Patch submitted by Christopher Yeleighton git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1169758 13f79535-47bb-0310-9956-ffa450edef68
* Bugzill#51530: Improved support for EBCDIC encoded double byte fonts fo AFP.Peter Hancock2011-09-057-107/+282
| | | | | | | 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
* Bugzilla#51205: Corrected typographical errors in AFPBase12FontCollection.Peter Hancock2011-09-051-4/+4
| | | | | | | Submitted by: Mehdi Houshmand <med1985.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1165195 13f79535-47bb-0310-9956-ffa450edef68
* Improved fix for bugzilla#48062Peter Hancock2011-08-258-71/+69
| | | | | | | Bug relates to PCL painter thread safetly. Previous fix in rev 895012 worked by synchronizing methods of a static instance of Java2DFontMetrics. This fix uses a unique instance for per thread. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1161612 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug in AFP where an ArrayOutofBoundsException is throwqn when ↵Peter Hancock2011-08-221-32/+28
| | | | | | embedding a Page Segment. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1160298 13f79535-47bb-0310-9956-ffa450edef68
* Fixed checkstyle warningsPeter Hancock2011-08-221-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1160172 13f79535-47bb-0310-9956-ffa450edef68