Open mba858 opened 8 years ago
Hi, first really big applause for this amazing work. Actually I need to ask, can we calculate the height and width for given text before drawing? Mean suppose we got dynamic text, can we get the width and height relative to text?
@mba858 Try imageftbbox
A more precise lib to measure text size/position https://github.com/unlocomqx/text-measure
Related #36
Hi, first really big applause for this amazing work. Actually I need to ask, can we calculate the height and width for given text before drawing? Mean suppose we got dynamic text, can we get the width and height relative to text?