Use a case-insensitive comparison to match PostScript font names.

This commit is contained in:
Ian Pilcher 2000-12-29 05:27:24 +00:00 committed by Alexandre Julliard
parent cce38d7ad3
commit 8ed43e6b47
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ HFONT16 PSDRV_FONT_SelectObject( DC * dc, HFONT16 hfont,
/* Look for a matching font family */
for(family = physDev->pi->Fonts; family; family = family->next) {
if(!strcmp(FaceName, family->FamilyName))
if(!strcasecmp(FaceName, family->FamilyName))
break;
}
if(!family) {