06-20-2023, 06:09 AM
(This post was last modified: 06-20-2023, 06:09 AM by Alexandre Machado.)
There is no way to predict the size of the text when rendered in a browser using a specific font, if that's what you want.
The only way is effectively rendering the text on the browser side and retrieving the dimensions after applied the style, meaning that you first render it and then you find out the size.
The only way is effectively rendering the text on the browser side and retrieving the dimensions after applied the style, meaning that you first render it and then you find out the size.

