Skip to content

postscriptname null in some version of fontkit #336

Open
@alecjacobson

Description

@alecjacobson

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions