Can I check if a platform supports the FontFace API as below?
if(window.FontFace || window.webkitFontFace) {
//...
}
Or should not I check for the existence of "window.webkitFontFace"?
Note: I am wondering if it can support Javascript's FontFace API and not CSS's @font-face, although the FontFace API uses the CSS @font-face.