> 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
