diff --git a/src/scss/abstract/_m-declare-font-face.scss b/src/scss/abstract/_m-declare-font-face.scss index 9e67971a..c5c6ffcd 100644 --- a/src/scss/abstract/_m-declare-font-face.scss +++ b/src/scss/abstract/_m-declare-font-face.scss @@ -11,9 +11,12 @@ font-style: $font-style; font-weight: $font-weight; font-stretch: $font-stretch; - font-display: swap; src: + local("#{$font-family}"), /* search for the locally installed font first */ url(#{$font-filename}.woff2) format("woff2"), url(#{$font-filename}.woff) format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + + font-display: swap; + unicode-range: U+0-10FFFF; /* cutting of the font file for better loading */ } }