r=pedemont, sr=blizzard, a=asa
OS/2 only - always use facename rather than familyname for DBCS fonts
This commit is contained in:
mkaply%us.ibm.com 2002-07-17 05:42:07 +00:00
parent 077ef63c0c
commit 2bec77936d

View File

@ -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)) {