It isn't in that list. All the fonts in the Font Path are in
/usr/share/fonts/X11/ while the ttf fonts are in
/usr/share/fonts/truetype. I tried adding that to the list with "xset
fp+" but I got a "bad font path element" error. I also tried googling to
learn a bit more about fonts in X, but damn, anything I find is at least
a few years old (references to the late xfree86 are abundant). Seems
like the last time people had font problems was several years ago!
Question is, if the ttf fonts are not in the font path, how come emacs
can use them?
Thanks,
Mostafa
On 03/11/2012 05:08 AM, z_axis wrote:
You may try `xset q | grep -i font` to see whether or not your font
is on the FontPath. The TTF font works for me.
在 Sat, 10 Mar 2012 17:23:35 +0800,Mostafa Razavi
<most...@sepent.com> 写道:
Hi. I'm a new convert, and I have like a thousand questions! I know
this is a "devel" mailing list, but it's the only mailing list
StumpWM has, so I hope it's all right if I ask my questions here (not
all one thousand though, not now!).
I've been trying to change the font StumpWM uses. Using "set-font" it
seems to me that truetype fonts are not usable. When I set the font
to "-adobe-helvetica-medium-normal--12*" it works. When I set it to
"-unknown-DejaVu Sans Mono-normal-*-13-*-*-*-m-0-iso10646-1" it
doesn't. I got that by calling "describe-face" in emacs, so I'm sure
the font exists. I'm not very familiar with how fonts are handled in
X. Trying xlsfonts and xlib:list-font-names, I see that they don't
list my truetype fonts. Is there a way I can use a better looking
font than the default one?
Another problem I've encountered is with "read-one-line". Calling it
from the slime repl in emacs causes weird problems. If I type slowly,
everything is fine. If I type fast, stumpwm gives error messages
mid-typing like "k is not bound" (k can be any key really). Once, it
even caused the system to freeze completely. I defined a command that
calls read-one-line and invoked it by the ";" command. Everything
worked fine, so I think this is somehow related to a combination of
emacs and stumpwm. Not a big issue, but still I thought I'd report it.
Also, the wifi contrib module does not work for me. It looks for a
"wireless" subdirectory in my /sys/class/net/wlan0 which does not
exist on my system. I'm running Debian with linux 2.6.32-5-amd54 and
with the latest StumpWM from git.
Any help on these is appreciated. Thanks.
Mostafa
_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel