SFML community forums

Help => Graphics => Topic started by: andrewkoro105 on January 21, 2023, 01:42:07 pm

Title: custom text, the kerning is always zero
Post by: andrewkoro105 on January 21, 2023, 01:42:07 pm
I write my own implementation of the text and it always returns 0 when I request a kerning.The query in line 118 of https://github.com/Hedgehogo/Interface_Engine/blob/master/lib/ui/iObject/iUnscalable/interactive/text/character/simple/character.cpp this is a letter class, it has a getKerning function in which passes the following letter
Title: Re: custom text, the kerning is always zero
Post by: eXpl0it3r on January 23, 2023, 07:18:30 am
Do you use a monospace font?