Skip to content

Missing fonts in lambda layer #9

@eranmit99

Description

@eranmit99

Hi,
I am using the prebuilt layer that was provided.
After exporting the canvas on the lambda all text is shown with squares, locally it works fine.
Seems like the lambda OS is missing fonts. did anyone encounter this ?

code example:

ctx.font = '30px Impact'; ctx.rotate(.1); ctx.fillText("Awesome!", 50, 100); canvas.toDataURL();

output:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions