SFML community forums

Help => Graphics => Topic started by: Chiggy_Playz on April 15, 2019, 07:50:14 pm

Title: Is there a way to make the underline thick under the string?
Post by: Chiggy_Playz on April 15, 2019, 07:50:14 pm
I have a custom font and i have set a huge size ( 160) and the underline i get is real thin. so is there a way?
Title: Re: Is there a way to make the underline thick under the string?
Post by: FRex on April 16, 2019, 09:17:35 am
They are taken from sf::Font (https://github.com/SFML/SFML/blob/master/src/SFML/Graphics/Text.cpp#L473) via getUnderlineThickness (https://github.com/SFML/SFML/blob/master/src/SFML/Graphics/Font.cpp#L439) so I guess the answer is technically no.
Title: Re: Is there a way to make the underline thick under the string?
Post by: Laurent on April 16, 2019, 09:34:32 am
If you draw text using the same font at the same size in another program (text or image editor), is the underline thickness different?