You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to read the _table object that includes the fontFamily and fontSubfamily and some other information, the _table object is empty until I write this line const obtain_tableObject = font.familyName , it triggers like a function and then I can see the _table object is full with data
constfontBuffer=awaitParse.Cloud.httpRequest({url: fontUrl,followRedirects: true}).then(response=>response.buffer);constfont=fontkit.create(fontBuffer);constobtain_tableObject=font.familyName;// WARNING: This line is necessary to be, otherwise "_table" will be emptyletfontFamily=font._tables.name.records.fontFamily.enletfontSubfamily=font._tables.name.records.fontSubfamily.en
The text was updated successfully, but these errors were encountered:
When I try to read the _table object that includes the fontFamily and fontSubfamily and some other information, the _table object is empty until I write this line
const obtain_tableObject = font.familyName
, it triggers like a function and then I can see the _table object is full with dataThe text was updated successfully, but these errors were encountered: