Scale a Bitmapfont in LibGDX

Pedro Romano Barbosa picture Pedro Romano Barbosa · Apr 28, 2015 · Viewed 21.8k times · Source

How can I scale a Bitmapfont object in LibGDX? It seems the method setScale is no longer available.

Answer

Tenfour04 picture Tenfour04 · Apr 28, 2015

Use bitmapFont.getData().setScale(float x, float y).