I connect the font, it works everywhere, but in Mozilla Firefox there is an error:

downloadable font: no supported format found (font-family: "PT Sans" style: normal weight: normal stretch: normal src index: 3) source: (end of source list)

/* cyrillic-ext */ @font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; src: local('PT Sans'), local('PTSans-Regular'), url(../fonts/JX7MlXqjSJNjQvI4heMMGvY6323mHUZFJMgTvxaG2iE.woff2) format('woff2'); unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; } /* cyrillic */ @font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; src: local('PT Sans'), local('PTSans-Regular'), url(../fonts/vtwNVMP8y9C17vLvIBNZI_Y6323mHUZFJMgTvxaG2iE.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } 

What to do?

    2 answers 2

    Connect in all formats and with the necessary hacks:

     @font-face { font-family: "JournalRegular"; src: url("journal-webfont.eot"); src: url("journal-webfont.eot?#iefix") format("embedded-opentype"), url("journal-webfont.woff") format("woff"), url("journal-webfont.ttf") format("truetype"), url("journal-webfont.svg#JournalRegular") format("svg"); font-weight: normal; font-style: normal; } 

    http://xiper.net/collect/html-and-css-tricks/typographics/font-face-non-standart-fonts-on-css

    • Lol, from Google somehow you can download an archive with the fonts of the desired font? And then save separately cruel. google.com/fonts - ModaL
    • @ModaL, so it is downloaded by the archive. You press add to collection, then download and zip. - Qwertiy
    • I found the PT-Sans font from another site, connected it in your own way and it all worked. Thank! - ModaL

    Use the generator: http://www.fontsquirrel.com/tools/webfont-generator you will get a really bulletproof @ font-face syntax, fully cross-browser, at the output.