Automattic / Automattic/node-canvas

Fonts don't render at all macOS Mojave

Open
#1,451 1 comment 0 reactions 0 assignees View on GitHub
Text & Fonts
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

I am beyond confused & I'm hoping someone here can point me in the right direction. No matter what I've tried, I cannot get fonts to render in Node Canvas. It doesn't matter what font I use, none will render. It always produces the default font in the image. The same code works on Ubuntu & another friend's Mac. I have installed the dependencies that Canvas requires, several times, to no avail. Not to mention, the friend who I asked to see if he could reproduce the issue was able to simply install via NPM & not even bother with additional dependencies. For some reason, I'm not able to produce the fonts on my Mac. I'm running macOS Mojave version 10.4.5. The friend I asked to try to reproduce the issue is on macOS Catalina beta, but he reported he was able to produce fonts just fine on Mojave, before he upgraded. I am completely out of ideas here. I recently reset my Mac too, so this is about as a clean slate as you can get. I really hope someone can point me in the right direction, because this module would be perfect if I could get the fonts to render. I'm using Canvas 2.5.0.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.