achimdoebler / UGUI

µGUI - Open Source GUI module for embedded systems
Other
1.2k stars 415 forks source link

Font kerning support #33

Closed jonasschnelli closed 6 years ago

jonasschnelli commented 6 years ago

Hi

Am I right that UG does not support font kerning? The thing where an I is smaller then an O. Does every letter uses the same width?

Is there some pre-work since I'm very likely going to implement that.

jarekkt commented 6 years ago

Well, check my tools to convert TTF fonts to 8 bit anti alliased fonts. And different letters use different width - at least that is what I can see from converter output. But as I know full font kerning is not supported ( if you think of it as support for combinations like "AV" )

jonasschnelli commented 6 years ago

Thanks! Are you referring to https://github.com/AriZuu/ttf2ugui? I'll dive deeper and report more precise.

jarekkt commented 6 years ago

Yes, that is the case

jonasschnelli commented 6 years ago

I concerted a font and the font width was perfectly identical to the mockup done on the PC. Thanks. Closing.