I am using @font-face and I hate that Firefox shows the default font, waits to load the @font-face font, then replaces it.  So the whole page flashes with the new font.  Webkit browsers just don't display the text until the font is loaded and i...
Is it possible to preload or otherwise cache @font-face fonts, most likely with javascript, before the page loads so you don't get that ugly jump when the page finally does load?...
I encounter this problem in the latest version of Chromium. After the creation of the first element using a font-family embedded via @font-face I am being handed wrong offsetXyz values. By the time the script is executed, the window.onload hook will...
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'm trying to use html2canvas.js (https://html2canvas.hertzen.com/) to take screenshots with JavaScript. However, I have a problem when the page contains SVG text elements.  As you can see on the screenshots below, the text element is duplicated...
So the basic workflow is this:   Asynchronous file upload of a font (this is already done). Get the URL (done). Change the font to the new URL.   I realize this needs to be done via font-face, but I can't seem to figure out how to access that via...
Consider that I have this CSS rule for an anchor tag:  font-family: Helvetica, Verdana, Calibri, Arial, sans-serif;   Of course by watching at what is rendered in the browser, I can judge which of these fonts has already been used (applied) to format...
What is the recommended way to add a @font-face stylesheet rule through a chrome-extension?  The problem is that the url of the font embed is located from within the extension, so I must do it in javascript in order to use chrome.extension.getURL.  I...
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&#...
Is there a way of enumerating all the @font-face URLs (web font URLs) of a given HTML page using JavaScript or JQuery?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.