Skip to content

Commit 4bbbf01

Browse files
authored
Merge pull request #324 from julien-gargot/release
Fix Font-Face Paths for variable fonts
2 parents f1680b3 + 2d83d01 commit 4bbbf01

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

source-code-variable.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
@font-face{
2-
font-family: 'Source Code Variable';
2+
font-family: 'Source Code VF';
33
font-weight: 200 900;
44
font-style: normal;
55
font-stretch: normal;
6-
src: url('./WOFF2/VAR/SourceCodeVariable-Roman.ttf.woff2') format('woff2-variations'),
7-
url('./WOFF/VAR/SourceCodeVariable-Roman.ttf.woff') format('woff-variations'),
8-
url('./VAR/SourceCodeVariable-Roman.ttf') format('truetype-variations');
6+
src: url('./WOFF2/VF/SourceCodeVF-Upright.ttf.woff2') format('woff2-variations'),
7+
url('./WOFF/VF/SourceCodeVF-Upright.ttf.woff') format('woff-variations'),
8+
url('./VF/SourceCodeVF-Upright.ttf') format('truetype-variations');
99
}
1010

1111
@font-face{
12-
font-family: 'Source Code Variable';
12+
font-family: 'Source Code VF';
1313
font-weight: 200 900;
1414
font-style: italic;
1515
font-stretch: normal;
16-
src: url('./WOFF2/VAR/SourceCodeVariable-Italic.ttf.woff2') format('woff2-variations'),
17-
url('./WOFF/VAR/SourceCodeVariable-Italic.ttf.woff') format('woff-variations'),
18-
url('./VAR/SourceCodeVariable-Italic.ttf') format('truetype-variations');
16+
src: url('./WOFF2/VF/SourceCodeVF-Italic.ttf.woff2') format('woff2-variations'),
17+
url('./WOFF/VF/SourceCodeVF-Italic.ttf.woff') format('woff-variations'),
18+
url('./VF/SourceCodeVF-Italic.ttf') format('truetype-variations');
1919
}

0 commit comments

Comments
 (0)