diff --git a/README.md b/README.md index df018b2..c2b36db 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Iosevka’s default ligation set is assigned to `calt` feature, though not all o To build Iosevka you should: -1. Ensure that [`node`](http://nodejs.org) (≥ 5.0), [`FontForge`](http://fontforge.org) (with Python scripting support, ≥ Aug. 2015 release), [`ttfautohint`](http://www.freetype.org/ttfautohint/), [`otfcc`](https://github.com/caryll/otfcc) (≥ 0.1.6) and `make` are runnable in your terminal. +1. Ensure that [`node`](http://nodejs.org) (≥ 5.0), [`FontForge`](http://fontforge.org) (with Python scripting support, ≥ Aug. 2015 release), [`ttfautohint`](http://www.freetype.org/ttfautohint/), [`otfcc`](https://github.com/caryll/otfcc) (≥ 0.2.2) and `make` are runnable in your terminal. - Windows users may need to install MinGW and make \*nix utilities accessible (`mkdir.exe`, `cp.exe`, `cat.exe` and `rm.exe`, in particular) from Command Prompt. Utilities provided by [Git for Windows](https://git-for-windows.github.io/) works fine. 2. Install necessary libs by `npm install`. 3. `make`. diff --git a/onegroup.mk b/onegroup.mk index 2d931e3..8484756 100644 --- a/onegroup.mk +++ b/onegroup.mk @@ -110,9 +110,8 @@ $(PASS1) : $(OBJDIR)/.pass1-%.ttf : pass1-cleanup.py $(OBJDIR)/.pass0-%.svg @$(HINT) $@.a.ttf $@ @-rm $@.a.ttf # Pass 2 : add metadata -# IDKY, but converting into TTX and convert back dramatically reduces the file size $(TARGETS) : $(OBJDIR)/%.ttf : pass2-finalize.js $(OBJDIR)/.pass1-%.ttf $(OBJDIR)/.pass0-%.fdt - @otfccdump $(word 2,$^) | $(NODE) $< $(word 3,$^) | otfccbuild -o $@ --ignore-glyph-order --keep-average-char-width --dummy-dsig --short-post $(HINT_SUFFIX) + @otfccdump $(word 2,$^) | $(NODE) $< $(word 3,$^) | otfccbuild -s -O3 -o $@ --keep-average-char-width $(HINT_SUFFIX) $(DISTTARGETS) : $(DISTDIR)/%.ttf : $(OBJDIR)/%.ttf @cp $< $@