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...
I am using the Google Webfont Loader to get my webfonts loaded with a callback and it is working fine.  Although, when a couple of components: Google +1 button, Twitter Search Widget and the Add This button is loaded, they add a new stylesheet to the...
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...
Is there any way to get list of weights for particular font in JavaScript?  I want to build selector like in Photoshop....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.