Jump to content



- - - - -

BMFont disable hinting?

  • You cannot reply to this topic
3 replies to this topic

#1 Jonathan2   Members   -  Reputation: 100

Like
0Likes
Like

Posted 07 January 2012 - 09:08 AM

Is there a way to disable hinting? The font I am trying to render looks better without hinting:

Posted Image

Ad:

#2 Andreas Jonsson   Moderators   -  Reputation: 1261

Like
0Likes
Like

Posted 07 January 2012 - 01:56 PM

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

#3 Jonathan2   Members   -  Reputation: 100

Like
0Likes
Like

Posted 07 January 2012 - 02:48 PM

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

#4 Andreas Jonsson   Moderators   -  Reputation: 1261

Like
0Likes
Like

Posted 20 January 2012 - 03:43 PM

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






We are working on generating results for this topic
PARTNERS