Automattic / Automattic/node-canvas

Text rendered with wrong font family

Open
#899 8 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

The text is rendered with the default sans-serif font family instead with the font defined with `ctx.font = "12px 'Marker SD'";`

The issue appears since I upgraded to canvas 1.6.5. It works correctly with canvas version 1.6.4. Currently, I went back to version 1.6.4 as a workaround.

My environment
* Version of node-canvas: 1.6.5
* Environment: node 6.10.1 on Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-70-generic x86_64)

EDIT:
Maybe the same issue #868

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.