On Sep 12, 2008, at 1:38 AM, Antoni Grzymala wrote:
> Donald Chai dixit (2008-09-11, 22:34):
>
>> Just specify multiple font patterns in config.h, separated by commas:
>>
>> static const char font[] =
>> "-*-fixed-medium-r-normal-*-12-*-*-*-*-*-*-*,-*-ukai-*-r-normal--*-
>> *-*-*-*-*"
>> ;
>
> What does this syntax actually mean? Does it mean that X will look for
> glyphs in the following two fonts and stop whenever it will find a
> font
> with a necessary glyph?
Yes, basically. The manpage for XCreateFontSet provides more details.
(I only figured this out yesterday after I already implemented my
pango patch.)
I hope http://theka.tk/fuckup-1.png gets fixed.
Caveat: if any of the patterns doesn't exist on the system, X may
just revert to some default. E.g. I tried font[] = "-*-terminus-*-*-*-
*-12-*-*-*-*-*-*-*,-*-ukai-*-r-normal--*-*-*-*-*-*" and I think X
completely ignored 'ukai' because I don't have 'terminus' on my system.
Filippo, if you're listening:
This probably would be good to put in http://www.suckless.org/dwm/
customisation/font.html
Received on Fri Sep 12 2008 - 08:54:15 UTC
This archive was generated by hypermail 2.2.0 : Fri Sep 12 2008 - 09:00:05 UTC