Automattic / Automattic/node-canvas
font family in svg not applied
Open
SVG
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
```
```
const svgData = `data:image/svg+xml;base64,${Buffer.from(svgString).toString('base64')}`;
const img = await loadImage(svgData);
ctx.drawImage(img, 0, 0, canvas.width, canvas.height);
It does draw text on canvas, but font family is not applied.
Anybody experiencing the same issue?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.