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

Actually, checking if a font is available does not require canvas (you can simply inject a piece of text into the page with a specific font stack set and check its width). Rather, what canvas is used for is to obtain the sub-pixel anti-aliasing of a given piece of text, which is different between browsers and OS even when the same font is present.


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

Search: