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

Update the docs reference for textureWidth/textureHeight

roipeker opened this issue · comments

When using in nodeJS, options.textureWidth/options.textureHeight doesn't work, looking at index.js seems the actual value is options.textureSize...
Maybe update index.js to have granular access to width/height, or README to reflect the correct prop name.

Update:
just realized .textureSize expected an array of [width,height], please update the README.

Thanks for the report! node module is less used and doc does not reflect new changes.

Fixed via 67cd028