summaryrefslogtreecommitdiff
path: root/mkfontscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfontscale.c')
-rw-r--r--mkfontscale.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkfontscale.c b/mkfontscale.c
index 14435b4..356417f 100644
--- a/mkfontscale.c
+++ b/mkfontscale.c
@@ -446,6 +446,8 @@ t1Weight(const char *weight)
return "medium";
if(strcasecmp(weight, "Normal") == 0)
return "medium";
+ if(strcasecmp(weight, "Plain") == 0)
+ return "medium";
if(strcasecmp(weight, "Medium") == 0)
return "medium";
if(strcasecmp(weight, "Book") == 0)
@@ -460,6 +462,8 @@ t1Weight(const char *weight)
return "semibold";
else if(strcasecmp(weight, "Bold") == 0)
return "bold";
+ else if(strcasecmp(weight, "ExtraBold") == 0) /* freefonts uses this */
+ return "extrabold";
else if(strcasecmp(weight, "Heavy") == 0) /* FontForge uses this for 800*/
return "extrabold";
else if(strcasecmp(weight, "Black") == 0)