Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>As it turns out, the syntax was wrong. I stumbled across this solution via twitter:</p> <p><a href="http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax" rel="noreferrer"><a href="http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax" rel="noreferrer">http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax</a></a></p> <p>It worked perfectly. Just checked in all major browsers, and my fonts show up, including on Android and iOS.</p> <p>Now, my CSS reads like so: </p> <pre><code>@font-face { font-family: 'LeagueGothicRegular'; src: url('../fonts/League_Gothic-webfont.eot#') format('eot'), url('../fonts/League_Gothic-webfont.woff') format('woff'), url('../fonts/League_Gothic-webfont.ttf') format('truetype'), url('../fonts/League_Gothic-webfont.svg#webfontFHzvtkso') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'LatinModernRoman10Bold'; src: url('../fonts/lmroman10-bold-webfont.eot#') format('eot'), url('../fonts/lmroman10-bold-webfont.woff') format('woff'), url('../fonts/lmroman10-bold-webfont.ttf') format('truetype'), url('../fonts/lmroman10-bold-webfont.svg#webfonthCDr6KZk') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'LatinModernRoman10BoldItalic'; src: url('../fonts/lmroman10-bolditalic-webfont.eot#') format('eot'), url('../fonts/lmroman10-bolditalic-webfont.woff') format('woff'), url('../fonts/lmroman10-bolditalic-webfont.ttf') format('truetype'), url('../fonts/lmroman10-bolditalic-webfont.svg#webfontegrLi3sm') format('svg'); font-weight: normal; font-style: normal; } </code></pre> <p>Glad to know there's a better bulletproof solution out there than the dang smileyface hack.</p> <p>Hope this helps somebody!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload