Christopher Roy Bratusek <[email protected]> writes: > Am Tue, 17 Aug 2010 18:22:08 +0200 > schrieb Christopher Roy Bratusek <[email protected]>: > >> Am Tue, 17 Aug 2010 11:16:10 -0500 >> schrieb Jeremy Hankins <[email protected]>: >> >> > Christopher Roy Bratusek <[email protected]> writes: >> > > Attached patch fixes the issue as far as I can see, check it and tell >> > > me, if it works for you, too. >> > >> > It solves the problem for me. >> > >> >> ... but opens another: doesn't use the font set by Sawfish... > > XSetFont(dpy, VX_GC (gc)->gc, ????); > > how do I get Sawfishs current font in "-*-courier-medium-r-normal-*-*-120-75-* > format?
Hmm.. There's: (font-name default-font) Which on my system gives "Sans 8". I don't know if that's useful, but it seems as if get-font is the right approach, e.g.: (font-name (get-font "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1")) Gives "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1". There's also font-type, which gives "Pango" for my default-font, and "xlfd" in the example above. Does that help? Sawfish has an info page on fonts. -- Jeremy Hankins <[email protected]>
