From 4a6d55d3b65e7a4ab94422a07550d5358679f4e5 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 1 Jul 2018 19:27:38 +0200 Subject: Add some goot cheat --- cheat/.cheat/webfont | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cheat/.cheat/webfont (limited to 'cheat/.cheat/webfont') 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. -- cgit v1.2.1