all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juhapekka Tolvanen <SNAFU.juhtolv.POW@MIA.iki.RIP.fi.FUBAR.example.com.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: Why can't emacs recognize X fonts?
Date: Sun, 20 Jun 2010 06:44:21 +0300	[thread overview]
Message-ID: <87hbky2wru.fsf@juhtolv.dyndns.org> (raw)
In-Reply-To: mailman.4.1277002332.647.help-gnu-emacs@gnu.org



Daniel Pittman <daniel@rimspace.net> writes:

> Qiang Guo <mcknight0219@gmail.com> writes:
>
>> I'm using a emacs 23.2 I built on Mac OSX under X11. However, it can't not
>> recognize fonts like Monaco which are available in X11. For example, I can
>> see fonts by xlsfonts command. Is there any compiling parameter missing ?
>
> In 23.2, xft font support (and other pluggable back-ends, which may also apply
> on your platform) are available to Emacs.  By default, I suspect it is using
> one of those.
>
> If you look in the info section "25.7 Fonts", you can there read about the
> configuration options available to you to make this work as expected.

If your Emacs uses Xft/fontconfig/Freetype/etc. for its fonts, then you can
get a list of available fonts this way:

fc-list

It gives very long output. Feel free to pipe it through grep, sort, uniq,
less etc. For example, if I want to know names of all fonts that belong to
DejaVu-family, I can do this:

% fc-list | grep -i dejavu | sort
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold,Bold
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique
DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique
DejaVu Sans,DejaVu Sans Light:style=ExtraLight
DejaVu Sans Mono:style=Bold
DejaVu Sans Mono:style=Bold Oblique
DejaVu Sans Mono:style=Book
DejaVu Sans Mono:style=Oblique
DejaVu Sans:style=Bold
DejaVu Sans:style=Bold Oblique
DejaVu Sans:style=Book
DejaVu Sans:style=Oblique
DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold,Bold
DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold Italic,Bold Italic
DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book
DejaVu Serif,DejaVu Serif Condensed:style=Condensed Italic,Italic
DejaVu Serif:style=Bold
DejaVu Serif:style=Bold Italic
DejaVu Serif:style=Book
DejaVu Serif:style=Italic


-- 
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"Quidquid Latine dictum sit altum videtur."


      parent reply	other threads:[~2010-06-20  3:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-18  4:26 Why can't emacs recognize X fonts? Qiang Guo
2010-06-20  2:44 ` Daniel Pittman
2010-06-20  8:46   ` Peter Dyballa
2010-06-21 21:38     ` Qiang Guo
2010-07-08 20:15       ` Allan Gottlieb
2010-07-08 20:53         ` Peter Dyballa
2010-07-08 22:21           ` Allan Gottlieb
     [not found]           ` <mailman.7.1278627686.10601.help-gnu-emacs@gnu.org>
2010-07-12 19:05             ` Giacomo Boffi
2010-07-08 21:03         ` Qiang Guo
2010-07-08 22:08           ` Allan Gottlieb
     [not found] ` <mailman.4.1277002332.647.help-gnu-emacs@gnu.org>
2010-06-20  3:44   ` Juhapekka Tolvanen [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

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

  git send-email \
    --in-reply-to=87hbky2wru.fsf@juhtolv.dyndns.org \
    --to=snafu.juhtolv.pow@mia.iki.rip.fi.fubar.example.com.invalid \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.