diff --git a/README.md b/README.md index 5dc2feb..e728ed3 100644 --- a/README.md +++ b/README.md @@ -282,9 +282,12 @@ default_language = "en" ### Hack font subset -By default, the theme uses a subset of the Hack font. +By default, the theme uses a mixed subset of the Hack font. +Normal weight font uses full character set +(for Unicode icons and special symbols), but all others +(bold, italic etc) use a limited subset. -This results in much smaller transfer sizes, but +This results in much smaller transfer sizes, but the subset might not contain all the Unicode characters you need. You can enable full unicode support in `config.toml`: diff --git a/sass/font-hack-subset.scss b/sass/font-hack-subset.scss index 377545b..31281aa 100644 --- a/sass/font-hack-subset.scss +++ b/sass/font-hack-subset.scss @@ -6,7 +6,8 @@ * -------------------------- */ @font-face { font-family: 'Hack'; - src: url('fonts/hack-regular-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-regular-subset.woff?sha=3114f1256') format('woff'); + /* Use full version (not a subset) for unicode icon support */ + src: url('fonts/hack-regular.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-regular.woff?sha=3114f1256') format('woff'); font-weight: 400; font-style: normal; } diff --git a/sass/pagination.scss b/sass/pagination.scss index 063a8c4..566005b 100644 --- a/sass/pagination.scss +++ b/sass/pagination.scss @@ -74,8 +74,4 @@ white-space: nowrap; overflow: hidden; } - - &__icon { - font-family: sans-serif; - } }