Automattic / Automattic/node-canvas

How do we enable custom fonts on Windows?

Open
#761 23 comments 0 reactions 0 assignees View on GitHub
Text & Fonts
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

I saw the example.js for custom fonts and tried to use it but it seems I dont have the canvas.font dependency. Im running the node-canvas installed using npm.

One of my friends said he looked through the build script and found out there is no support for FreeType on windows. Is it possible for me to use custom fonts by simply installing them on my Windows installation then specifying the font?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.