Hi all,

My gtk+ dfb app uses pango for font rendering. I have installed
fontconfig and the default font path in fonts.conf is /usr/share/fonts.
Initially, I forgot to create that directory, and the app failed
complaining that it couldn't find any font.

Then I created that directory, copied a few .ttf to
/usr/share/fonts/truetype, invoked ttmkfdir and mkfontdir to create
fonts.scale and fonts.dir. After that, my app run without any warning,
but the texts would not show. The font used was "arial 20" from pango.

>From strace, I found it did actually open
/usr/share/fonts/truetype/arial.ttf. But it seemed that the texts were
not rendered, or what got rendered are blanks.

Any ideas?

Selwyn



-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to