Font Distance Field Shaders

Font Distance Field Shaders
0.0 0

#1

What is the fastest way to draw many labels on the screen? And I need scale them in differenct cases.
I try use my example to draw
TTFFont,
TTFFont with Distance Field,
BitmapmFont and
BitmapmFont with Distance Field

You can run my example from https://github.com/akk0rd87/Cocos2dFontShaders
and press “+” and “-” and look on the label’s scale change behavior.

TTFFont with Distance Field it looks fuzzy. And BitmapmFont with Distance Field looks not like a font.

BItmap Font files was created with Hiero tool as distance field font.

My questions are:

  1. What is the fastest way to draw many labels on the screen? And I need scale them in differenct cases.
  2. It is possible use bitmap font with distance field?
  3. What I’m doing wrong in this example?