Sign in to follow this  
Arrrmand

Bitmap Font Generator inaccuracy?

Recommended Posts

Hello, I'm looking into using the Bitmap Font Generator for use in Nintendo DS development but i'm having some issues with the glyph sizes. With smaller font sizes (say 12 or 14 pixels without supersampling) the xoffset, yoffset and xadvance values seem to be off by 1 pixel in any random direction. For example all capital letters are 1 pixel lower than the other letters, these consistencies vary with the font type and font size. Is this a known issue? My suspicion is it's some sort of sub-pixel/windows-font-rendering/rounding error :P (i assume you're using GDI to render the glyphs and get their metrics). Thanks!

Share this post


Link to post
Share on other sites
Thanks, but we've used similar tools which do export the glyph sizes correctly (so it is possible) but i prefer AngleCode's because instead of simply drawing the gylphs into a grid it nicely arranges them to use the least amount of texture space.

Alot of non-serif fonts scale very nicely to those size ranges; check out Arial, Verdana or similar, it doesn't get any clearer/sharper than that.

Share this post


Link to post
Share on other sites
I've never noticed this before. Could you send me the configuration file for the font that have these offsets?

I'm currently working on version 1.10 and if possible I'll fix this problem as well for that version.

Also, what other programs have you used that doesn't have these problems?

Thanks,
Andreas

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this