6
\$\begingroup\$

I am currently making a game, (obviously), with the LIBGDX Java Library. I have already made a font, (It's a PNG file, not a TTF or RTF), that looks something like this:

(It's a mockup, by the way.)

Hello World!

I've tried programs like Shoebox to create my font automagically, but it doesn't recognize my font.

Can someone explain how I can just make my own .FNT config file?

Thanks in advance!

Plug ❤

\$\endgroup\$

2 Answers 2

2
\$\begingroup\$

The simplest way is probably just to redraw it maually, using a simple .fon editor like Fony.

It will probably take less than a hour.

\$\endgroup\$
1
\$\begingroup\$

you can use Hiero for generating the .FNT file using your .ttf font file. Go through the link and download it.

https://github.com/libgdx/libgdx/wiki/Hiero

\$\endgroup\$
1
  • \$\begingroup\$ I'm sorry, I should've made it more clear in the post. The font I'm using is a PNG Image, not a TTF or RTF. I've used Heiro before, but, as you said, it only can only convert vector fonts to bitmap fonts. Thanks for trying, though! \$\endgroup\$
    – Plug
    Commented Apr 26, 2017 at 11:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .