Commit 8ed43e6b authored by Ian Pilcher's avatar Ian Pilcher Committed by Alexandre Julliard

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

parent cce38d7a
...@@ -76,7 +76,7 @@ HFONT16 PSDRV_FONT_SelectObject( DC * dc, HFONT16 hfont, ...@@ -76,7 +76,7 @@ HFONT16 PSDRV_FONT_SelectObject( DC * dc, HFONT16 hfont,
/* Look for a matching font family */ /* Look for a matching font family */
for(family = physDev->pi->Fonts; family; family = family->next) { for(family = physDev->pi->Fonts; family; family = family->next) {
if(!strcmp(FaceName, family->FamilyName)) if(!strcasecmp(FaceName, family->FamilyName))
break; break;
} }
if(!family) { if(!family) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment