From 966241a4f215c8157830405859fbae5da7a68518 Mon Sep 17 00:00:00 2001 From: Yukio Siraichi Date: Mon, 17 May 2021 13:20:11 +0900 Subject: [PATCH] Use fontconfig spec for parsing font-weight. --- src/font.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/font.c b/src/font.c index 7c1d1ff89b..b420bb14a7 100644 --- a/src/font.c +++ b/src/font.c @@ -69,7 +69,8 @@ #define DEFAULT_ENCODING Qiso8859_1 { 20, { "ultra-light", "ultralight" }}, { 40, { "extra-light", "extralight" }}, { 50, { "light" }}, - { 75, { "semi-light", "semilight", "demilight", "book" }}, + { 55, { "semi-light", "semilight", "demilight" }}, + { 75, { "book" }}, { 100, { "normal", "medium", "regular", "unspecified" }}, { 180, { "semi-bold", "semibold", "demibold", "demi" }}, { 200, { "bold" }}, -- 2.31.1