Accept "Normal" as a valid AFM weight.
This commit is contained in:
parent
0445eb8b7e
commit
2fe5a273fd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue