Skip to content

draw unicode failed #193

@salami162

Description

@salami162
var output = String.fromCharCode(parseInt('2714', 16));
console.log('output string = ', output);

ctx.font = 'normal 40px Impact, serif';
ctx.fillStyle = '#000';
ctx.fillText(output, 50, 100);

This returns me an empty image. I am wondering if node-canvas supports unicode drawing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions