From: Po Lu <luangruo@yahoo.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: display-supports-face-attributes-p question
Date: Sun, 29 Aug 2021 19:22:44 +0800 [thread overview]
Message-ID: <87bl5gze9n.fsf@yahoo.com> (raw)
In-Reply-To: <83v93oldoz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 29 Aug 2021 13:58:52 +0300")
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
next prev parent reply other threads:[~2021-08-29 11:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87lf4kzkf7.fsf.ref@yahoo.com>
2021-08-29 9:09 ` display-supports-face-attributes-p question Po Lu
2021-08-29 10:58 ` Eli Zaretskii
2021-08-29 11:22 ` Po Lu [this message]
2021-08-29 12:05 ` Eli Zaretskii
2021-08-29 13:54 ` Po Lu
2021-08-29 14:30 ` Eli Zaretskii
2021-08-30 1:11 ` Po Lu
2021-08-30 11:47 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bl5gze9n.fsf@yahoo.com \
--to=luangruo@yahoo.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.