mirror of
https://github.com/adobe-fonts/source-code-pro.git
synced 2026-04-26 03:00:26 -04:00
Correct format() in source-code-variable.css
This is required to let browsers that don’t support variable fonts (e.g. Firefox on Windows 8) avoid downloading them and fall back to something usable. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
font-weight: 200 900;
|
||||
font-style: normal;
|
||||
font-stretch: normal;
|
||||
src: url('./WOFF2/VAR/SourceCodeVariable-Roman.ttf.woff2') format('woff2'),
|
||||
url('./WOFF/VAR/SourceCodeVariable-Roman.ttf.woff') format('woff'),
|
||||
url('./VAR/SourceCodeVariable-Roman.ttf') format('truetype');
|
||||
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');
|
||||
}
|
||||
|
||||
@font-face{
|
||||
@@ -13,7 +13,7 @@
|
||||
font-weight: 200 900;
|
||||
font-style: italic;
|
||||
font-stretch: normal;
|
||||
src: url('./WOFF2/VAR/SourceCodeVariable-Italic.ttf.woff2') format('woff2'),
|
||||
url('./WOFF/VAR/SourceCodeVariable-Italic.ttf.woff') format('woff'),
|
||||
url('./VAR/SourceCodeVariable-Italic.ttf') format('truetype');
|
||||
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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user