Skip to content

Commit d208a21

Browse files
authored
Merge pull request #2862 from sondr3/fix-font-loading
Use correct format to load TTF files
2 parents 0afddda + a315eb6 commit d208a21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

www/rustup.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
font-family: 'Work Sans';
2222
font-style: normal;
2323
font-weight: 500;
24-
src: local('Work Sans Medium'), url("fonts/WorkSans-Medium.ttf") format('ttf');
24+
src: local('Work Sans Medium'), url("fonts/WorkSans-Medium.ttf") format('truetype');
2525
}
2626

2727
@font-face {
2828
font-family: 'Inconsolata';
2929
font-style: normal;
3030
font-weight: 400;
31-
src: local('Inconsolata Regular'), url("fonts/Inconsolata-Regular.ttf") format('ttf');
31+
src: local('Inconsolata Regular'), url("fonts/Inconsolata-Regular.ttf") format('truetype');
3232
}
3333

3434
body {

0 commit comments

Comments
 (0)