Hi all!
I was just wondering if there is a way in PHP to estimate the offSetWidth a text element will have when rendered.
Nothing too accurate, maybe a function that receives a font, font size, and some text and can estimate the size in pixels the word would have client-side.
I was just wondering if there is a way in PHP to estimate the offSetWidth a text element will have when rendered.
Nothing too accurate, maybe a function that receives a font, font size, and some text and can estimate the size in pixels the word would have client-side.