/[Apache-SVN]
ViewVC logotype

Revision 593189


Jump to revision: Previous Next
Author: jeremias
Date: Thu Nov 8 15:13:24 2007 UTC (16 years, 6 months ago)
Changed paths: 40
Log Message:
Improved font auto-detection and handling of AWT-supplied fonts in order to achieve better results when using multiple output formats. Whenever possible, the font names appearing in the operating system can also be used in XSL-FO.

Better distinction between Font Family Name ("Arial"), Full Font Name ("Arial Bold") and PostScript Name ("Arial-BoldMT"). This allows a better generation of FontTriplets. The same is done for AWT fonts where I have switch from font-family detection to enumerating all java.awt.Font instances so I can extract Family Name, Full Name and PostScript Name. FontInfoFinder and AWT's FontSetup are synchronized as well as possible at this time.
Register "extra-bold" (weight 800) and "light" (weight 200) in triplets when detected.
Tweaked FontInfo.fontLookup() for better fallback behaviour. This approach is rapidly nearing its flexibility limits. We should rethink the FontTriplet structure.
Fixed font-autodetection so fonts with uppercase extensions are detected, too.
Made the way TrueType fonts are embedded in PDF compliant to the specification so viewers correctly identify subset fonts. The name prefix in MultiByteFont was incorrect.
Support the detection of the special Type 1 Symbol font. Symbol used to be detected with "ExpertSubsetEncoding" instead of "SymbolEncoding".
Type1FontLoader tries to construct a "full name" from the PostScript name. This is a temporary hack until we have a PFB or PFA parser.

Changed paths

Path Details
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/Courier.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/CourierBold.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/CourierBoldOblique.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/CourierOblique.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/Helvetica.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/HelveticaBold.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/HelveticaBoldOblique.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/HelveticaOblique.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/Symbol.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/TimesBold.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/TimesBoldItalic.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/TimesItalic.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/TimesRoman.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/ZapfDingbats.xml modified , text changed
Directoryxmlgraphics/fop/trunk/src/codegen/fonts/font-file.xsl modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/CIDFont.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/CustomFont.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/Font.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontInfo.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontMetrics.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontReader.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontSetup.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontUtil.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/LazyFont.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/MultiByteFont.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/MutableFont.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/apps/TTFReader.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontFileFinder.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/FontInfoFinder.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/truetype/TTFFontLoader.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
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFResources.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/fonts/AFPFont.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/fonts/RasterFont.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/render/java2d/FontMetricsMapper.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/render/java2d/FontSetup.java modified , text changed
Directoryxmlgraphics/fop/trunk/status.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26