Commit 2fe5a273 authored by Huw D M Davies's avatar Huw D M Davies Committed by Alexandre Julliard

Accept "Normal" as a valid AFM weight.

parent 0445eb8b
......@@ -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;
......
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