1
Graphics / Re: How to render in color emojis?
« on: December 10, 2023, 04:46:24 pm »
I tried using sf::String and the seguiemj font, as Noto also shows blank boxes
sf::Font font;
font.loadFromFile("C:/Windows/Fonts/seguiemj.ttf");
sf::Text text;
text.setFont(font);
text.setString(u8"🌙");
window.draw(text);
However this displays the following:
https://ibb.co/Lrx0YwB
sf::Font font;
font.loadFromFile("C:/Windows/Fonts/seguiemj.ttf");
sf::Text text;
text.setFont(font);
text.setString(u8"🌙");
window.draw(text);
However this displays the following:
https://ibb.co/Lrx0YwB