diff --git a/README.md b/README.md index a7a82c1..9754acb 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ make cd assets/fonts/deblan/ svg2ttf src/deblan-icon.svg deblan-icon.ttf ttf2woff deblan-icon.ttf deblan-icon.woff +cat deblan-icon.ttf | ttf2woff2 > deblan-icon.woff2 ttf2eot deblan-icon.ttf deblan-icon.eot - ``` diff --git a/assets/css/app.scss b/assets/css/app.scss index b4056aa..0cb6876 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -5,14 +5,18 @@ @font-face { font-family: "MainFont"; - src: url(../fonts/ubuntu/ubuntu-light.woff) format('woff'); + src: + url('../fonts/ubuntu/ubuntu-light.woff2?20211108') format('woff2'), + url('../fonts/ubuntu/ubuntu-light.woff?20211108') format('woff'); } @font-face { font-family: "deblan-icon"; - src: url('../fonts/deblan/deblan-icon.eot?v=5'); - src: url('../fonts/deblan/deblan-icon.woff?vmatrix5') format('woff'), - url('../fonts/deblan/deblan-icon.ttf?v=5') format('truetype'); + src: url('../fonts/deblan/deblan-icon.eot?20211108'); + src: + url('../fonts/deblan/deblan-icon.woff2?20211108') format('woff2'), + url('../fonts/deblan/deblan-icon.woff?20211108') format('woff'), + url('../fonts/deblan/deblan-icon.ttf?20211108') format('truetype'); font-style: normal; font-weight: normal; diff --git a/assets/fonts/deblan/deblan-icon.woff2 b/assets/fonts/deblan/deblan-icon.woff2 new file mode 100644 index 0000000..592b9dc Binary files /dev/null and b/assets/fonts/deblan/deblan-icon.woff2 differ diff --git a/assets/fonts/ubuntu/ubuntu-light.woff2 b/assets/fonts/ubuntu/ubuntu-light.woff2 new file mode 100644 index 0000000..031497d Binary files /dev/null and b/assets/fonts/ubuntu/ubuntu-light.woff2 differ