Skip to content
Target browsers which aren't @font-face* ready and serve them alternative solutions.     *SVG format not included
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
loffs.js

README.md

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

Something went wrong with that request. Please try again.