/[Apache-SVN]
ViewVC logotype

Revision 628280


Jump to revision: Previous Next
Author: jeremias
Date: Sat Feb 16 12:28:48 2008 UTC (16 years, 3 months ago)
Changed paths: 11
Log Message:
Extracted most of the code in CodePointMapping (generated by XSLT) into a base class for easier maintenance and proper Javadocs.
Deprecated FOP's copy of Glyphs.java.
Took a different approach at handling mapping alternatives for single-byte fonts. The AFM now only lists the main character. Substitution is done through Glyphs.java later in CodePointMapping.
Fixed a problem in Type1FontLoader where the PFM overrides asc/desc/cap/x even though the AFM provides the values. It showed itself because the URW Symbol font has wrong values in the PFM.
Added a note to myself in Type1FontLoader to implement the "Flags" value. The whole thing still seems to work without that part.
Added a glyph name list to the CodePointMapping so we can work with the original list from the AFM. Otherwise, various mapping operations to and from resulted in unwanted mappings (because the mappings are not necessarily 1:1) and in the end the PDF received an incorrect Encoding map. Now there's no such problem anymore.


Changed paths

Path Details
Directoryxmlgraphics/fop/trunk/lib/xmlgraphics-commons-1.3svn.jar modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/code-point-mapping.xsl modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/AbstractCodePointMapping.java added
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/Glyphs.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/truetype/TTFFile.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/type1/AFMCharMetrics.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/type1/AFMFile.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/type1/PFMFile.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/type1/Type1FontLoader.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFFactory.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26