Skip to content

Commit

Permalink
Add woff2 font, keep woff as fallback.
Browse files Browse the repository at this point in the history
  • Loading branch information
Szunti committed Sep 25, 2018
1 parent 294f9dc commit 2728e59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@font-face {
font-family: HanaMinA;
src: url("HanaMinA.woff") format("woff");
src: url("HanaMinA.woff2") format("woff2"),
url("HanaMinA.woff") format("woff");
}

.nrGrammardata {
Expand Down
2 changes: 1 addition & 1 deletion webfont/woff.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"../data/pages/en-GB/**/*.txt"
],
"fonts": [
["HanaMinA.ttf", "../HanaMinA.woff"],
["HanaMinA.ttf", "../HanaMinA.woff", "../HanaMinA.woff2"],
["HanaMinB.ttf", "../HanaMinB.woff"]
],
"missingOutput": "missing.txt",
Expand Down

0 comments on commit 2728e59

Please sign in to comment.