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
I admit I'm lost in my node dependencies, but I have some configuration where this program works correctly:
varfontkit=require('fontkit');// open a font synchronously from argvarfont=fontkit.openSync('STRRETCH-SANS-FREE-dqme76.otf');console.log(font.postscriptName);
and outputs:
STRRETCHSANSFREERegular
But then in a different node installation directory this same program will just output:
null
I liked the behavior that I could reliably get the postscriptname from the font I loaded from file. Did this feature change?
The text was updated successfully, but these errors were encountered:
also, fwiw, both of my installs are supposedly using 2.0.2 so it's really weird that they're producing different behavior. Maybe there's an issue with dependencies?
If I downgrade to 1.9.0 I don't seem to have a problem. But already 2.0.0 produced null in one of the installations
I admit I'm lost in my node dependencies, but I have some configuration where this program works correctly:
and outputs:
But then in a different node installation directory this same program will just output:
I liked the behavior that I could reliably get the postscriptname from the font I loaded from file. Did this feature change?
The text was updated successfully, but these errors were encountered: