consider
<div>manmadhan</div>
I need to know whether there is any possible way to find the width of each character in pixels based on the font , as i am using react app i need only javascript
the output should be like m=12px, n=24 pixel something like that I have tried to separate the text and try using the get bounds but empty space has some problem , any suggestion ?
i have already tried the following method , but it is giving me width of whole string rather than width of individual characters within the string Calculate text width with JavaScript