Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

freetype2

ericfreese295MIT2.1.0TypeScript support: included

FreeType bindings for Node.js.

freetype, font, webfont, parse, sfnt, ttf, otf, woff, truetype, opentype

readme

node-freetype2

GitHub Workflow Status npm npm npm

FreeType bindings for Nodejs. This library is written to be as close to the original api as possible, but in a safer and more node-like manner.

FreeType is a freely available software library to render fonts. http://www.freetype.org/

Install

npm install freetype2

Examples

See the example folder to learn how to use node-freetype2.

API

See the types to learn the API of node-freetype2 and how they relate to original FreeType.

For more information, see the original FreeType documentation.