31
Graphics / Some unicode characters is not rendered with Text
« on: September 23, 2015, 05:24:30 am »
I'm using Text object to render the text with Ubuntu font: http://font.ubuntu.com/
There are some issues with performance, but it works ok.
Except for some symbol characters...
For exampel, try to render the following unicode string: "☺☻♥♠"
SFML displays square symbols instead of these symbols, so it displayed as "□□□□"
It's strange, because unicode symbols like this "" (just copy the text and use ubuntu font, because it will displayed incorrectly on the web site) is displayed correctly ...
I tested these characters on the site http://font.ubuntu.com/ and the ubuntu font contains it.
But it didn't works with SFML... (actually I'm using C# binding SFML.NET)
Any ideas on how to fix it?
Thanks
There are some issues with performance, but it works ok.
Except for some symbol characters...
For exampel, try to render the following unicode string: "☺☻♥♠"
SFML displays square symbols instead of these symbols, so it displayed as "□□□□"
It's strange, because unicode symbols like this "" (just copy the text and use ubuntu font, because it will displayed incorrectly on the web site) is displayed correctly ...
I tested these characters on the site http://font.ubuntu.com/ and the ubuntu font contains it.
But it didn't works with SFML... (actually I'm using C# binding SFML.NET)
Any ideas on how to fix it?
Thanks