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
This occurs when the strings are in an encoding that is not natively supported by Node. If you install iconv-lite alongside fontkit, the strings will be decoded properly. The dependency is optional because it is rather large, especially for browser usage.
I tried to get name records of a TTF/TTC bundled with Mac, and found that some values are decoded as buffers, instead of as strings. For example:
The text was updated successfully, but these errors were encountered: