From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: display-supports-face-attributes-p question Date: Mon, 30 Aug 2021 14:47:54 +0300 Message-ID: <838s0jkvbp.fsf@gnu.org> References: <87lf4kzkf7.fsf.ref@yahoo.com> <87lf4kzkf7.fsf@yahoo.com> <83v93oldoz.fsf@gnu.org> <87bl5gze9n.fsf@yahoo.com> <83pmtwlalq.fsf@gnu.org> <87o89g5pb5.fsf@yahoo.com> <83ilzol3wl.fsf@gnu.org> <87ilzn68j1.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19916"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 30 13:49:04 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mKfmi-0004ub-40 for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Aug 2021 13:49:04 +0200 Original-Received: from localhost ([::1]:45776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKfmh-0000X4-3n for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Aug 2021 07:49:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKflj-0007Zl-55 for emacs-devel@gnu.org; Mon, 30 Aug 2021 07:48:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42946) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKfli-00041a-Tv; Mon, 30 Aug 2021 07:48:02 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3400 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKfli-0002Tg-Gz; Mon, 30 Aug 2021 07:48:02 -0400 In-Reply-To: <87ilzn68j1.fsf@yahoo.com> (message from Po Lu on Mon, 30 Aug 2021 09:11:46 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:273478 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Mon, 30 Aug 2021 09:11:46 +0800 > > Eli Zaretskii 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.