Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: