Skip to content

Try to render fonts on canvas correctly #1

Description

@Hikariii

See mozilla/pdf.js#7929.
Embedded fonts could not be rendered through node-canvas.

Now Canvas has https://github.com/Automattic/node-canvas#registerfont-for-bundled-fonts.
Try to use a pdf.js hook to register a font with Canvas and render it.

If this is implemented PDFJS.disableFontFace=true; can be set to false.

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