aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/webfont
diff options
context:
space:
mode:
Diffstat (limited to 'cheat/.cheat/webfont')
-rw-r--r--cheat/.cheat/webfont11
1 files changed, 11 insertions, 0 deletions
diff --git a/cheat/.cheat/webfont b/cheat/.cheat/webfont
new file mode 100644
index 0000000..be47382
--- /dev/null
+++ b/cheat/.cheat/webfont
@@ -0,0 +1,11 @@
+# Permet de générer un woff2
+woff2_compress mafont.ttf
+
+# Permet de générer un woff sans EOT et SVG car il le fait par défaut
+webify mafont.ttf ---no-eot --no-svg
+
+# En une seul ligne
+$font=mafont.ttf; woff2_compress $font; webify $font --no-eot --no-svg
+
+# Css tips:
+If webfont is loaded with "?xxxxx" at the end of the file, the "xxxxx" must be changed.