Date: Sat, 04 Sep 2004 17:51:39 +0200 From: Steven Scholz Subject: [nanogui] Problem: XLoadFont() and freetype2 ... Hi there, I am able to run microwindow's "fontdemo" programm with rotated truetype fonts using freetype2. Now I am trying the same from an X11 (actually FLTK) application. I see that nxlib's XLoadFont() calls GrCreateFont(). But why does nxlib-0.45/LoadFont.c contain: /* found font, load into server*/ if (fontname) font = GrCreateFont(fontname, 0, NULL); This means that the (true type) font will be created with hight=0 which is hardly readable. When I change the above to something like font = GrCreateFont(fontname, 20, NULL); I get nice, huge output. So should we determine the hight of the font to load first (by parsing the name string maybe) and then call GrCreateFont? Why does it work with .pcf.gz fonts? Thanks! -- Steven --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscribe@linuxhacker.org For additional commands, e-mail: nanogui-help@linuxhacker.org