Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - chronotrigger21

Pages: [1]
1
Graphics / Displaying non-ascii chars - sf::Font and sf::Text
« on: April 14, 2016, 04:58:49 am »
I want to display non-Ascii characters. (specifically box-drawing characters for a roguelike game - my renderWindow will basically look like a console/terminal to the user; I'm just using SFML behind the scenes because it gives me so much more power)

But I just get boxes or question marks if I try to use a non-ascii character. I have spent hours upon hours poring over every scrap of documentation - sf::Font, sf::Text, Uint32, L"string", wstring, sf::string, ASCII codes, unicode strings... but all I seem to be accomplishing is exasperating myself.

All I want to do is draw some boxes with text! :)  Any advice pointing me in the right direction would be immensely appreciated.

Pages: [1]
anything