35 ms·
You can throw a big list at document.fonts.check() and it will tell you if it's on that system. For instance, try: console.log(document.fonts.check(
by kube-system 4y ago
You can throw a big list at
document.fonts.check()
and it will tell you if it's on that system. For instance, try:
console.log(document.fonts.check("12pt Apple Color Emoji"));
- commandlinefan 4y agoAh... so you can tell if a specific font is loaded, but not list which fonts there are. That makes sense, thanks.