use woff(2) fonts for Noto Sans (#1509)
This commit is contained in:
parent
4cba90c0f6
commit
b8e1ab312d
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,3 @@
|
||||||
Open Font License applies to NotoSans-Regular.ttf and NotoSans-Bold.ttf in this directory
|
|
||||||
|
|
||||||
Copyright 2012 Google Inc. All Rights Reserved.
|
Copyright 2012 Google Inc. All Rights Reserved.
|
||||||
|
|
||||||
This Font Software is licensed under the SIL Open Font License,
|
This Font Software is licensed under the SIL Open Font License,
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -18,16 +18,24 @@
|
||||||
|
|
||||||
@import "modern-normalize/modern-normalize.css";
|
@import "modern-normalize/modern-normalize.css";
|
||||||
|
|
||||||
|
/* noto-sans-regular - latin */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Noto Sans";
|
font-family: "Noto Sans";
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: url(../NotoSans-Regular.ttf) format('truetype');
|
font-display: swap;
|
||||||
|
font-style: normal;
|
||||||
|
src: url('../fonts/noto-sans-v27-latin-regular.woff2') format('woff2'),
|
||||||
|
url('../fonts/noto-sans-v27-latin-regular.woff') format('woff');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* noto-sans-700 - latin */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Noto Sans";
|
font-family: "Noto Sans";
|
||||||
font-weight: bold;
|
font-weight: 700;
|
||||||
src: url(../NotoSans-Bold.ttf) format('truetype');
|
font-display: swap;
|
||||||
|
font-style: normal;
|
||||||
|
src: url('../fonts/noto-sans-v27-latin-700.woff2') format('woff2'),
|
||||||
|
url('../fonts/noto-sans-v27-latin-700.woff') format('woff');
|
||||||
}
|
}
|
||||||
|
|
||||||
/* standard border radius for nice squircles */
|
/* standard border radius for nice squircles */
|
||||||
|
|
Loading…
Reference in New Issue