You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using ttf2mesh for rendering text in my application, and I have encountered a challenge with the text positioning due to the lack of kerning support. Kerning is crucial for high-quality text rendering as it adjusts the space between individual character pairs to improve the visual appearance and perceived uniformity of the type.
While it is possible to render text without kerning by using glyph advances and bearings, the result is often less visually pleasing, particularly for certain character combinations that would typically have a kerning adjustment in professional typesetting.
As of now, the library does not seem to expose a way to access the kerning information from the original TrueType or OpenType font file. It would be extremely beneficial if ttf2mesh could parse and expose the kerning information from the font's "kern" table, allowing users to adjust the positioning of their text more accurately.
If this feature is not feasible, could you provide more detailed documentation or examples on how to best position text when using ttf2mesh? This would be incredibly helpful for users to get the best possible results with your library.
Thank you for your time and for the work you've put into ttf2mesh.
Best regards,
Zeun
The text was updated successfully, but these errors were encountered:
Hello.
You are right, currently kerning is not supported by the library. This function may be added in a future version of the library.
Thanks for the good feedback and constructive suggestion!
In this thread, I'll let you know when kerning will be added.
Hello,
I have been using ttf2mesh for rendering text in my application, and I have encountered a challenge with the text positioning due to the lack of kerning support. Kerning is crucial for high-quality text rendering as it adjusts the space between individual character pairs to improve the visual appearance and perceived uniformity of the type.
While it is possible to render text without kerning by using glyph advances and bearings, the result is often less visually pleasing, particularly for certain character combinations that would typically have a kerning adjustment in professional typesetting.
As of now, the library does not seem to expose a way to access the kerning information from the original TrueType or OpenType font file. It would be extremely beneficial if ttf2mesh could parse and expose the kerning information from the font's "kern" table, allowing users to adjust the positioning of their text more accurately.
If this feature is not feasible, could you provide more detailed documentation or examples on how to best position text when using ttf2mesh? This would be incredibly helpful for users to get the best possible results with your library.
Thank you for your time and for the work you've put into ttf2mesh.
Best regards,
Zeun
The text was updated successfully, but these errors were encountered: