Is there a way I can use an OTF file with libGDX.
The following throws an exception:
gameFont = new BitmapFont(Gdx.files.internal("data/font.otf"));
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Invalid padding.
This is the same error thrown if I were to try to use a non font file type as well. (i.e. .png .mp3 etc). I have been able to use .fnt files in the past. Is there anyway around this? Thanks.