Permalink
Browse files

commit woff and woff2 font versions to git

These were downloaded from Google Fonts, which has highly compressed
and stripped (to just latin characters) version of the fonts. These
files are significantly smaller (e.g. Roboto-Bold shrunk from 57.8K to
14.6K) and cannot easily be reproduced using sfnt2woff and the files
which the fonts-roboto-hinted Debian package contains.

See https://www.google.com/fonts/attribution for the font licenses:
Roboto is licensed under Apache-2, Inconsolata is licensed under the SIL
Open Font License 1.1.

Further, having these files in git means fewer external dependencies are
required to get a local DCS stack up and running.
  • Loading branch information...
stapelberg committed Jul 2, 2016
1 parent d18d4c0 commit 80d6dd3f86dc746efc21c653fe212ecb729e500b
View
View
Binary file not shown.
View
Binary file not shown.
View
@@ -1,13 +1,9 @@
-all: instant.min.js.gz reconnecting-websocket.min.js.gz Roboto-Regular.woff.gz Roboto-Bold.woff.gz Inconsolata.woff.gz debcodesearch.min.css.gz
+all: instant.min.js.gz reconnecting-websocket.min.js.gz debcodesearch.min.css.gz
%.gz: %
echo "ZÖPFLI $<"
zopfli $<
-%.woff: %.?tf
- echo "WOFF $<"
- sfnt2woff $<
-
%.min.js: %.js
echo "MINIFY $<"
slimit -m $< > $@ || yui-compressor -o $@ $<
View
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.

0 comments on commit 80d6dd3

Please sign in to comment.