This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis
Jim Nielsen shared how to detect Apple’s “New York” font face, and while reading the post, I realized that I'd forgotten about document
. 🙈
The CSS Font Loading API enables you to access or load fonts via JavaScript. It's good stuff!
And if you want to test if a browser supports a font, the check
method's your friend!
document.fonts.check('12px ui-serif');
Reply to Stefan
This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

Stefan Judis | Sciencx (2022-09-17T22:00:00+00:00) How to detect if a font is supported (#snippet). Retrieved from https://www.scien.cx/2022/09/17/how-to-detect-if-a-font-is-supported-snippet/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.