web lab: fixes issue with incorrect font name

This commit is contained in:
Rasmus Andersson 2017-08-22 10:23:32 -07:00
parent 797757bde2
commit 9207321ce5

View file

@ -609,14 +609,14 @@ for (const ch of uniqueChars) {
<style id="font-css" type="text/css-template">
@font-face {
font-family: 'Interface-VERSION', 'Interface';
font-family: 'Interface-VERSION';
font-style: normal;
font-weight: 400;
src: url("fonts/Interface-Regular.woff2") format("woff2"),
url("fonts/Interface-Regular.woff") format("woff");
}
@font-face {
font-family: 'Interface-VERSION', 'Interface';
font-family: 'Interface-VERSION';
font-style: italic;
font-weight: 400;
src: url("fonts/Interface-RegularItalic.woff2") format("woff2"),
@ -624,14 +624,14 @@ for (const ch of uniqueChars) {
}
@font-face {
font-family: 'Interface-VERSION', 'Interface';
font-family: 'Interface-VERSION';
font-style: normal;
font-weight: 500;
src: url("fonts/Interface-Medium.woff2") format("woff2"),
url("fonts/Interface-Medium.woff") format("woff");
}
@font-face {
font-family: 'Interface-VERSION', 'Interface';
font-family: 'Interface-VERSION';
font-style: italic;
font-weight: 500;
src: url("fonts/Interface-MediumItalic.woff2") format("woff2"),
@ -639,14 +639,14 @@ for (const ch of uniqueChars) {
}
@font-face {
font-family: 'Interface-VERSION', 'Interface';
font-family: 'Interface-VERSION';
font-style: normal;
font-weight: 700;
src: url("fonts/Interface-Bold.woff2") format("woff2"),
url("fonts/Interface-Bold.woff") format("woff");
}
@font-face {
font-family: 'Interface-VERSION', 'Interface';
font-family: 'Interface-VERSION';
font-style: italic;
font-weight: 700;
src: url("fonts/Interface-BoldItalic.woff2") format("woff2"),