Loading request...
Implement support for variable fonts (e.g., `wght` axis) within `node-canvas`, specifically how they can be registered using `Canvas.registerFont`.
## 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