Using the package node-canvas
, I need to render a username - one that can be rather large. I need to ensure that the text can dynamically scale the size of it to fit into a pre-defined image, so that the name is never cut off, it just gets smaller so more characters can be rendered. I have considered using jimp and sharp, but couldn't find the optimal outcome.
Thanks.