From aa9bbf5446cb689c2e0f42dc38aecb00d8628fa6 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 21 Oct 2021 14:36:50 +0200 Subject: [PATCH] Fix bold/black in w32_to_fc_weight * src/w32font.c (w32_to_fc_weight): Use symbols. --- src/w32font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/w32font.c b/src/w32font.c index 885daf930b0..4ceb4302cee 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -2000,7 +2000,7 @@ w32_encode_weight (int n) static Lisp_Object w32_to_fc_weight (int n) { - if (n >= FW_HEAVY) return Qbold; + if (n >= FW_HEAVY) return Qblack; if (n >= FW_EXTRABOLD) return Qextra_bold; if (n >= FW_BOLD) return Qbold; if (n >= FW_SEMIBOLD) return intern ("demibold"); -- 2.39.2