From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: ttf can't work on GNU Emacs(X-window)?
Date: Thu, 8 Sep 2005 10:54:32 +0200 [thread overview]
Message-ID: <29144c50c8cf3df3ab43d3c789ae489a@Web.DE> (raw)
In-Reply-To: <1126158404.976491.267080@g14g2000cwa.googlegroups.com>
Am 08.09.2005 um 07:46 schrieb Richie:
> From some web, I
> know emacs(xwindow) can only use the fonts which the "xlsfonts" command
> shows. So my question now is how to let xlsfonts accept the ttf fonts.
Put the font into, for example, /usr/X11R6/lib/X11/fonts/TTF.
Invoke (sudo) ttfmkfontdir in this directory to create the fonts.dir
and fonts.scale files.
Add /usr/X11R6/lib/X11/fonts/TTF/ to the X server's search path for
fonts, by
either invoking 'xset +fp /usr/X11R6/lib/X11/fonts/TTF/ ; xset fp
rehash' (check with xlsfonts)
or putting /usr/X11R6/lib/X11/fonts/TTF/ into your .xinitrc file where
xset is used to adapt the search path for fonts (valid with X11's next
launch).
Andale Mono is a Unicode encoded font, so there shouldn't be any
problem with missing encodings. OTOH there are versions of ttfmkfontdir
and mkfontdir (for PostScript Type 1 and bitmapped fonts) that can
create many font encodings for X from one font file:
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-adobe-standard
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-ibm-cp437
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-iso10646-1
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-iso8859-1
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-iso8859-10
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-iso8859-13
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-iso8859-15
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-iso8859-2
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-iso8859-3
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-iso8859-4
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-iso8859-5
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-iso8859-9
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-koi8-e
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-koi8-r
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-koi8-u
-monotype-andale mono-medium-r-normal--0-0-0-0-c-0-microsoft-cp1252
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-ascii-0
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-fcd8859-15
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-iso10646-1
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-iso8859-1
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-iso8859-10
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-iso8859-15
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-iso8859-2
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-iso8859-3
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-iso8859-4
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-iso8859-5
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-iso8859-7
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-iso8859-9
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-koi8-r
-monotype-andale mono-medium-r-normal--0-0-0-0-m-0-koi8-ru
If you have GTK2+ enabled X clients be aware that they'll launch quite
late: GTK2 first produces fonts.cache files ...
--
Mit friedvollen Grüßen
Pete
"Eternity is a terrible thought. I mean, where's it going to end?"
- Tom Stoppard
next prev parent reply other threads:[~2005-09-08 8:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-08 5:46 ttf can't work on GNU Emacs(X-window)? Richie
2005-09-08 8:54 ` Peter Dyballa [this message]
[not found] ` <mailman.6262.1126170654.20277.help-gnu-emacs@gnu.org>
2005-09-08 11:39 ` Richie
2005-09-09 4:45 ` Stefan Monnier
2005-09-09 10:24 ` Richie
2005-09-09 13:22 ` Stefan Monnier
2005-09-11 13:34 ` Ian Zimmerman
2005-09-12 6:00 ` James Cloos
[not found] ` <1126180306.543073.89850@g43g2000cwa.googlegroups.com>
2005-09-08 12:18 ` Peter Dyballa
[not found] ` <f1ba81f0050908053499f88e5@mail.gmail.com>
2005-09-08 13:18 ` Peter Dyballa
[not found] ` <mailman.6281.1126185875.20277.help-gnu-emacs@gnu.org>
2005-09-08 14:16 ` Richie
2005-09-08 14:33 ` Henrik Enberg
2005-09-08 15:20 ` Peter Dyballa
[not found] ` <mailman.6288.1126191114.20277.help-gnu-emacs@gnu.org>
2005-09-08 16:06 ` Richie
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=29144c50c8cf3df3ab43d3c789ae489a@Web.DE \
--to=peter_dyballa@web.de \
--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).