Fix bold/black in w32_to_fc_weight

* src/w32font.c (w32_to_fc_weight): Use symbols.
This commit is contained in:
Lars Ingebrigtsen 2021-10-21 14:36:50 +02:00
parent 14121345ad
commit aa9bbf5446

View file

@ -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");