8208179: Devanagari not shown with logical fonts on Windows after removal of Lucida Sans from JDK

Reviewed-by: jdv, naoto
This commit is contained in:
Phil Race 2019-04-26 12:31:37 -07:00
parent 921b46738e
commit d374151fb7
3 changed files with 112 additions and 3 deletions

View file

@ -1980,6 +1980,9 @@ public abstract class SunFontManager implements FontSupport, FontManagerForSGE {
if (font == null) {
font = findDeferredFont(name, style);
}
if (font == null) {
font = findFontFromPlatform(lowerCaseName, style);
}
if (font == null) {
font = family.getFont(style);
}