soimy / msdf-bmfont-xml

Generate BMFont texture and spec XML using msdfgen

Home Page:https://soimy.github.io/msdf-bmfont-xml/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Font data may write before chars parsed

rzer opened this issue · comments

fontFile.data = utils.stringify(fontData, outputType);
may happens before
const asyncTextures = await Promise.all(textures);
So chars data may be empty.

It's happens for me when i try to reuse texture for another font. My solution is to move first line after second.

Thanks for reporting! Just in time🙏
I'm looking for the missing chars data right now.