[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display-supports-face-attributes-p question
From: |
Po Lu |
Subject: |
Re: display-supports-face-attributes-p question |
Date: |
Sun, 29 Aug 2021 19:22:44 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> Not working in what sense? Does it fail in
> gui_supports_face_attributes_p or does it fail elsewhere? If it's in
> gui_supports_face_attributes_p, can you step through the code there
> with a debugger and describe what exactly doesn't work?
It appears that gui_face_attributes_p can't find properties differing
between the :slant italic font and the default font; the EQ comparison
at xfaces.c:5163 always evaluates to true. What confuses me is how this
is possible, as, if I understand correctly, (struct font *)->props
should be populated by `make_font_object' from the contents of the
entity, and if the font driver finds a font with :slant italic, the
entity should also have it's slant set to italic.
TIA
- display-supports-face-attributes-p question, Po Lu, 2021/08/29
- Re: display-supports-face-attributes-p question, Eli Zaretskii, 2021/08/29
- Re: display-supports-face-attributes-p question,
Po Lu <=
- Re: display-supports-face-attributes-p question, Eli Zaretskii, 2021/08/29
- Re: display-supports-face-attributes-p question, Po Lu, 2021/08/29
- Re: display-supports-face-attributes-p question, Eli Zaretskii, 2021/08/29
- Re: display-supports-face-attributes-p question, Po Lu, 2021/08/29
- Re: display-supports-face-attributes-p question, Eli Zaretskii, 2021/08/30