On 30 Mar 2010, at 23:07, Greg Ercolano wrote:

>       After looking at 'man xft', it led me to the FreeType API manual
>       which includes this tutorial:
>       http://www.freetype.org/freetype2/docs/tutorial/step1.html
>
>       ..so I think at some point today when the sun goes down,
>       I'll pour a stiff drink, and absorb all that, and maybe
>       try to compile up a few of their example programs:
>       http://www.freetype.org/freetype2/docs/tutorial/
>
>       ..to see what I can come up with.
>       One of them looks like it 'renders' fonts out to TGA files.. fun.

Yup...

Though the current thinking, at least from the X11 folk, is that the  
FT API is too low level and that we should use a more abstracted  
mechanism.

So we use XFT to handle the rendering (XFT wraps FT and the old  
"core" fonts and conceivably other font rendering methods we haven't  
thought of yet) and Fontconfig to manage the choosing of fonts and  
setting languages orthographies and all that stuff.

Well, I think that's the idea.

So, in fltk we have the XFT rendering bit pretty well, but we don't  
really have the Fontconfig end of it down yet, and that may be where  
we need to go to get it working smoothly, just "magically" loading  
fonts that contain the glyphs we need as we go along...

But I really struggle with the Fontconfig docs - they are a bit  
"sparse", as are the XFT ones, to be honest.
However, XFT and FC do play well together, so at least that's a start!
-- 
Ian




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

Reply via email to