From b155ad1329e193987ed4102384b7996d6dd45088 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Tue, 31 Oct 2006 16:48:18 +0100 Subject: Allow SemiBold weight for Type 1 fonts. Thanks to Andrey Panov. --- mkfontscale.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mkfontscale.c') 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) -- cgit v1.2.3