summaryrefslogtreecommitdiff
path: root/mkfontscale.c
diff options
context:
space:
mode:
authorJuliusz Chroboczek <jch@pps.jussieu.fr>2006-10-31 16:48:18 +0100
committerJuliusz Chroboczek <jch@pps.jussieu.fr>2006-10-31 16:48:18 +0100
commitb155ad1329e193987ed4102384b7996d6dd45088 (patch)
tree77752b7731ee027336683895a86a1e3482b12b9b /mkfontscale.c
parentb849af72d7b564f7c09ee480f7496a741063b2a8 (diff)
Allow SemiBold weight for Type 1 fonts.
Thanks to Andrey Panov.
Diffstat (limited to 'mkfontscale.c')
-rw-r--r--mkfontscale.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkfontscale.c b/mkfontscale.c
index c758e18..b538d79 100644
--- a/mkfontscale.c
+++ b/mkfontscale.c
@@ -444,6 +444,8 @@ t1Weight(char *weight)
return "semibold";
if(strcmp(weight, "DemiBold") == 0)
return "semibold";
+ if(strcmp(weight, "SemiBold") == 0) /* some TeX fonts apparently do that */
+ return "semibold";
else if(strcmp(weight, "Bold") == 0)
return "bold";
else if(strcmp(weight, "Black") == 0)