googlefonts / Gulzar

Nastaliq font
https://gulzarfont.org
SIL Open Font License 1.1
40 stars 9 forks source link

Makefile incorrect for hb-subset #123

Open MattMatic opened 4 months ago

MattMatic commented 4 months ago

The current makefile tries to call hb-subset with the same source filename and destination filename.

On WSL Ubuntu, this produces a "Bus error".

Changed the release: first two lines to: hb-subset --unicodes='*' --name-IDs='*' $(FINAL_FONT) --layout-features="*" -o $(FINAL_FONT).sub . venv/bin/activate; ttfautohint $(FINAL_FONT).sub $(FINAL_FONT).autohint

So that the subsetted font is saved with extension .sub.

This is part of a broader issue that cannot build release Gulzar to match

MattMatic commented 3 months ago

Working through setting up a macOS build...

Worth pointing out that HarfBuzz (installed with Homebrew) handles the Makefile hb-subset just fine 🙄