Re: Draft animator bug: help?
- From: Christopher Roy Bratusek <zanghar freenet de>
- To: sawfish-list gnome org
- Subject: Re: Draft animator bug: help?
- Date: Tue, 17 Aug 2010 20:55:10 +0200
> 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.
>
Nope. What I need is "-*-*-blah-*-*-" as *output*. xlfd:Sans doesn't
help. So I say (font-name font) and it returns
"-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1", it's the value I' actually
seeking for, so I can't input it.
As far as I can see there's no function for doing so. Also I'm not sure how to convert
the font-variable (which is a repv) to a `Font' type or XFontSet (would be better).
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]