Hi,

Selwyn Tang <[EMAIL PROTECTED]> writes:

> 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.

fontconfig doesn't need (or even use) fonts.scale and fonts.dir. It
likes cache files though, so you should run fc-cache after installing
fonts.

> After that, my app run without any warning,
> but the texts would not show. The font used was "arial 20" from pango.

What versions of DirectFB and gtk+-directfb are you using? Which
gfx-card do you use, what pixelformat do you render to? Do you use any
special configuration in your directfbrc? Does rendering in software
only mode change the behaviour?


Sven


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

Reply via email to