Automattic / Automattic/node-canvas
Variable font support
Open
Feature
Text & Fonts
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
## Issue or Feature
How can I specify variable fonts using `Canvas.registerFont`? Pango appears to support variable fonts as of version 1.3 but I can’t find any reference to variable font support in `registerFont`, which seems to require a specific weight.
Does `node-canvas` support variable fonts (on a `wght` axis or otherwise)? If so, how should variable fonts be registered? If not, what would ned to be done to enable support?
## Your Environment
* Version of node-canvas (output of `npm list canvas` or `yarn list canvas`): canvas@2.9.3
* macOS 12.4
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.