Automattic / Automattic/node-canvas

Custom fonts not rendering in Arch based linux distros

Open
#2,058 0 comments 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

NOTE: It works fine with debian based distros. Are there missing dependencies ?

## Version
2.9.1

## Test Case
- [ ] [Browser Issue Template](https://jsfiddle.net/Lcp2h3nv/)
- [x] [Node Issue Template](https://codesandbox.io/s/fabric-custom-font-9gcufi)

## Information about environment
Nodejs or browser? NodeJS
Which browsers? -

## Steps To Reproduce

1. Download sample project: `git clone https://github.com/xorb/fabric-custom-font`
2. Install dependencies; `npm install`
3. Run project: `npm run node-canvas`

Error Message & Stack Trace

## Expected Behavior

It should render custom fonts

## Actual Behavior

Rendering system default font

![alt text](https://i.ibb.co/mDW4c1Y/customfont.png "image Title")

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.