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

Support for glyph designer fonts #36

Open
Owlzy opened this issue Jun 5, 2020 · 0 comments
Open

Support for glyph designer fonts #36

Owlzy opened this issue Jun 5, 2020 · 0 comments

Comments

@Owlzy
Copy link

Owlzy commented Jun 5, 2020

Hi there,

Does this library support fonts exported from glyph designer?

http://www.71squared.com/glyphdesigner

It uses the same .fnt format as BMFont, and in other engines we were able to use to two interchangeably. However when I try the font file from samples, it works fine, but using a font from glyph designer is throwing a null exception error in LoadXml(reader).

System.NullReferenceException: 'Object reference not set to an instance of an object.'

SpriteFontPlus.dll!Cyotek.Drawing.BitmapFont.BitmapFont.LoadXml(System.IO.TextReader reader)

Manually comparing the XML I don't see much difference, there are just a few attributes missing, such as color. But with the lib compiled I can't see exactly whats causing the error. I can provide the font file if needed?

Thanks

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

1 participant