/[Apache-SVN]
ViewVC logotype

Revision 677863


Jump to revision: Previous Next
Author: acumiskey
Date: Fri Jul 18 09:11:10 2008 UTC (15 years, 10 months ago)
Changed paths: 2
Log Message:
Ok, I am much happier with this fix now, it doesn't feel like a temporary hack anymore :).

I have revised the fontLookup() algorithm in FontInfo so it now first tries to find matching font triplets by iterating over all the font family names *without substitutions*, if this fails it then iterates over all the font family names looking for matching font triplets *with substitutions* rather then just take the last one in the font family name list with substitutions.


Changed paths

Path Details
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/FontInfo.java modified , text changed
Directoryxmlgraphics/fop/trunk/src/java/org/apache/fop/render/afp/fonts/AFPFontCollection.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26