Vincent Hennebert
d88a9fb1d1
Organized imports
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1304264 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Vincent Hennebert
99985cbd24
Made class non-final to allow mocking
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1304013 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
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 yıl önce
Glenn Adams
fda1a38ac5
prevent assert due to skipped out of order or duplicate glyph indices
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1298912 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Vincent Hennebert
e5b62535bb
Added new line at end of files and enabled corresponding rule in checkstyle-5.5
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297404 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
1dc8efba5f
add RegexpSingleline rule to flag use of @author; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297284 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
64cbcc3782
disable line breaks after DOT with NoWhiteSpaceAfter; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297232 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Vincent Hennebert
84943a6eb6
Removed trailing whitespace and enabled corresponding RegexpSingleline Checkstyle rule
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297008 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
7770de983d
ensure checkstyle-5.1 remains error free after recent changes for checkstyle-5.5 rules
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296590 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
2ed4c2e034
enable ImportOrder rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296526 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
eff48e4a89
enable UnusedImports rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296496 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
9826acf1e8
enable MultipleVariableDeclarations rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296483 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
5494cc056a
enable OneStatementPerLine rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296441 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
1f28434882
enable RedundantImport rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296437 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
39d6c01acb
enable DefaultComesLast rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296432 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
8882a49ac0
default all RightCurly tokens, thus adding LITERAL_IF; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296418 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
db70376fd5
default all RedunduntModifier tokens, thus adding INTERFACE_DEF; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296405 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
78df57bd74
change allowLineBreaks to false (default value) on NoWhitespaceBefore; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296399 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Vincent Hennebert
beca087f25
Removed duplicate line
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296116 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Peter Hancock
a6af0da70c
Fix of a bug introduced when merging ImproveAccessibility.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296106 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Peter Hancock
1b3cbf35aa
Bugzilla#50391: Adding support for different flow-name of fo:region-body in FOP
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
12 yıl önce
Glenn Adams
68f33efa24
fix @Override usage to be compatible with Java 1.5
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1295320 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Glenn Adams
d6d8e57b17
apply complex scripts patch
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Chris Bowditch
fa6dc48793
Bugzilla 52657: instream foreign object (svg) coloration incorrect
Submitted by Glenn Adams
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1291292 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Vincent Hennebert
eb81bfe45a
Bugzilla #52655: Fixed rendering of special glyphs when using single-byte encoding mode
Patch by Luis Bernardo
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1244656 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Peter Hancock
65e12053cb
Addressed findbugs and checkstyle regressions
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
12 yıl önce
Vincent Hennebert
49c7697650
master is not supposed to still be null when canProcess is called
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1238642 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Peter Hancock
9e004dd3c0
Cleanup associated with rev 1236718
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
12 yıl önce
Mehdi Houshmand
af35f04708
Amended checkstyle errors and return carriages
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237610 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Mehdi Houshmand
c5c6ddef0c
Bugzilla#52513: Moved FOUserAgent to the constructor of the Renderers
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237582 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Peter Hancock
160d78ce1c
Associate structure tree elements directly to render content
* 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
12 yıl önce
Mehdi Houshmand
f02df0822b
Amended error message to describe licensing restriction flag in font
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235358 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Mehdi Houshmand
b406b736d9
Corrected typo in error message
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235191 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Mehdi Houshmand
f248634b7f
Reverted changes made in r1234877, see bugzilla#52513
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235189 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Mehdi Houshmand
fb20c15fa4
Moved the FOUserAgent into the constructor of the Renderers
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
12 yıl önce
Mehdi Houshmand
cfd456f554
Bugzilla#52499: non embeddable TTF fonts -- throw exception if trying to embed
Submitted by: Luis Bernardo
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1234761 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Chris Bowditch
6c9666b140
Bugzilla #52416:
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
12 yıl önce
Chris Bowditch
311236e507
resolve findbug warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1232905 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Chris Bowditch
39d7a6a55d
Bugzilla #51209:
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
12 yıl önce
Chris Bowditch
fb1489b30e
Bugzilla #50391:
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
12 yıl önce
Chris Bowditch
0cc4cbb9f0
Bugzilla #51644:
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
12 yıl önce
Vincent Hennebert
f8c8032b12
Bugzilla #52206: small performance improvements by declaring some class 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
12 yıl önce
Vincent Hennebert
c6fb066a02
Removed the DOM representation of the structure tree.
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
12 yıl önce
Mehdi Houshmand
d955d844f8
Changed the error handling for AFP fonts such that errors are passed to the AFPEventProducer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204579 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Mehdi Houshmand
96f6f23137
Bugzilla #52197: Improved support for AdobeStandardEncoding encoded AFM files for type1 fonts
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204488 13f79535-47bb-0310-9956-ffa450edef68
12 yıl önce
Mehdi Houshmand
3d2b970d8e
Bugzilla #52177: Changed the AFP double-byte characterset builder to a 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
12 yıl önce
Chris Bowditch
32ad33cda1
Bugzilla #51592: TTFFontLoader ignores the useKerning attribute used with fonts
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
12 yıl önce