# Loading Fonts with Javascript

**URL:** <https://forum.kirupa.com/t/loading-fonts-with-javascript/311515>\
**Category:** web dev\
**Created:** [July 8, 2010, 7:17pm UTC](https://forum.kirupa.com/t/loading-fonts-with-javascript/311515 "2010-07-08T19:17:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwilliam](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jwilliam](https://forum.kirupa.com/u/jwilliam)\
**Post date:** [July 8, 2010, 7:17pm UTC](https://forum.kirupa.com/t/loading-fonts-with-javascript/311515/1 "2010-07-08T19:17:46Z")

</div>

I’m having trouble figuring this out. I will not be able to add @font-face rules to the css when the page loads. The loading of the fonts will have to happen at runtime. Can someone toss me a bone? I use jQuery, by the way…
