Google's Web Fonts API offers a way to define callback functions to be executed if a font has finished loading, or couldn't be loaded etc. Is there a way to achieve something similar using CSS3 web fonts (@font-face)?...
When using the FontFace API (not @fontface) is there a convenient way to pass multiple different font formats, like with providing multiple sources in @fontface?  Or alternatively, is there a convenient way to check what formats the browser using the...
I am trying to measure the width of a specific character from a webfont. The active event provided by Google's Webfont Loader fires slightly too early and the measurement it made on the default font.  A stripped down version of the script that I...
If a character is entered in a text field and the currently applied font does not support that character, a backup font is used for that character. Is it possible to tell via Javascript or some other means when this is happening? Trying to create a s...
I need to trigger an action as soon as the fonts in my page switch to google's. (I'm using the css mode) Is there any DOM Event fired at the font switch?...
I'm able to embed and style a font-face in a webpage to view on Android and iPhone, and it works fine. However, it will not render on Windows Phone 7.5.   I've tried embedding the font into the CSS:  @font-face {     font-family:'MyFont&#...
I've noticed some examples that shows how to load a font from the current website being the base path for loading the font as:  Browser.document.fonts.load ("1em '" + font + "'").then (function (_) {     promise.complete (...
I am having a problem in IE10 with a call to a JavaScript function that is supposed to occur after custom fonts are loaded. In IE9 and IE8 wrapping the call inside $(window).load had prevented the call from executing before the fonts were loaded. How...
What I've got is a font-family CSS declaration to use a stylised web font first, and fall back to system fonts. This works fine, but my web font is huge ~15MB (Chinese font) and even hosting this on CDN it takes over 5s to load.  The problem with...
So I am using gatsby-plugin-preload-fonts in my project. I let it run through my localhost:8000 via pupeteer and create the font-preload-cache.json. However, now, when I deploy this to netlify I get the following error:  warning  / error  Insecure mi...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.