Skip to content

provide an option to decouple fontSize & canvasSize #19

@jcppman

Description

@jcppman

Hi fellows,

First, thanks for this useful lib!

It would be very useful if an option like options.font.size or something is provided to use as font size while rendering text, as sometimes font-size and the actual dimensions of the rendered text on the canvas are quite different (and would be clipped if the actual size is bigger). please see the example here

so an optional option is really helpful as users can tweak it by themselve if meet such scenario.

I'd love to provide a PR if you like

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions