Skip to content

Commit

Permalink
Merge pull request #324 from julien-gargot/release
Browse files Browse the repository at this point in the history
Fix Font-Face Paths for variable fonts
  • Loading branch information
pauldhunt authored Oct 18, 2023
2 parents f1680b3 + 2d83d01 commit 4bbbf01
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions source-code-variable.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
@font-face{
font-family: 'Source Code Variable';
font-family: 'Source Code VF';
font-weight: 200 900;
font-style: normal;
font-stretch: normal;
src: url('./WOFF2/VAR/SourceCodeVariable-Roman.ttf.woff2') format('woff2-variations'),
url('./WOFF/VAR/SourceCodeVariable-Roman.ttf.woff') format('woff-variations'),
url('./VAR/SourceCodeVariable-Roman.ttf') format('truetype-variations');
src: url('./WOFF2/VF/SourceCodeVF-Upright.ttf.woff2') format('woff2-variations'),
url('./WOFF/VF/SourceCodeVF-Upright.ttf.woff') format('woff-variations'),
url('./VF/SourceCodeVF-Upright.ttf') format('truetype-variations');
}

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

0 comments on commit 4bbbf01

Please sign in to comment.