[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master aa9bbf5: Fix bold/black in w32_to_fc_weight
From: |
Lars Ingebrigtsen |
Subject: |
master aa9bbf5: Fix bold/black in w32_to_fc_weight |
Date: |
Thu, 21 Oct 2021 08:37:05 -0400 (EDT) |
branch: master
commit aa9bbf5446cb689c2e0f42dc38aecb00d8628fa6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 885daf9..4ceb430 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");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master aa9bbf5: Fix bold/black in w32_to_fc_weight,
Lars Ingebrigtsen <=