Re: Draft animator bug: help?
- From: Jeremy Hankins <nowan nowan org>
- To: sawfish-list gnome org
- Subject: Re: Draft animator bug: help?
- Date: Tue, 17 Aug 2010 13:41:11 -0500
Christopher Roy Bratusek <zanghar freenet de> writes:
> Am Tue, 17 Aug 2010 18:22:08 +0200
> schrieb Christopher Roy Bratusek <zanghar freenet de>:
>
>> Am Tue, 17 Aug 2010 11:16:10 -0500
>> schrieb Jeremy Hankins <nowan nowan org>:
>>
>> > Christopher Roy Bratusek <zanghar freenet de> 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 <nowan nowan org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]