Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Manual width for bitmap fonts  (Read 3896 times)

0 Members and 1 Guest are viewing this topic.

Mikael

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 127
    • View Profile
    • MDNA Games
Manual width for bitmap fonts
« 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.
Logged

redfox

  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 122
    • View Profile
Re: Manual width for bitmap fonts
« Reply #1 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.
Logged
 

Page created in 0.03 seconds with 19 queries.