Vincent Hennebert
a1af0b2481
Bugzilla #53902: Added possibility to define 'header' table columns (the same way as fo:table-header allows to define header rows).
When accessibility is enabled, this allows to set the appropriate Scope attribute on the corresponding TH cells.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1390412 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Mehdi Houshmand
c9cbf7e0a4
Moved the I/O interfaces to XGC and updated code with new resolution mechanism
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_XGC_URI_Resolution@1387645 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Mehdi Houshmand
ccd2678cd0
Bugzilla#53868: Full font embedding in PDF
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1384690 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Peter Hancock
d99dc75ffa
Bugzilla #53865: Add Rows per Strip configuration for Tiff renderer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1384310 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
10e39f016a
Bugzilla #53598: avoid IllegalArgumentException by setting the breakClass field in BreakElement to a legal default value
Patch by Robert Meyer, applied with some modifications
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1380923 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Mehdi Houshmand
008bf019ad
Bugzilla#53790: Prevented the TIFF configurator from overriding the Bitmap configurator unless CCITT compression is enabled.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1378163 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
69beec0c8f
Bugzilla 53778: When PDF accessibility is enabled, the contents for the different regions must appear in the proper order in the structure tree.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1376923 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Mehdi Houshmand
d6994df393
Bugfix#53766: Remove StandardEncoding as the encoding type from fonts used in the PDF renderer. Submitted by Robert Meyer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1376500 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Mehdi Houshmand
c52db65ef8
Bugzilla#53751: Slightly restructured the way the FontCache creates a cache-file
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1374238 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
f7b41bf07e
Added tests for AFPResourceAccessor
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1371702 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
6c9c875c0d
Bugzilla #53688: Wrong page number reported when a column overflows the region-body in a multi-column document
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1371386 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
2c2c292121
Bugzilla #53639: When PDF accessibility is enabled, the Scope attribute must be present in the structure tree for table header elements.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1368420 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
3411937d72
Bugfix: When restarting layout for the last page, discard glues and penalties at the beginning of the restarted Knuth sequence.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1360665 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
41299785b6
Fixed deprecation warning and added some comments to explain the API design
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1358188 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Peter Hancock
4c623422ef
Removed FopFactory.getRendererConfig from public API
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357639 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
e6fad9f9d8
Added test for strict user configuration setting within the fop-conf
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357527 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
6087e3d708
Command line parameters override fop conf settings when set (they won't override when not set)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357517 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
f7af5b4647
Deletes temporary resource files created by unit test
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357222 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
b409a37cbf
Addressed some of the comments made by VH re:Temp_URI_Unification merge
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357140 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
8f37765b5c
Bugzilla#53502: MODCA end structured field now more conformant with the spec by allowing 0xFFFF match (match any). Submitted by Robert Meyer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1357110 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
d9695207a5
White space, unused method and import clean up
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1356656 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
f5a033d38f
Changed the exception message when internal font key == null, also some clean up and encapsulation to *Painter classes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1356161 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
c9f6e74ddf
Improved the handling of defaults for PDF config and general clean up
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1353992 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
f7c9ea74d2
Bugzilla #53431: Fix incorrect SVG line dash pattern with PDF output format. Submitted by Luis Bernardo.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1353311 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
a97e0be88b
Predominantly clean up and javadocs, very little functional change here
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1352800 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
c36ffee9df
Added tests and cleaning up of code
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1352101 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Peter Hancock
22682543c9
Removed HyphenationTreeResolver and better Handling of 'data://' URIs
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
12 years ago
Glenn Adams
4bba95be2e
Bugzilla #40676: Support use of ImageLoaderRawPNG decoder in order to 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
12 years ago
Mehdi Houshmand
d17d05e36c
Removed URI resolving class that are no longer needed and handled data URIs
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1350248 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
24664f1459
Removed AFP resource handling mechanism in favour of a unified resource resolver
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1348871 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
fae8882d22
Renamed DIRECTORY_TABLE into TABLE_DIRECTORY
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1344787 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
eccd73c523
Started unifying URI resolution mechanism, redesigned configuration system 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
12 years ago
Vincent Hennebert
9e1c3f381c
Added possibility to treat some content as artifact.
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
12 years ago
Vincent Hennebert
340025483a
Bugzilla #53296: Updated TTFinPS specific test cases to JUnit 4
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
12 years ago
Glenn Adams
72ba7e572d
Add extension to place code just before PostScript %PageTrailer. Submitted by Luis Bernardo.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1343072 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
4778980074
Bugzilla #53294: Fix invalid PostScript file being created when font-size is 0. Submitted by Robert Meyer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1342792 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
89b98e43e0
Added support for the role property on fo:page-sequence, fo:flow and 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
12 years ago
Glenn Adams
3f7239142b
Bugzilla #52144: Fix crash on use of version switch (-v). Submitted by Luis Bernardo.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1341585 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
5a0e10ae9d
Bugzilla #53242: Support fractional line widths in AFP renderer, fixing 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
12 years ago
Glenn Adams
c251ff4844
Bugzilla #53248: Fix exception thrown from use of -print option in CLI. Submitted by Luis Bernardo.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1339441 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
1e8a2631f0
Improved handling of AFP double-byte character sets
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1338605 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
c46fafb223
Changed the way AFP PTOCA TransparentData control sequences are written so 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
12 years ago
Glenn Adams
f397b576a8
Bugzilla #53097: Ensure writing-mode specified on fo:table is used to 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
12 years ago
Glenn Adams
a915c74aa4
Bugzilla #53094: Convert block container overflow exception to event model, improving overflow property behavior.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1327157 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
7c8f02c573
Bugzilla #50483: Improved support for TrueType fonts in PostScript
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
12 years ago
Vincent Hennebert
2874695d34
Removed reference to XML schema from IF schema.
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
12 years ago
Vincent Hennebert
4e26880397
Bugzilla #46962: Fixed deadlock in PropertyCache.
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
12 years ago
Vincent Hennebert
b9fbfa6b71
Added support for PDF object streams.
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
12 years ago
Vincent Hennebert
c1653ad475
Bugzilla #51385: Added configuration option to set the version of the output 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
12 years ago
Mehdi Houshmand
0e6c464899
Bugzila#52849: SVG font being painted as shapes when font present in the system
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1301445 13f79535-47bb-0310-9956-ffa450edef68
12 years ago