Bug in fontconfig postinstall script: spaces in *.ttf

Warren Young wyml@etr-usa.com
Thu Jun 9 19:17:00 GMT 2016

The zp_fontconfig_cache_1.sh postinstall script links all *.ttf fonts in $(cygpath -W)/Fonts that contain “Microsoft Corp” into /usr/share/fonts/microsoft.  This script creates broken links when such a font contains a space in its filename, as happens with SketchFlow\ Print.ttf on my system.

This error happens silently, but on the next run of setup.exe, you get a postinstall script error resulting from Cygwin’s refusal to chase an infinite link from Print.ttf to Print.ttf.  You also get a broken link to SketchFlow, but since it is not a tail-chaser, it doesn’t trigger the error.

The trivial fix for this is left as an exercise to the packager. :)

Incidentally, that font has a web page:


Kind of an interesting read.

More information about the Cygwin-apps mailing list