Open
Description
I admit I'm lost in my node dependencies, but I have some configuration where this program works correctly:
var fontkit = require('fontkit');
// open a font synchronously from arg
var font = 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?
Metadata
Metadata
Assignees
Labels
No labels
Activity