spacer

CSS3 @font-face browser support table 2012

It’s time to update the CSS3 @font-face browser sup­port table. It doc­u­ments spe­cific­ally how browsers act when either the whole font fam­ily is spe­cified (reg­u­lar, italic, bold, bold-italic & small-caps) or only the reg­u­lar ver­sion of the font is spe­cified. The test-case that this based on uses the ideal, easi­est (lazi­est) imple­ment­a­tion and can be found on its own page here.

This is a robust­ness test. What hap­pens if some font vari­ants don’t load? What if there’s only one vari­ant to begin with? Will inform­a­tion be lost? Those ques­tions can be answered with this test.

Here’s the res­ults of how browsers in 2012 render the test case, com­pared to the ref­er­ence ren­der­ing. Mobile browsers have been added too.

Can the browser pick up the style natively?

Firefox 14 Safari 5 Chrome 19 Opera 12 IE 10 cp
Normal (reg­u­lar) Yes Yes Yes Yes Yes
Italic Yes Yes Yes Yes Emulates
Bold Yes Yes Yes Yes Emulates
Bold-Italic Yes Yes Yes Yes Emulates
Small-Caps (reg­u­lar) Emulates Emulates Emulates Emulates Emulates
Small-Caps Italic Emulates Fallback to reg­u­lar Small-Caps Emulates Emulates [3] Emulates
Small-Caps Bold Emulates Fallback to reg­u­lar Small-Caps Emulates Emulates [3] Emulates
Small-Caps Bold-Italic Emulates Fallback to reg­u­lar Small-Caps Emulates Emulates [3] Emulates
Extras? Ligatures![1] - - Ligatures![1] Ligatures![1]

How are mobile browsers with nat­ive variants?

iOS 5.1.1 Opera Mobile 12 Google Nexus One (Android 2.1) Samsung Galaxy Tab (Android 2.2) HTC Evo 3D (Android 2.3)
Normal (reg­u­lar) Yes Yes Yes Yes Yes
Italic Yes Yes Yes Yes Yes
Bold Yes Yes Yes Yes Yes
Bold-Italic Yes Yes Yes Yes Yes
Small-Caps (reg­u­lar) Emulates Emulates Emulates Emulates Emulates
Small-Caps Italic Fallback to reg­u­lar Small-Caps Emulates Emulates Emulates Emulates
Small-Caps Bold Fallback to reg­u­lar Small-Caps Emulates Emulates Emulates Emulates
Small-Caps Bold-Italic Fallback to reg­u­lar Small-Caps Emulates Emulates Emulates Emulates

Conclusion: Many browsers (Chrome, Opera) have made tre­mend­ous pro­gress. Only Safari is still lack­ing in its imple­ment­a­tion, in the edge case where Small-Caps text has added emphasis. IE 10 goes the curi­ous route of emu­lat­ing all vari­ants and styles from the reg­u­lar version.

Can the browser emu­late from the reg­u­lar version?

Firefox 14 Safari 5 Chrome 19 Opera 12 IE 10 cp
Normal (Regular) (implied) (implied) (implied) (implied) (implied)
Italic Yes Fallback to regular-style Yes Yes Yes
Bold Yes Fallback to regular-style Yes Yes Yes
Bold-Italic Yes Fallback to regular-style Yes Yes Yes
Small-Caps (reg­u­lar) Yes Yes Yes Yes Yes
Small-Caps Italic Yes Fallback to reg­u­lar Small-Caps Yes Emulates [3] Yes
Small-Caps Bold Yes Fallback to reg­u­lar Small-Caps Yes Emulates [3] Yes
Small-Caps Bold-Italic Yes Fallback to reg­u­lar Small-Caps Yes Emulates [3] Yes
Extras? Ligatures![1+*] - - Ligatures![1+*] Ligatures![1+*]

Do mobile browsers emu­late properly?

iOS 5.1.1 Opera Mobile 12 Google Nexus One (Android 2.1) Samsung Galaxy Tab (Android 2.2) HTC Evo 3D (Android 2.3)
Normal (Regular) (implied) (implied) (implied) (implied) (implied)
Italic Fallback to regular-style Fallback to regular-style Yes Fallback to regular-style Fallback to reg­u­lar Small-Caps
Bold Fallback to regular-style Fallback to regular-style Yes Fallback to regular-style Fallback to reg­u­lar Small-Caps
Bold-Italic Fallback to regular-style Fallback to regular-style Yes Fallback to regular-style Fallback to reg­u­lar Small-Caps
Small-Caps (reg­u­lar) Yes Yes Yes Yes Yes
Small-Caps Italic Fallback to reg­u­lar Small-Caps Fallback to reg­u­lar Small-Caps Yes Fallback to reg­u­lar Small-Caps Fallback to reg­u­lar Small-Caps
Small-Caps Bold Fallback to reg­u­lar Small-Caps Fallback to reg­u­lar Small-Caps Yes Fallback to reg­u­lar Small-Caps Fallback to reg­u­lar Small-Caps
Small-Caps Bold-Italic Fallback to reg­u­lar Small-Caps Fallback to reg­u­lar Small-Caps Yes Fallback to reg­u­lar Small-Caps Fallback to reg­u­lar Small-Caps

Conclusion: Safari and most mobile browsers still fall back to reg­u­lar style. This means web developers can not use web fonts for body text if they have only one (reg­u­lar) vari­ant nat­ively avail­able to them.

The most up to date sup­port table, with pretty col­ours, can always be found on its own page along­side the test case. It also has more notes on lig­at­ures and small-caps support.

Why is fall­ing back to reg­u­lar style so bad?

It makes sen­tences full of expres­sion look like sen­tences full of expres­sion. It removes part of the typo­graph­ical ele­ments of a text, which is ironic, given that @font-face is meant to embel­lish it typo­graph­ic­ally. At its core, fall­ing back to reg­u­lar style removes information.

So what does this mean we should do?

Browser developers:

  • Safari devs: please work on emu­lat­ing bold, italic, bold-italic, etc. when they’re not present. Browsers do this already when it comes to system-fonts, which means web developers expect this to work.
  • Also give some thought to pick­ing up “font-variant:small-caps;” in your @font-face code. It’s the only way to ensure proper fall-back. Emulating, (like Firefox & Opera you all now do!) is a step for­ward, but it’d be a pity to stop there.
  • If HTML 5 has taught us any­thing, it’s that browsers should be more bul­let­proof, not web designer’s code. Also: ask­ing web developers to spe­cify as little as pos­sible is a better.

Web design­ers:

  • Using @font-face when you only have the reg­u­lar ver­sion of a font at your dis­posal is not a good idea. Especially for body text. In safari. And on nearly all mobile platforms.
  • Using a (less lazy, less prac­tical) more bul­let­proof way of spe­cify­ing your @font-face fonts is recom­men­ded (alas) for now.
Have a look at more CSS

« IMAGINE XII. Fix you.

Jason Brooks for Fierce Angel — Thunder Disco Angel 2006 »

Possibly related content

  1. CSS3 @font-face browser support table 2010
  2. CSS3 Fonts: The ideal implementation
  3. Jason Brooks for Hed Kandi  —  Back to Love Wallpaper
  4. Jason Brooks for Hed Kandi — Back to love 26
  5. Full page zoom (update)

James John Malcolm MMXIII

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.