Re: TWM: truetype support

2007-09-28 Thread Eeri Kask
As quick answer, I'd take two good ideas from you suggestion instantly: (1) Use XListFonts() instead of XLoadQueryFont() to test if a font is available; (2) Use DefaultFont as a first fallback if requested font could not be loaded. (I don't know if it makes sense to give a stderr warning that

Re: TWM: truetype support

2007-09-28 Thread Marc Aurele La France
On Fri, 28 Sep 2007, Eeri Kask wrote: As quick answer, I'd take two good ideas from you suggestion instantly: (1) Use XListFonts() instead of XLoadQueryFont() to test if a font is available; No. It is to test if it is a core font. (2) Use DefaultFont as a first fallback if requested