Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
custom text, the kerning is always zero
Print
Pages: [
1
]
Author
Topic: custom text, the kerning is always zero (Read 1199 times)
0 Members and 1 Guest are viewing this topic.
andrewkoro105
Newbie
Posts: 5
custom text, the kerning is always zero
«
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
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
Re: custom text, the kerning is always zero
«
Reply #1 on:
January 23, 2023, 07:18:30 am »
Do you use a monospace font?
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
custom text, the kerning is always zero
anything