Hello,

I'm trying to run dfbtest_font from DirectFB-1.4.11 with a string using
encoding format ISO8859-15 on Ubuntu 10.10 (UTF-8 by default),
to do this I change dfbtest_font.c on line 186 to this :

//          dest->DrawString( dest, "Test String", -1, 100, 100,
DSTF_TOPLEFT );
          dest->DrawString( dest, "NOTÍCIAS PROMOÇÃO AÁÀÃCçÇEeÉÈÓÒÕoÍiI",
-1, 100, 100, DSTF_TOPLEFT );

and save the file on ISO8859-15 encoding,
I recompile DirectFB OK and make install, everything OK,

I reconfigure the environment using these proceedings :
http://andreas.scherbaum.la/blog/archives/272-locales-on-Ubuntu.html

adapting to my language (pt_BR ISO-8859-15)

on terminal I set LANG variable using :

export LANG=pt_BR.ISO-8859-15

but when I run dfbtest_font :

dfbtest_font /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf

I see retangles where I must see special characters.

There's some kind of error setting my environment or theres some limitation
on DirectFB character encoding ?

Thanks for all help

Flávio Alberto Lopes Soares
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to