unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: John P. Burkett <burkett@uri.edu>
Cc: help-gnu-emacs@gnu.org
Subject: Re: font missing
Date: Thu, 11 Jun 2009 17:06:07 +0200	[thread overview]
Message-ID: <5F8DAE99-AD70-4E9A-8D8A-BCB65355830C@Web.DE> (raw)
In-Reply-To: <4A310895.6040305@uri.edu>


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.







      reply	other threads:[~2009-06-11 15:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11  2:16 font missing John P. Burkett
2009-06-11  9:36 ` Peter Dyballa
2009-06-11 13:37   ` John P. Burkett
2009-06-11 15:06     ` Peter Dyballa [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5F8DAE99-AD70-4E9A-8D8A-BCB65355830C@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=burkett@uri.edu \
    --cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).