I was trying to make a font from scratch. I always admired Consolas and I wanted a clean style similar to it.

The problem is that my font doesn't scale as well as Consolas. This is an example of my font on Programmer's Notepad at a high scale. I only did the # glyph

enter image description here

the two characters are only scaled by 1pt in the application but they render completely different. As you can clearly see the upper horizontal line is shrinked when the size lowers while the bottom one is enlarged.

Consolas doesn't have this problem, here it is Consolas at the same two sizes

enter image description here

Where am I getting wrong?

  • 3
    Consolas has good hinting.
    – joojaa
    Sep 1, 2015 at 10:08
  • Though this is not a question of good hinting vs. bad hinting but only of minimal hinting vs. no hinting whatsoever.
    – Wrzlprmft
    Sep 1, 2015 at 11:24
  • I'm a newbie with font designing so TIL about font hinting. Make it an answer and I'll accept it. Thanks
    – Dean
    Sep 1, 2015 at 12:33
  • @Wrzlprmft Good hinting can ve minimal hinting. No hinting is obviouslh nearly allways bad hinting on windows machines.
    – joojaa
    Sep 1, 2015 at 12:53

1 Answer 1


The difference is that Consolas has hinting and your font does not. Pure vector graphics do not scale all too well in small size brackets (sic). small lines may become smeared across two pixels for no good reasons. To combat this scaling problem fonts implement a technique called hinting

Essentially, if we simplify things a bit, hinting is a specially designed font variant for given size. Offcourse technically that is a bit more complicated than this.

Most font programs have decent autohinting tools that you can use as a basis for manual edits. Mainly auto hinting strive to keep horisontal and vertical lines suitably thick and uniform. This in most cases it usually sufficent.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.