have you resized your sf::Text object?
can you show us a piece of code and your font? i'd like to test it.
The font is based on this font ,http://avsim-bg.org/others/Karben%20205%20Mono%20Medium.otf (http://avsim-bg.org/others/Karben%20205%20Mono%20Medium.otf) but I can't give you actual code do to copyright.
Here is the code snippet
sf::Font font;
font.loadFromFile("res/font.ttf");
sf::Text text("TEST 1234000 WERTY",font);
text.setFont(font);
text.setCharacterSize(13) ;
text.setColor(sf::Color::White);
text.setPosition(20,20);
ttl2D->draw(text);
BTW using this
int give_letter_size(char &letter, sf::Font &font, int font_size)
{
return font.getGlyph(int(letter), font_size, false).advance;
}
for the same text I get 26. Is this pixels or some value I need to convert to pixels?
Sorry
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Window::setSize(class sf::Vector2<unsigned int>)" (__imp_?setSize@Window@sf@@QAEXV?$Vector2@I@2@@Z) referenced in function "public: void __thiscall HMI_SFML::Resize(float,float)" (?Resize@HMI_SFML@@QAEXMM@Z) HMI_SFML.obj