opentype.js icon indicating copy to clipboard operation
opentype.js copied to clipboard

Got lots of undefined and NaN in Glyph Inspector.

Open LvChengbin opened this issue 5 years ago • 1 comments

I got some undefined and NaN in Glyph Inspector like below, and the .otf file that generated by the examples/generate-font-node.js has the same issue.

name                               A
unicode                            0041
index                              1
xMin                               undefined
xMax                               undefined
yMin                               undefined
yMax                               undefined
advanceWidth                       NaN
leftSideBearing                    0

I set value for every property.

LvChengbin avatar Sep 16 '19 12:09 LvChengbin

If I understand it correctly the Glyph Inspector shows data from OpenType-Fonts using Truetype Outlines whereas the font-creation is writing a CFF-Table.

Confusing :)

fizfaz avatar Nov 12 '19 19:11 fizfaz