Hello dear community. I have a problem which i tried to solve. I want define an area where sf::Text should be drawn with a constant size of the font, methods i've tried out:
count each character with a size of the font, when limit is reached insert newline "\n" isn't working because each character has diffirent size.
Draw each character with the font and then read the property width, very perfomance heavy and bad solvage, because each character in the line must be compared and add to the width at the line lenght, and this method isnt ready yet.
Well, maybe somebody knows a better method to do so.
sorry for bad english also