Questions tagged [webfont-loader]

WebFont Loader is a JavaScript library developed by Google and Typekit to give developers more control over how custom fonts are displayed on their webpages.

WebFont Loader is a JavaScript library first released in May of 2010 as a collaboration by Google and Typekit, in conjunction with Google's Font API.

Basically put, WebFont Loader gives web developers control over how different web browsers will handle custom fonts:

WebFont Loader addresses one of these difficulties: different browsers treat the download of web fonts differently. For example, Firefox will initially render a website’s text in the site’s fallback font until the web font is downloaded, and then the text will be re-rendered and re-flowed using the downloaded web font. Chrome and Safari won’t display the text until the web font is fully downloaded, and Internet Explorer sometimes won’t render any content at all until the web font is available.

Typical StackOverflow questions involving WebFont may include initial setup and inclusion of the library, possible methods of customization, and troubleshooting any errors or unexpected results.

WebFont Loader Developer Page

Google Code Blog Post

58 questions
16
votes
2 answers

Does Web Font Loader not cache the fonts?

Just wanted to test the ability of the Web Font Loader and surprisingly I have discovered that when I need to load the same font in another page then the loader performs new download instead of using a cached version of the font. Is this normal? If…
eldi
  • 1,219
  • 11
  • 19
12
votes
2 answers

phantomjs + web fonts + font loader

I'm running phantomjs within a node.js environment, and it's going well. At the moment I'm just using local fonts, but want to get google web fonts working with phantomjs. There are various conflicting and confusing reports out there about whether…
drmrbrewer
  • 8,355
  • 11
  • 60
  • 138
9
votes
3 answers

Dynamically Load fonts

I need around 150 fonts for my project. Loading all the fonts initially increases the page load time. I tried googling but could not find an answer. Scenario: User will select a font option from