SFML community forums
Help => Graphics => Topic started by: codinglexernewbie on July 11, 2022, 11:35:22 am
-
for example i have a glyph:'Σ' and i want to make it 30 by 50, how do i do that?
so in a string : aΣ3 where the character height is 40, i want the Σ to be 30
-
It's not possible to size characters differently within on sf::Text instance.
Things you can do is use multiple sf::Text instances and calculate the positioning manually.
Or implement your own text rendering class (quite a bit of effort), which can handle such cases.