[SDL] Fonts

Mattias Karlsson betasoft at acc.umu.se
Thu May 10 04:06:24 PDT 2007


On Thu, 10 May 2007, Patricia Curtis wrote:

> Hi Guys
>        Does anyone know if Chinese/Korean/Turkish and all the other
> Unicode fonts have the space at 32 and the numbers at 48 etc???? so when i
> use
> TTF_RenderUNICODE_Blended and such to print space or zero to nine, it will
> translate if i use a chinese font?

Yes, that is one of the points of UNICODE. But I would use 
TTF_RenderUTF8_Blended instead since UTF8 has the same memory encoding as 
ASCII for unicode points below 127.


More information about the SDL mailing list