Advertisement

Apply kerning

Started by February 27, 2019 11:06 AM
2 comments, last by Antie 5 years, 11 months ago

Hi.

I've used Bitmap font generator to create my font but because of render engine specific I have to add a lot of kerning pairs (~4000 summary). Obviously that number is too big and may cause performance issues, so my question, - is there some way to "apply" kerning right to bitmap itself by moving glyphs in some specific way?  

You shouldn't need to move the glyphs in the bitmap.

If you want to make all glyphs be rendered more closely together, then you can simply update the xadvance attribute for every glyph in the font descriptor file.

You can easily do that with a script.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

That's true, thank you!

This topic is closed to new replies.

Advertisement