Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 80d6dd3
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion static/Inconsolata.otf

This file was deleted.

Binary file added static/Inconsolata.woff
Binary file not shown.
Binary file added static/Inconsolata.woff2
Binary file not shown.
6 changes: 1 addition & 5 deletions static/Makefile
@@ -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 $@ $<
Expand Down
1 change: 0 additions & 1 deletion static/Roboto-Bold.ttf

This file was deleted.

Binary file added static/Roboto-Bold.woff
Binary file not shown.
Binary file added static/Roboto-Bold.woff2
Binary file not shown.
1 change: 0 additions & 1 deletion static/Roboto-Regular.ttf

This file was deleted.

Binary file added static/Roboto-Regular.woff
Binary file not shown.
Binary file added static/Roboto-Regular.woff2
Binary file not shown.

0 comments on commit 80d6dd3

Please sign in to comment.