Created
March 30, 2016 09:04
-
-
Save laughinghan/8fb99605016ecd0eb6f9c67b9f7aed22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Good news, OTF indeed looks better than TTF, but unfortunately it also looks better than WOFF: | |
Minimal diff that fixed the issue: | |
```diff | |
diff --git a/src/css/font.less b/src/css/font.less | |
index 06916b7..2330685 100644 | |
--- a/src/css/font.less | |
+++ b/src/css/font.less | |
@@ -14,9 +14,9 @@ | |
local("Symbola Regular"), | |
local("Symbola"), | |
url(font/Symbola.woff2) format("woff2"), | |
- url(font/Symbola.woff) format("woff"), | |
- url(font/Symbola.ttf) format("truetype"), | |
url(font/Symbola.otf) format("opentype"), | |
url(font/Symbola.svg#Symbola) format("svg") | |
; | |
} | |
``` | |
This is unfortunate because while I see no issue with ordering the OTF before the TTF (they're pretty close in size), the WOFF is almost half the size of the OTF, and WOFF2 isn't yet supported on e.g. iOS where the size difference has the biggest effect. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment