Skip to main content
edited title
Link
Carly
  • 11
  • 2

Why is the a Hiero font not coordinated so that it fitsto fit neatly in the display window?

Source Link
Carly
  • 11
  • 2

Why is the a Hiero font not coordinated so that it fits neatly in the display window?

I imported a font with Hiero and I draw the font like:

font.draw(batch, "1", 0, 48);

This is the resultant image:

enter image description here

So the font it moved up to hit the bottom perfectly, but it doesn't touch the left side perfectly. Why does this happen? Is there a way I can fix this? It seems like if I set the x coordinate to -3 it works, but this seems somewhat arbitrary. Any ideas?