8078382: Wrong glyph is displayed for a derived font
Reviewed-by: prr, serb
This commit is contained in:
parent
e110eecba2
commit
09db90e3d1
@ -335,9 +335,9 @@ public class FontFamily {
|
||||
case Font.BOLD|Font.ITALIC:
|
||||
if (bolditalic != null) {
|
||||
return bolditalic;
|
||||
} else if (italic != null && italic.canDoStyle(style)) {
|
||||
return italic;
|
||||
} else if (bold != null && bold.canDoStyle(style)) {
|
||||
return bold;
|
||||
} else if (italic != null && italic.canDoStyle(style)) {
|
||||
return italic;
|
||||
} else if (plain != null && plain.canDoStyle(style)) {
|
||||
return plain;
|
||||
|
Loading…
Reference in New Issue
Block a user