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

it's where you need to know the wrap points of some text given a width of the container. since Canvas does not offer text wrapping, that is one use case, because you have to wrap manually.

my use case is determining the height of a table cell given a specific column width and text that needs to be rendered inside.



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

Search: