]> source.dussan.org Git - xmlgraphics-fop.git/commit
Ok, I am much happier with this fix now, it doesn't feel like a temporary hack anymor...
authorAdrian Cumiskey <acumiskey@apache.org>
Fri, 18 Jul 2008 09:11:10 +0000 (09:11 +0000)
committerAdrian Cumiskey <acumiskey@apache.org>
Fri, 18 Jul 2008 09:11:10 +0000 (09:11 +0000)
commit18f3e432c4b8d9c7574e4feb4a1aca644ee50669
tree6f09829f0f7b679de5221e7eb1610ee477f9f6b1
parent89c2011b3d6329bf957190e7b5316fff9fdec2bb
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.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677863 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/fonts/FontInfo.java
src/java/org/apache/fop/render/afp/fonts/AFPFontCollection.java