From: Lars Ingebrigtsen Date: Thu, 21 Oct 2021 12:36:50 +0000 (+0200) Subject: Fix bold/black in w32_to_fc_weight X-Git-Tag: emacs-29.0.90~3671^2~477 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aa9bbf5446cb689c2e0f42dc38aecb00d8628fa6;p=emacs.git Fix bold/black in w32_to_fc_weight * src/w32font.c (w32_to_fc_weight): Use symbols. --- 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");