[SDL] Re: SDL_ttf and chinese/japanese/korean font

Clemens Lode ghoul at clawsoftware.de
Sun Dec 5 05:38:50 PST 2004


Clemens Lode <ghoul <at> clawsoftware.de> writes:

> 
> When drawing a chinese, japanese or korean text all I get are simple 
> squares. It works with all european languages and with russian fonts 
> flawlessly.
> I am using "TTF_RenderUTF8_Blended( font, font_text.c_str(), color );"
> Any idea why this is and how to fix this?
> 
> I have compiled media-libs/freetype-2.1.5-r1 with -bindist +cjk -debug 
> -doc +zlib
> 
> Best regards,
> Clemens
> 


Ok, problem solved, sorry :o
I was naive and thought that FreeSans has chinese characters included ;)
Downloading korean/japanese/chinese .ttf files solved my problem :>





More information about the SDL mailing list