Accept "Normal" as a valid AFM weight.

oldstable
Huw D M Davies 1999-03-09 17:42:33 +00:00 committed by Alexandre Julliard
parent 0445eb8b7e
commit 2fe5a273fd
1 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,8 @@ static AFM *PSDRV_AFMParse(char const *file)
if(!strncmp("Weight", buf, 6)) {
if(!strncmp("Roman", value, 5) || !strncmp("Medium", value, 6)
|| !strncmp("Book", value, 4) || !strncmp("Regular", value, 7))
|| !strncmp("Book", value, 4) || !strncmp("Regular", value, 7)
|| !strncmp("Normal", value, 6))
afm->Weight = FW_NORMAL;
else if(!strncmp("Demi", value, 4))
afm->Weight = FW_DEMIBOLD;