Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Output bmfont format #5

Open
htdag opened this issue Aug 16, 2020 · 5 comments
Open

Feature Request: Output bmfont format #5

htdag opened this issue Aug 16, 2020 · 5 comments

Comments

@htdag
Copy link

htdag commented Aug 16, 2020

Hi,

Export fnt (txt) or json with bmfont compatible format.

Is it doable?

Thanks in advance.

@Chlumsky
Copy link
Owner

Yes, it is doable, I actually wanted to do it but didn't have time.

@miltoncandelero
Copy link

Similar to this idea I was trying to parse the outputted json directly however I found that glyph.advance is in some kind of arcane ratio and not in pixels.

@Chlumsky are there any docs on how to make sense of the numbers exported in the glyph of the json export?
image

@Chlumsky
Copy link
Owner

Multiply it by the "size" entry and you got it in pixels. Very arcane indeed.

@miltoncandelero
Copy link

That makes sense, sorry that I came up a bit rough I had fought that for hours and I was frustrated.

You made a great tool! ✨

@pha3z
Copy link

pha3z commented Feb 6, 2023

@miltoncandelero

Did you complete a parser that converts the json format into bmfont format?

I would also like to work in bmfont.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants