use woff(2) fonts for Noto Sans (#1509)

This commit is contained in:
f0x52 2023-02-15 20:10:18 +01:00 committed by GitHub
parent 4cba90c0f6
commit b8e1ab312d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 14 additions and 8 deletions

Binary file not shown.

Binary file not shown.

View file

@ -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.
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.

View file

@ -18,16 +18,24 @@
@import "modern-normalize/modern-normalize.css";
/* noto-sans-regular - latin */
@font-face {
font-family: "Noto Sans";
font-weight: 400;
src: url(../NotoSans-Regular.ttf) format('truetype');
font-family: "Noto Sans";
font-weight: 400;
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-family: "Noto Sans";
font-weight: bold;
src: url(../NotoSans-Bold.ttf) format('truetype');
font-family: "Noto Sans";
font-weight: 700;
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 */