Automattic / Automattic/node-canvas

Any emoji support?

Open
#760 76 comments 24 reactions 0 assignees View on GitHub
Help wanted Text & Fonts Upstream Issue
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

The following code gives me the follwing image output:

```
var Canvas = require('canvas');
var Image = Canvas.Image;
var canvas = new Canvas(1200, 600);
var ctx = canvas.getContext('2d');

ctx.font = '80px HelveticaNeue';
ctx.fillText('Start Here emoji 🍔', 50, 100);

res.setHeader('Content-Type', 'image/png');
canvas.pngStream().pipe(res);
```

Not rendering the emoji. Is this possible?

![tiltimage](https://cloud.githubusercontent.com/assets/126209/14992066/1bda3db0-1119-11e6-9d8a-032830b641e0.png)

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.