Automattic / Automattic/node-canvas

It should be possible to use the same font rendering backend between OSes

Open
#2,270 3 comments 2 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

If you try to use the library for unit testing, it generates slightly different text between OSs. It would be great to be able to use this library to generate images for use in testing where consistency is important.

## Steps to Reproduce
1. Render some text using a font like Noto Sans or Roboto on Mac OS and output it to a PNG.
2. Render the same text using the same font using Ubuntu and output it to a PNG.
3. Notice the text is rendered differently.

Screenshot 2023-07-14 at 15 34 43

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.