Automattic / Automattic/node-canvas
Canvas._registerFont failed to register the Source Han Sans CN Regular font
Open
Text & Fonts
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
function registerFont (src, fontFace) {
// TODO this doesn't need to be on Canvas; it should just be a static method
// of `bindings`.
return Canvas._registerFont(fs.realpathSync(src), fontFace)
}
// etc.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.