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

>3. Length in terms of visible space on screen is the number of pixels wide and tall when rendered in a given font.

Grasping at straws eh?



Nah this came out of personal experience working at a company where a designer wanted to limit a block of text to a certain “length” but in reality they wanted as many characters as would fit in a box without scrolling, scaling or wrapping. This has to be calculated by bounding box.




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

Search: