[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some Font & Face Questions (unicode--2)
From: |
Peter Dyballa |
Subject: |
Re: Some Font & Face Questions (unicode--2) |
Date: |
Thu, 9 Aug 2007 11:14:10 +0200 |
Am 09.08.2007 um 04:03 schrieb Florian Beck:
2. How do I find out about the possible fonts-specs?
You did not mention whether you use in the experimental Unicode Emacs
23 its font backend or not. Without it you need to edit X11's font
path. This can be done for example in ~/.xinitrc, the script that
launches the X clients and the window server:
xset fp+ /usr/X11R6/lib/X11/fonts/cyrillic/,/sw/lib/X11/fonts/
applettf/,/sw/lib/X11/font s/libwmf/,/sw/lib/X11/fonts/msttf/
xset fp rehash
Before this actually can work you need to create the (fonts.alias,)
fonts.dir and fonts.scale directory files for X11 with mkfontdir or
such in each component of font path.
If you have enabled the font backend then fontconfig is managing
Unicode Emacs' font use. This system relies on fonts.conf file, for
example:
/etc/fonts/fonts.conf
/etc/fonts/local.conf
/usr/local/etc/fonts/fonts.conf
~/.fonts.conf
Then think of a longer break (lunch for example) and invoke as root
and in your own account fc-cache – after half an hour or later you'll
have the .fonts.cache-* files ...
I also have a ~/.fontconfig directory (almost 800 cache files, almost
7 MB) of which I don't know where it comes from and what it's good
for ...
3. I can set frame specific fonts. This works ok. Can I show different
fonts in *windows*? If not, as I fear, can I at least have different
font sizes in different windows, e.g. small fonts in *Help* windows?
No, not yet. All windows in one frame have to share the same font or
fontset. But you can configure particular font faces to come from a
particular font, be in a particular size or of a particular colour,
shape ...
--
Mit friedvollen Grüßen
Pete
How many Microsoft engineers does it take to screw in a light-bulb?
None.
They just redefine "dark" as the new standard.