Hello everyone,

suppose I want to render anti-aliased text from FLTK2. What would be the
recommended approach?

I can imagine a few workarounds, but I don't feel very confident about
anyone of them:

1) Hack the source code in nxlib and whenever it calls GrCreateFont, call
GrSetFontAttributes right afterwards;
2) Let FLTK create the font, get a handle to it from nano-X server, and call
GrSetFontAttributes;
3) Use the XFontStruct from FLTK, get the font handle from it, and call
GrSetFontAttributes.

I'm just throwing some options here, I've made some testing with the above
choices but I still feel there should be something that look less like a
hack...

Please send any comments and ideas and I will give them a try!

Thanks,

Ricardo.

---------------------------------------------------------
Ricardo Pereira Jasinski
[EMAIL PROTECTED]
Tel: (41) 9955-2852

LME - Laboratório de Microeletrônica da UTFPR
UTFPR Microelectronics Lab
www.lme.cpdtt.cefetpr.br
Tel: +55 41 3310 4756

Reply via email to