3 ms·
That don't work for font that have bounding box disconnected to visual. Like the article just mentioned. Thus you need canvas if you absolutely need to figure
by mmis1000 3y ago
That don't work for font that have bounding box disconnected to visual. Like the article just mentioned.
Thus you need canvas if you absolutely need to figure out how bad is the bounding box of given font. Because it's the only way to get pixels in js.