[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display-supports-face-attributes-p question
From: |
Eli Zaretskii |
Subject: |
Re: display-supports-face-attributes-p question |
Date: |
Mon, 30 Aug 2021 14:47:54 +0300 |
> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Mon, 30 Aug 2021 09:11:46 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > It should be a list of font-entity objects, at least some of which
> > have the 'italic' value in the :slant slot.
>
> Thanks for the help, I think I've found the problem: my code doesn't
> have problems detecting italic styles, but it can't detect italic styles
> when monospace is explictly specified. There are indeed no
> font-entities with :slant italic.
Glad I was able to help. This area (font selection) of the Emacs code
is notoriously under-documented, and I don't consider myself an expert
on its inner workings.