From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: font missing Date: Thu, 11 Jun 2009 17:06:07 +0200 Message-ID: <5F8DAE99-AD70-4E9A-8D8A-BCB65355830C@Web.DE> References: <4A306915.8070903@uri.edu> <23547D25-B27C-45BF-9091-1CC0AC9EF0FA@Web.DE> <4A310895.6040305@uri.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244732798 7151 80.91.229.12 (11 Jun 2009 15:06:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jun 2009 15:06:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: John P. Burkett Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 11 17:06:36 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MElrP-0006I6-N4 for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Jun 2009 17:06:36 +0200 Original-Received: from localhost ([127.0.0.1]:40256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MElrP-0000GM-3E for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Jun 2009 11:06:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MElr6-0000GH-Oj for help-gnu-emacs@gnu.org; Thu, 11 Jun 2009 11:06:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MElr1-0000Fl-MN for help-gnu-emacs@gnu.org; Thu, 11 Jun 2009 11:06:15 -0400 Original-Received: from [199.232.76.173] (port=49848 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MElr1-0000Fi-GE for help-gnu-emacs@gnu.org; Thu, 11 Jun 2009 11:06:11 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:58612) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MElr0-0004LY-QL for help-gnu-emacs@gnu.org; Thu, 11 Jun 2009 11:06:11 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id AF423102B1DE4; Thu, 11 Jun 2009 17:06:09 +0200 (CEST) Original-Received: from [91.35.245.42] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (WEB.DE 4.110 #277) id 1MElqz-0002Jt-00; Thu, 11 Jun 2009 17:06:09 +0200 In-Reply-To: <4A310895.6040305@uri.edu> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/IjEHXGYmH7Oh+pxWHSYB0X07J1bV5H0YWQTqa /Q42w5OiI51vleGtbpY7m3UyRZ8hhfDehPxqWkJweq1NvGdhlz sudEag4jADCJuy2mBXrw== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65175 Archived-At: Am 11.06.2009 um 15:37 schrieb John P. Burkett: > Doing "locate 10x20" generates the following response: > > [...] > > I'm not sure how to ask emacs to use any of those fonts. You do nothing. Your system has to know and to provide them. So you should add the path to the fonts to your font sub-system(s), if not already included, and re-initialise it or them. >> M-x set-frame-font RET TAB TAB >> >> (It's best to imagine a file name for the volatile *Completions* >> buffer >> first and save it at once under this name.) > > Toward the bottom of the Completions buffer, I see "10x20". > Clicking on > it with the left mouse button produces the message "Font `10x20` is > not > defined". So something is not OK with your Gentoo system. Could be the font sub- system(s) work off stale cache files. (sudo) mkfontscale and (sudo) mkfontdir and the font files' directories renews them X11, (sudo) fc- cache [-v] renews them for libfontconfig. The -v option will show where libfontconfig looks for fonts (if you don't want to read the configuration files). > > What should I try next? Find out which font sub-system supplies the font you picked and why this font is not available for real use. I'm not sure whether X11 provides a way to find the path to the file which provides the font, fc-list can do it with 'fc-list : file family fullname' + some filtering. Xfontsel and xfd are X clients which can display fonts. FontForge is an external add-on which can do much more with fonts. On the command line xlsfonts and fc-list can list myriads of fonts, either those from the X server or those from libfontconfig service. (Of course the one font sub-system can provide the fonts from the other, if properly configured.) -- Greetings Pete We have to expect it, otherwise we would be surprised.