Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Mikael on June 10, 2014, 01:34:32 AM

Title: Manual width for bitmap fonts
Post by: Mikael on June 10, 2014, 01:34:32 AM
How do I manually manually specify width for each character in a bitmap font? I don't get ideal results using auto width.

Most characters work fine with auto width however, so the perfect thing would be if it was possible to only specify the width manually for some characters.
Title: Re: Manual width for bitmap fonts
Post by: redfox on August 08, 2014, 02:21:45 PM
Are your bitmap font letters being cropped before the character? If so check the placement of the character against a grid setup to match that of the font’s height and width.

If you need extra space after a character, try adding almost transparent pixels after a character on your font to extend spacing using auto width, but swap from using a .BMP to a .PNG file with transparency.