Skip to content

Target browsers which aren't @font-face* ready and serve them alternative solutions.     *SVG format not included

Notifications You must be signed in to change notification settings

Mouvedia/lack-of-font-face-support-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Lack of @font-face Support Detection

You can use this filter to selectively serve something else to browsers which don't support TTF/OTF/WOFF embedding through @font-face.

Support

Browsers Filtered

  • Safari
  • Chrome¹
  • Opera
  • Gecko-based browsers
  • Konqueror²

TODO

  • SVG format [planned]

Notes

Internet Explorer supports @font-face since version 4.
Still if you wanna target a specific version of IE you could use downlevel-revealed conditional comments and add ||(!+"\v1") to the filter.

Reminder: ids can potentially pollute the global scope so remember to avoid naming them chrome, opera or konqueror.

¹ except 4.0.249.2–11
² except 4.3 ß1–RC1

About

Target browsers which aren't @font-face* ready and serve them alternative solutions.     *SVG format not included

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published