Open
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
oryarn list canvas
): [email protected] - macOS 12.4