Automattic / Automattic/node-canvas
Impact font not loaded on macos catalina
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
## Issue
I execute the sample text.js and the text in the rendered image didn't look like Impact font.

## Steps to Reproduce
In shell
```
cd
mkdir test-canvas
cd test-canvas
curl https://raw.githubusercontent.com/Automattic/node-canvas/master/examples/text.js > text.js
```
Edit text file to replace `var Canvas = require('..')` by `var Canvas = require('canvas')`
```
npm install canvas
node text.js
```
## Your Environment
* Version of node-canvas: canvas@2.6.1
* Environment : node 12.14.1, macOS 10.15.2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with examples/text.js and reproduce the reported output using canvas@2.6.1 on Node 12.14.1 and macOS 10.15.2. Compare the rendered sample with the expected Impact font, then verify that the sample renders Impact correctly after the issue is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100