Automattic / Automattic/node-canvas

Cannot load fonts

Open
#2,311 0 comments 1 reaction 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

## Issue or Feature
```
- (process:11240): Pango-WARNING **: 12:51:49.819: couldn't load font "Roadgeek 2005 Mittelschrift 36px", falling back to "Sans 36px", expect ugly output.
```

## Steps to Reproduce

```js
//i have loaded the font and then this:
ctx.font = "bold 36px 'Roadgeek2005Mittelschrift'";
```

## Your Environment
* Version of node-canvas: 2.11.2
* Environment (e.g. node 4.2.0 on Mac OS X 10.8):
```
Node v20.10
Microsoft Azure RDP (Windows 10 Pro x64 , 16 GB RAM)

```

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.