diff --git a/web/assets/NotoSans-Bold.ttf b/web/assets/NotoSans-Bold.ttf deleted file mode 100644 index 6e00cdce..00000000 Binary files a/web/assets/NotoSans-Bold.ttf and /dev/null differ diff --git a/web/assets/NotoSans-Regular.ttf b/web/assets/NotoSans-Regular.ttf deleted file mode 100644 index 9dd10199..00000000 Binary files a/web/assets/NotoSans-Regular.ttf and /dev/null differ diff --git a/web/assets/OFL.txt b/web/assets/fonts/OFL.txt similarity index 97% rename from web/assets/OFL.txt rename to web/assets/fonts/OFL.txt index 13f3f8d5..94d1bf7b 100644 --- a/web/assets/OFL.txt +++ b/web/assets/fonts/OFL.txt @@ -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, diff --git a/web/assets/fonts/noto-sans-v27-latin-700.woff b/web/assets/fonts/noto-sans-v27-latin-700.woff new file mode 100644 index 00000000..a03733c8 Binary files /dev/null and b/web/assets/fonts/noto-sans-v27-latin-700.woff differ diff --git a/web/assets/fonts/noto-sans-v27-latin-700.woff2 b/web/assets/fonts/noto-sans-v27-latin-700.woff2 new file mode 100644 index 00000000..e805a009 Binary files /dev/null and b/web/assets/fonts/noto-sans-v27-latin-700.woff2 differ diff --git a/web/assets/fonts/noto-sans-v27-latin-regular.woff b/web/assets/fonts/noto-sans-v27-latin-regular.woff new file mode 100644 index 00000000..864551ed Binary files /dev/null and b/web/assets/fonts/noto-sans-v27-latin-regular.woff differ diff --git a/web/assets/fonts/noto-sans-v27-latin-regular.woff2 b/web/assets/fonts/noto-sans-v27-latin-regular.woff2 new file mode 100644 index 00000000..b84370d5 Binary files /dev/null and b/web/assets/fonts/noto-sans-v27-latin-regular.woff2 differ diff --git a/web/source/css/base.css b/web/source/css/base.css index 7f59aebf..ca15984e 100644 --- a/web/source/css/base.css +++ b/web/source/css/base.css @@ -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 */