Account for Google Fonts and indestructible versions of the Jost font.

This commit is contained in:
Nick Kocharhook 2022-01-24 17:35:13 +00:00
parent 66f814768f
commit f0b00f6c3b
1 changed files with 41 additions and 5 deletions

View File

@ -5,7 +5,13 @@
font-weight: 400;
font-display: swap;
src:
local("Jost"),
/* Google Fonts Jost */
local("Jost Regular Regular"), /* Full Name */
local("Jost-Regular"), /* PostScript name */
/* indestructible Jost* */
local("Jost* Book"),
local("Jost-Book"),
url("fonts/vendor/jost/jost-v4-latin-regular.woff2") format("woff2"),
url("fonts/vendor/jost/jost-v4-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@ -17,7 +23,13 @@
font-weight: 500;
font-display: swap;
src:
local("Jost"),
/* Google Fonts Jost */
local("Jost Regular Medium"),
local("JostRoman-Medium"),
/* indestructible Jost* */
local("Jost* Medium"),
local("Jost-Medium"),
url("fonts/vendor/jost/jost-v4-latin-500.woff2") format("woff2"),
url("fonts/vendor/jost/jost-v4-latin-500.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@ -29,7 +41,13 @@
font-weight: 700;
font-display: swap;
src:
local("Jost"),
/* Google Fonts Jost */
local("Jost Regular Bold"),
local("JostRoman-Bold"),
/* indestructible Jost* */
local("Jost* Bold"),
local("Jost-Bold"),
url("fonts/vendor/jost/jost-v4-latin-700.woff2") format("woff2"),
url("fonts/vendor/jost/jost-v4-latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@ -41,7 +59,13 @@
font-weight: 400;
font-display: swap;
src:
/* Google Fonts Jost */
local("Jost Italic Italic"),
local("Jost-Italic"),
/* indestructible Jost* */
local("Jost* BookItalic"),
local("Jost-BookItalic"),
url("fonts/vendor/jost/jost-v4-latin-italic.woff2") format("woff2"),
url("fonts/vendor/jost/jost-v4-latin-italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@ -53,7 +77,13 @@
font-weight: 500;
font-display: swap;
src:
local("Jost-Italic"),
/* Google Fonts Jost */
local("Jost Italic Medium Italic"),
local("JostItalic-Medium"),
/* indestructible Jost* */
local("Jost* Medium Italic"),
local("Jost-MediumItalic"),
url("fonts/vendor/jost/jost-v4-latin-500italic.woff2") format("woff2"),
url("fonts/vendor/jost/jost-v4-latin-500italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@ -65,7 +95,13 @@
font-weight: 700;
font-display: swap;
src:
local("Jost-Italic"),
/* Google Fonts Jost */
local("Jost Italic Bold Italic"),
local("JostItalic-Bold"),
/* indestructible Jost* */
local("Jost* Bold Italic"),
local("Jost-BoldItalic"),
url("fonts/vendor/jost/jost-v4-latin-700italic.woff2") format("woff2"),
url("fonts/vendor/jost/jost-v4-latin-700italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}