Should I Use JavaScript to Load My Web Fonts?

Read Should I Use JavaScript to Load My Web Fonts? on the Filament Group Lab.

When they were first introduced, web fonts were primarily a CSS feature, and for many web developers they’ve always loaded them using CSS (and nothing more). But in the …


This content originally appeared on Zach Leatherman and was authored by Zach Leatherman

Read Should I Use JavaScript to Load My Web Fonts? on the Filament Group Lab.

When they were first introduced, web fonts were primarily a CSS feature, and for many web developers they’ve always loaded them using CSS (and nothing more). But in the last decade, default web font loading behavior in many browsers made CSS-only methods a gamble with our page’s text render, and thoughtful developers switched to safer JavaScript methods. Recently, browser support for new and safer CSS-only strategies have left some developers wondering: are JavaScript methods to load web fonts necessary? Are they useful? Let’s dig in.


This content originally appeared on Zach Leatherman and was authored by Zach Leatherman


Print Share Comment Cite Upload Translate Updates
APA

Zach Leatherman | Sciencx (2018-11-30T06:00:00+00:00) Should I Use JavaScript to Load My Web Fonts?. Retrieved from https://www.scien.cx/2018/11/30/should-i-use-javascript-to-load-my-web-fonts/

MLA
" » Should I Use JavaScript to Load My Web Fonts?." Zach Leatherman | Sciencx - Friday November 30, 2018, https://www.scien.cx/2018/11/30/should-i-use-javascript-to-load-my-web-fonts/
HARVARD
Zach Leatherman | Sciencx Friday November 30, 2018 » Should I Use JavaScript to Load My Web Fonts?., viewed ,<https://www.scien.cx/2018/11/30/should-i-use-javascript-to-load-my-web-fonts/>
VANCOUVER
Zach Leatherman | Sciencx - » Should I Use JavaScript to Load My Web Fonts?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2018/11/30/should-i-use-javascript-to-load-my-web-fonts/
CHICAGO
" » Should I Use JavaScript to Load My Web Fonts?." Zach Leatherman | Sciencx - Accessed . https://www.scien.cx/2018/11/30/should-i-use-javascript-to-load-my-web-fonts/
IEEE
" » Should I Use JavaScript to Load My Web Fonts?." Zach Leatherman | Sciencx [Online]. Available: https://www.scien.cx/2018/11/30/should-i-use-javascript-to-load-my-web-fonts/. [Accessed: ]
rf:citation
» Should I Use JavaScript to Load My Web Fonts? | Zach Leatherman | Sciencx | https://www.scien.cx/2018/11/30/should-i-use-javascript-to-load-my-web-fonts/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.