MacArthur, Ian (SELEX) (UK) wrote:
>>> The other change is to fix the XFT builds so that gl_font() 
>> can select 
>>> fonts of different sizes - the default fltk-XFT behaviour 
>> is to pick a 
>>> single fixed font for GL use, regardless of what size or 
>> face you request.
>>> With this hack in place, you can now get different sizes - 
>> the face is 
>>> still pretty much ignored, however.
>>> I might be able to work that, but for now it's just a hackaround...
>>>
>> Hi Ian - It would be great to merge this fix into the 
>> mainline FLTK 1.1 
>> tree. Debian (for example) ships FLTK configured with XFT 
>> support, which 
>> makes OpenGL fonts in all the FLTK apps in Debian look bad.
> 
> 
> Have you tested this fix and found that it is "good"? I did some
> testing, but did not have time enough to be as thorough as I'd like.
> Does it work reliably for you with your Debian apps?
> 
> If so, we could maybe speak nicely to Matthias about patching it into
> the 1.1.8 mainstream (it is almost, but not quite, a drop-in replacement
> for Fl_fonts_xft.cxx, I think.)


Hi Ian - Yes, I've tested it on Debian and it works well.

What I did is simply replace the function fl_xxfont() in the latest 
official FLTK snapshot with the one from the fltk-1.1.8-utf.

Looking at fl_xxfont() I guess we could quite easily add support for the 
other standard fonts, too.

Christophe



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

Reply via email to