OpenType fonts support localized names for family, full name etc.
At least on Windows, using DirectWrite, it appears that lookup will fail if the supplied string doesn't match the presentation name for the user's locale.
We should add code which does this "by hand" for failed look ups.
A DW-specific fix would at least help Windows, although what would also help is APIs which report the localized names for fonts.
String getName(Locale)
and/or
String[] getLocalizedNames()
or
record NameLocale { Locale l, String n }
NameLocale[] getLocalizedNames
same again for Family.
At least on Windows, using DirectWrite, it appears that lookup will fail if the supplied string doesn't match the presentation name for the user's locale.
We should add code which does this "by hand" for failed look ups.
A DW-specific fix would at least help Windows, although what would also help is APIs which report the localized names for fonts.
String getName(Locale)
and/or
String[] getLocalizedNames()
or
record NameLocale { Locale l, String n }
NameLocale[] getLocalizedNames
same again for Family.