Advertisement

BMFont disable hinting?

Started by January 07, 2012 03:08 PM
2 comments, last by WitchLord 13 years, 1 month ago
Is there a way to disable hinting? The font I am trying to render looks better without hinting:

problemzm.png
No, unfortunately not.

I'll investigate if it is something that can be easily added, but I'm not sure if GDI even offers that possibility.

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
I tried to use GDI++ but the output of BMFont doesnt appear to be affected

edit: I was able to get around this by editing the .ttf for the font and removing all hints
I had to implement a different way of rasterizing the glyphs due to a bug in GDI (Getting the bitmap from GetGlyphOutline is not reliable when font has glyphs that go above or below cell height).

In this alternative I've implemented the option to turn off TrueType hinting.

Please give the updated 1.12a beta on the site a try and let me know if there are any problems.

Regards,
Andreas

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

This topic is closed to new replies.

Advertisement