Open
Description
I'm thinking of introducing a build-time QA test for the Hack Debian package that compares the Debian built TrueType font with the reference fonts released upstream. This would be based on https://github.com/googlei18n/fontdiff. For this reason it would be useful to retain both the original TTF files as built upstream and the TTF files built for the Debian package. At the moment this is a little tricky, as the original fonts are shipped in the build/
directory, and so they are overwritten by the build scripts. I see two possible solutions to this:
- Ship the reference files in a different directory, e.g.
reference-build/
, and addbuild/
to.gitignore
. This will also keep the git tree clean after building the font locally; - Allow the build directory to be chosen at build time. This can easily done by patching the build scripts, with the exception of
build-ttf.sh
, where thebuild/ttf/
path is hardcoded in several places. It would be nicer to have a singleTTF_BUILD="build/ttf"
definition, as in the other build scripts.
Feel free to consider this a wishlist, low-priority issue. Thanks!