I am using Google Fonts on an internal webpage but for some reason it is not catching.
I downloaded the .woff2
files and have them hosted on my server.
I included the @font-face
and here is how I wrote it:
@font-face {
font-family: 'Arizonia';
font-style: normal;
font-weight: 400;
src: local('Arizonia'), local('Arizonia-Regular'), url(/lib/fonts/Arizonia/PwrsyFTYH2Wmsvpn0dx4s_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
.arizonia {
font-family: 'Arizonia';
}
Then later in the HTML document, I have tags as:
<span class="arizonia">Some Text</span>
but the text shows up as Times New Roman (default for the browser...). It somehow is not loading the font.
I checked the file and it IS accessible - meaning the URL to the .woff2
file is valid.
I am using Firefox 30.0
Any ideas what could be wrong?