Skip to content
This repository was archived by the owner on Jun 4, 2022. It is now read-only.
This repository was archived by the owner on Jun 4, 2022. It is now read-only.

Node.js bindings of otfcc? #54

Description

@chengluyu

Any idea to make otfcc a Node.js binding? For example:

const otfcc = require('otfcc');
const data = otfcc.dumpFromFile('font.ttf');
// do something
otfcc.buildFromJSON(data, { optimizeLevel: 3, ignoreHints: true });

Currently I'm using child_process to manually invoke otfcc, which is really a pain.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions