r=mkaply, sr=blizzard (platform specific), a=mkaply Code from ganesh - use Helvetica when we are told to print WarpSans
This commit is contained in:
Родитель
c11a680e49
Коммит
caeaf6c233
|
@ -1360,7 +1360,8 @@ nsFontMetricsOS2::GetVectorSubstitute(HPS aPS, const char* aFamilyname,
|
|||
return PR_TRUE;
|
||||
}
|
||||
|
||||
if( stricmp( aFamilyname, "Helv" ) == 0 )
|
||||
if( stricmp( aFamilyname, "Helv" ) == 0 ||
|
||||
stricmp( aFamilyname, "WarpSans" ) == 0 )
|
||||
{
|
||||
if( !isBold && !isItalic )
|
||||
strcpy( alias, "Helvetica" );
|
||||
|
|
Загрузка…
Ссылка в новой задаче