aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/webfont
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-09-03 10:54:54 +0200
committerneodarz <neodarz@neodarz.net>2018-09-03 10:54:54 +0200
commit2f23c80043272d4ec4074e126343cdca97855a3f (patch)
tree9b74c474ad674243efab13dbba81425a1deb99b1 /cheat/.cheat/webfont
parentb41b828fa261bc1a976f49ca89740dae496e8308 (diff)
downloaddotfiles_ascii-2f23c80043272d4ec4074e126343cdca97855a3f.tar.xz
dotfiles_ascii-2f23c80043272d4ec4074e126343cdca97855a3f.zip
Add some cheatsheet
Diffstat (limited to '')
-rw-r--r--cheat/.cheat/webfont6
1 files changed, 6 insertions, 0 deletions
diff --git a/cheat/.cheat/webfont b/cheat/.cheat/webfont
index be47382..c8504a8 100644
--- a/cheat/.cheat/webfont
+++ b/cheat/.cheat/webfont
@@ -1,9 +1,15 @@
+# https://github.com/google/woff2
# Permet de générer un woff2
woff2_compress mafont.ttf
+# https://github.com/ananthakumaran/webify
# 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
+# https://github.com/hanikesn/woff2otf
+# Permet de génener un ttf à partir d'un woff
+./woff2otf.py font.woff font.otf
+
# En une seul ligne
$font=mafont.ttf; woff2_compress $font; webify $font --no-eot --no-svg