fontbuilder icon indicating copy to clipboard operation
fontbuilder copied to clipboard

Does this work with libgdx ?

Open xeoshow opened this issue 10 years ago • 4 comments

Hi,

Just would like to know if this works with libgdx ?

Thanks.

xeoshow avatar Oct 18 '15 02:10 xeoshow

Sure does, with a slight touch :)

Add padding=0,0,0,0 in the first line of the *.fnt file. I put it before the spacing, only because that's how BMFont does it. For example: info face="Sui Generis" size=10 bold=0 italic=0 smooth=1 padding=0,0,0,0 spacing=0,0

Use the default output settings: libgdxfont

Wulf avatar Dec 31 '15 11:12 Wulf

@Dillybob1992 I think you downloaded this version back from 2012 (I guess it didn't have a BMFont export factory defined).

Try cloning this repo and make it from source! I know there aren't any instructions in the README, but let me know if this works for you (you'll need qt and some c++ build tools installed):

$ git clone ...
$ cd fontbuilder
$ qmake
$ make

Source: NicoHood from the AUR.

You could potentially try looking into other methods listed in the LibGDX wiki.

Wulf avatar Dec 24 '17 11:12 Wulf