ttfautohint-build
ttfautohint-build copied to clipboard
Build ttfautohint from source on Linux and macOS platforms
`$HOME/Library/Caches` in macos (os x) `$XDG_CACHE_HOME/ttfautohint-build` (with fallback) in linux solves #38
Variables like ``` BUILD="$HOME/ttfautohint-build" INST="$BUILD/local" ``` should be customizable without having to alter your build script. An easy way to do that is by allowing them to be overwritten through...
Currently the script is like this: - Download everything - Extract everything - Patch everything - Build everything Yet if you were implementing #42, there are situations were it would...
Just add this at the very top of your script: ``` # Detect how many CPU cores are available cores=$( (nproc --all || sysctl -n hw.ncpu) 2>/dev/null || echo 1...
As you cannot even run the script more than once (`Build directory ... must not exist.`), why would you want to keep the source or intermediate build files? If I...
Currently the script misses `set -e`. As a result, if one of the commands terminate with a non-zero exit code, indicating failure, the script just continues. E.g. a past version...
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html https://wiki.archlinux.org/title/XDG_Base_Directory This tool is not usable when home directory is not writable