/[Apache-SVN]
ViewVC logotype

Revision 629131


Jump to revision: Previous Next
Author: jeremias
Date: Tue Feb 19 15:47:48 2008 UTC (16 years, 4 months ago)
Changed paths: 4
Log Message:
Added support for reading the OS/2 table's usWeightClass value which supports the same font weight values as we use in XSL-FO.
However, in my tests these values proved to be unreliable (like ExtraBlack fonts returning 400). I just hooked the whole thing in so this work isn't lost if anyone has an idea to make it work. The FontInfoFinder will continue to only use guessed font weights for now.

Changed paths

Path Details
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/CustomFont.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

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26