Simon Steiner
6696559fc6
FOP-3129: Symbol font was not being mapped to unicode
1 year ago
Simon Steiner
a5fa25cf3e
FOP-2994: Support OTF/TTF SVG fonts
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1885366 13f79535-47bb-0310-9956-ffa450edef68
3 years ago
Simon Steiner
da0f281740
FOP-2902: Ignore TTF reserved index range
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1872774 13f79535-47bb-0310-9956-ffa450edef68
4 years ago
Simon Steiner
73537d666c
java.lang Cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1827406 13f79535-47bb-0310-9956-ffa450edef68
6 years ago
Simon Steiner
88751079b0
FOP-1969: Support for unicode Surrogate pairs
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1827168 13f79535-47bb-0310-9956-ffa450edef68
6 years ago
Simon Steiner
7eba11e048
Fix javadocs under java 8
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1805173 13f79535-47bb-0310-9956-ffa450edef68
6 years ago
Simon Steiner
cf0660bbae
FOP-2598: ArrayIndexOutOfBoundException while loading TTF font OCRB
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1782353 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Simon Steiner
e5e89aa9e3
FOP-2648: Code cleanup, use foreach
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1761021 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Simon Steiner
46b7e0614c
FOP-2648: Code cleanup, use foreach
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1761020 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Simon Steiner
36d81a0a71
FOP-2648: Code cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1761019 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Simon Steiner
d00fbcc580
FOP-2643: Java 9 warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1758773 13f79535-47bb-0310-9956-ffa450edef68
7 years ago
Simon Steiner
fd46ff01e9
FOP-2608: Convert OTF to Type 1 in postscript
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1744262 13f79535-47bb-0310-9956-ffa450edef68
8 years ago
Glenn Adams
6a719897d6
Configure fop-{sandbox,servlet,transcoder}, checkstyle, findbugs; fixups for ant targets.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/maven@1734671 13f79535-47bb-0310-9956-ffa450edef68
8 years ago
Glenn Adams
57949ba0cf
Configure maven build.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/maven@1733788 13f79535-47bb-0310-9956-ffa450edef68
8 years ago
Glenn Adams
c8cde713f5
Transition source to standard maven hierarchy (initial).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/maven@1733433 13f79535-47bb-0310-9956-ffa450edef68
8 years ago
Robert Meyer
cc829b9753
FOP-2494 - Unable to use Ubuntu Mono Font
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1693719 13f79535-47bb-0310-9956-ffa450edef68
8 years ago
Robert Meyer
5a7195cae3
Creation of soft fonts for TrueType fonts in PCL
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PCLSoftFonts@1685112 13f79535-47bb-0310-9956-ffa450edef68
9 years ago
Andreas L. Delmelle
68203d133a
Address high and medium priority findbugs warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1681384 13f79535-47bb-0310-9956-ffa450edef68
9 years ago
Glenn Adams
5f66eef3fe
Fix or suppress 5- to 9-instance findbug warnings.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1617052 13f79535-47bb-0310-9956-ffa450edef68
9 years ago
Glenn Adams
84bc994a22
Fix 2-instance findbug warnings.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1616416 13f79535-47bb-0310-9956-ffa450edef68
9 years ago
Glenn Adams
c7d7ed1ee6
Fix or suppress 1-instance findbug warnings.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1616312 13f79535-47bb-0310-9956-ffa450edef68
9 years ago
Vincent Hennebert
c411c5fb57
Enabled Checkstyle ExplicitInitializationCheck and fixed resulting warnings
That check had been agreed upon but left disabled because of the number of warnings too high to fix manually
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1610839 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Simon Steiner
507202d1e7
Add t1 merging
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_FontMerging@1604113 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Simon Steiner
4516274b5d
Allow merging of fonts
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_FontMerging@1600606 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Luis Bernardo
21682bdca7
FOP-2252: OpenType CFF support for FOP; patch submitted by Robert Meyer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1514076 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
Vincent Hennebert
f8e822efe1
Directly use FOP fonts to lay out SVG images for PDF, PS and AFP outputs.
The metrics are now taken from FOP configured fonts and no longer from AWT equivalents. That avoids discrepancies in case AWT and FOP use slightly different fonts, or if the font is not installed on the system. That actually also avoids having to install the font on the system.
FOP is also used for the primary layout of text (prior to SVG-specific transforms like translation or rotation) for consistency between SVG and XSL-FO.
This is a joint work from Peter Hancock and myself.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_FopFontsForSVG@1508208 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Luis Bernardo
2b8f2a4278
FOP-2265: Enable xlint cast; patch submitted by Simon Steiner
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1502902 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
e8f590803a
Cosmetics only: enabled Checkstyle MethodParamPad rule and fixed corresponding violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1479969 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Vincent Hennebert
37ea66b191
Cosmetics only: enabled Checkstyle ParenPad rule and fixed corresponding violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1466146 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Peter Hancock
dc7f036c5e
JIRA#FOP-2180: TTFReader outputs bounding box information for glyphs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1430752 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Jeremias Maerki
2a7e60cb33
Fix for regression introduced by revision 1352986: NPE when auto-detecting TrueType Collections.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1356456 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
bf1401875c
Eliminate javadocs warnings.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1353173 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
992889d0a8
Javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1344309 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
a5c4a9c5d5
Renamed BFEntry into CMapSegment
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1344251 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
1f82c47f3c
Made glyphToUnicodeMap and unicodeToGlyphMap final
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1343777 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
1ec5b70b5a
Bugzilla #53148: Fix performance regression in JDK 1.6 Update 19 due to use of Java Beans API. Fix checkstyle errors.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1330317 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
f5141241f7
Tweak comment.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1328580 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
c5ea5054c7
Bugzilla #50492: Removing experimental feature that violates XSL-FO and Unicode semantics by misinterpreting Basic Latin code points. Users must use private use codepoints to access font specific character mappings that have no assigned Unicode code point.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1328579 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
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 years ago
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 years ago
Simon Pepping
347387b317
Second part of patch 50245 by Mehdi Houshmand
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039502 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
dbe01e0fa2
Partial application of patch 50245 by Mehdi Houshmand
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039350 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
f133bab5a8
Added full support for single-byte encodings when TTF fonts are embedded in PostScript.
Deprecated MultiByteFont.setBFEntries() in favor of CustomFont.setCMap().
Added some TODO related to BFEntry and TTFCmapEntry essentially being the same class. Maybe we should rename BFEntry.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1035307 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
519ac01c92
Added possibility to use glyphs outside WinAnsiEncoding for TrueType fonts 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
13 years ago
Jeremias Maerki
29e8badcec
Bugzilla #49733:
Resolved compilation (safe one), Checkstyle and many Javadoc warnings.
Submitted by: Glenn Adams <glenn.at.skynav.com>
Changes to patch:
- Restored the deprecated Graphics2DAdapter method (to be removed after Barcode4J 2.1 is released).
- Restored Renderer.startPageSequence(LineArea) pending discussion about removal.
- build.xml: set max VM to 1024MB instead of 2048MB to allow for 32-bit JVMs.
- build.xml: restored longer taskdef names.
- Restored Checkstyle 4 file for people running older IDEs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985537 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
589c8ab356
Trying to get a glyph name out of a Unicode code point is already done by the call to mapChar, so doing it again in TTFFontLoader is useless. Instead, make use of the post table if it exists, that may contain a list of glyph names and allow more glyphs to be supported.
That allows to reference instead of embed a TrueType font that is already installed on the printer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@960065 13f79535-47bb-0310-9956-ffa450edef68
14 years ago