On 1 Feb 2009, at 10:22, cage wrote:

> can I use xlsfont to get the list?

Maybe... Be aware that modern X systems pretty much have two separate  
font systems - the old-style XLFD Xlib system, which is probably what  
xlsfont would list, I suspect, and the more recent, anti-alised XFT  
systm which handles Truetype and OpenType and etc (and maybe some  
XLFD type fonts too.)

So if you have built fltk with XFT, it may not see the same set of  
fonts as xlsfont does... That is why I suggest you to use the fltk  
font test program - it will show the fonts that fltk can readily  
enumerate and use.

>
> Moreover If i run xlsfont the output produces a lot of adobe- 
> helvetica and adobe-courier font that are not displayed
> by the fltk font demo.

Indeed - see my comment above.


> This is really a puzzle for me and i can see now i have a lot to  
> learn from this subject!


Yes - it is really much harder than it ought to be!

-- 
Ian



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to