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

Thanks! My idea was to just render a Lorem Ipsum paragraph and compare the calculated width-height across a know list of default fonts. Of course it wouldn't work with fixed width fonts, for that I'd need a canvas bitmap comparison.


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

Search: