aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/webfont
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-07-01 19:27:38 +0200
committerneodarz <neodarz@neodarz.net>2018-07-01 19:27:38 +0200
commit4a6d55d3b65e7a4ab94422a07550d5358679f4e5 (patch)
treeef4b5147f66ea91d63ddcb0daeba327ac9f83d15 /cheat/.cheat/webfont
parent2f6357a59d60fb13e6a81e0be5efd3b3cb2e6e35 (diff)
downloaddotfiles_ascii-4a6d55d3b65e7a4ab94422a07550d5358679f4e5.tar.xz
dotfiles_ascii-4a6d55d3b65e7a4ab94422a07550d5358679f4e5.zip
Add some goot cheat
Diffstat (limited to '')
-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.