3 ms·
> and the number of rendered grapheme clusters This is also rarely useful unless you are working with a monospace font where all grapheme clusters have the sam
by account42 5y ago
> and the number of rendered grapheme clusters
This is also rarely useful unless you are working with a monospace font where all grapheme clusters have the same width, which is probably none if you support double-width characters. More likely what you are interested in is the display length with a particular font or column count with a monospace font.