Skip to content

Font Encoding or Secondary font #266

Closed
@rcyrus

Description

@rcyrus

Greetings. Thank you for making node-canvas as awesome as it is!

I'm using node-canvas to rasterize content that I had previously created in a web browser.
Almost everything works great, the only exception is non-standard text with custom fontFace.

'normal' text works fine but when I try something extended I get a rectangle instead of the symbol.
Examples:
Text on my browser.
browser

Same text rendered from node-canvas.
node-canvas

The font in question is Quattrocentro.

Quattrocentro does not have that symbol but I was hoping it would fallback to a secondary font to fill in like a browser would.

Is there a way for node-canvas to do this or am I SOL when it comes to extended characters?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions