mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
r=pedemont, sr=blizzard, a=asa OS/2 only - always use facename rather than familyname for DBCS fonts
This commit is contained in:
parent
077ef63c0c
commit
2bec77936d
@ -1888,11 +1888,7 @@ nsFontMetricsOS2::InitializeGlobalFonts()
|
||||
char* fontptr;
|
||||
if( font->metrics.fsType & FM_TYPE_DBCS )
|
||||
{
|
||||
if( PL_strcmp( font->metrics.szFamilyname, "GOTHIC" ) == 0 ||
|
||||
PL_strcmp( font->metrics.szFamilyname, "MINCHO" ) == 0 )
|
||||
fontptr = font->metrics.szFacename;
|
||||
else
|
||||
fontptr = font->metrics.szFamilyname;
|
||||
if ((ulSystemCodePage != 1386) &&
|
||||
(ulSystemCodePage != 1381) &&
|
||||
(ulSystemCodePage != 950)) {
|
||||
|
Loading…
Reference in New Issue
Block a user