Automattic / Automattic/node-canvas
RegisterFont not working well Unicode Text while deploy on Ubuntu Server.
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
## Issue
`registerFont` function is not working well with Unicode text while deployed on the Ubuntu Server.
### Environment
node -> v20.6.1
Ubuntu Version -> 22.0.4
canvas -> 2.11.2
Result

But It works well on a Mac M2 chip local machine
### Environment
node -> 20
Mac -> M2 Pro
canvas -> 2.11.2
Result
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the registerFont Unicode rendering difference on Ubuntu 22.04 with Node.js and canvas 2.11.2, then compare it with the reported macOS result. The issue names no source file or test; done would mean identifying the platform-dependent cause and demonstrating consistent Unicode text rendering with a focused regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, ubuntu
- Domain
- computer-graphics, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100