On 01/19/04 12:54, Sven Neumann wrote:
> 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.

I solved my problem by copying the whole directory of Type1 from X11 of
my host machine to my target board. Yes, it contains a fonts.cache-1
file, but it works even if I have deleted the file.

One problem that remains is that it can't render Chinese texts. My app
can show Chinese texts on dfb when running on my host machine, using the
Chinese fonts installed. When moving to the target board, I mount my
host machine's partition and change the font path in fonts.conf. It can
then correctly renders English texts, but not Chinese. strace shows that
it have looked into some directories like zh_TW and zh_CN. Just don't
know why it can't use the fonts inside them, as they are okay on my host.

> 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

I am using cvs (20040115) of dfb, gkt+-dfb 2.0.9-2 and the cle266 gfx
driver. I don't know the pixelformat, probably something of RGB, since
its on the primary surface. No special config in directfbrc.

Selwyn



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

Reply via email to