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.help Subject: Re: set-default-font Date: Fri, 28 Aug 2020 09:43:27 +0300 Message-ID: <83tuwnz2wg.fsf@gnu.org> References: <855b886e-8bb5-caad-ebc5-4f14b7da5765@mousecar.com> <83k0xm4m34.fsf@gnu.org> <83imd64luu.fsf@gnu.org> <69cb6867-47c2-fd29-756e-9511f59fd4f2@mousecar.com> <20200825204907.GF3788@scrozzle> <82c7689a-18c8-4a3d-9291-468c18621774@mousecar.com> <83bliy3qrk.fsf@gnu.org> <838se03fcg.fsf@gnu.org> <835z94339p.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35224"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 28 08:43:57 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1kBY79-00094n-VO for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 28 Aug 2020 08:43:55 +0200 Original-Received: from localhost ([::1]:59614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBY79-0001id-1i for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 28 Aug 2020 02:43:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBY6r-0001iQ-6J for help-gnu-emacs@gnu.org; Fri, 28 Aug 2020 02:43:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40914) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBY6q-0002Gq-TT for help-gnu-emacs@gnu.org; Fri, 28 Aug 2020 02:43:36 -0400 Original-Received: from [176.228.60.248] (port=4627 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kBY6q-0003dT-4w for help-gnu-emacs@gnu.org; Fri, 28 Aug 2020 02:43:36 -0400 In-Reply-To: (message from David Masterson on Thu, 27 Aug 2020 19:39:38 -0700) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123815 Archived-At: > From: David Masterson > Cc: help-gnu-emacs@gnu.org > Date: Thu, 27 Aug 2020 19:39:38 -0700 > > >> Maybe the original build was with GTK, and this one, with Lucid, > >> doesn't have the nice font selection dialog? What you describe is the > >> Emacs's internal fallback which shows fonts known in advance to exist, > >> with no relation to the font back-end in use. This "not nice" menu is > >> shown if x-select-font function is not available. > > > > Ah, I'll investigate that. Sounds like I need to install another > > library. Thanks. > > Followup: from the code in xfns.c, it appears that x-select-font is only > defined if you are using GTK and FreeType. With Lucid, you get the > internal fallback. > > Maybe I'll try rebuilding with GTK. Needless to say, the fonts are available in Emacs regardless. It's only the font selection dialog that may be unavailable, but font settings via, e.g., set-frame-font, set-fontset-font, etc., work regardless. IOW, this is just a GUI feature, which depends on the toolkit's abilities; it doesn't affect what fonts Emacs can use.