]> source.dussan.org Git - xmlgraphics-fop.git/commit
Bugfix for font selection fallbacks:
authorJeremias Maerki <jeremias@apache.org>
Wed, 16 Dec 2009 10:06:16 +0000 (10:06 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 16 Dec 2009 10:06:16 +0000 (10:06 +0000)
commited4e49bb2ceaccd0a1d93545c621e310f92a4f21
tree873198d82344047eca8f4cbd31563b9b2d349e6d
parente4a9b9759287db91adfd1ccdcacd07f67a661d76
Bugfix for font selection fallbacks:
"Freestyle Script", for example, only has a single variant.
Freestyle Script,normal,100 was properly resolved to Freestyle Script,normal,400.
Freestyle Script,italic,400 was properly resolved to Freestyle Script,normal,400.
But Freestyle Script,italic,100 was resolved to the "any" font.
All combinations of weights and styles are now remaining on the same font family where possible.

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