Map 'Courier New' to 'Courier'.

This commit is contained in:
Huw D M Davies 2001-02-12 03:37:52 +00:00 committed by Alexandre Julliard
parent 4f5838fbb8
commit 804edb1cec
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ HFONT16 PSDRV_FONT_SelectObject( DC * dc, HFONT16 hfont,
strcpy(FaceName, "Helvetica");
else if(!strcmp(FaceName, "Times New Roman"))
strcpy(FaceName, "Times");
else if(!strcmp(FaceName, "Courier New"))
strcpy(FaceName, "Courier");
for(family = physDev->pi->Fonts; family; family = family->next) {
if(!strcmp(FaceName, family->FamilyName))
break;