Fix bold/black in w32_to_fc_weight
* src/w32font.c (w32_to_fc_weight): Use symbols.
This commit is contained in:
parent
14121345ad
commit
aa9bbf5446
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue