This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Bug in fontconfig postinstall script: spaces in *.ttf
- From: Warren Young <wyml at etr-usa dot com>
- To: cygwin-apps at cygwin dot com
- Date: Thu, 9 Jun 2016 13:17:09 -0600
- Subject: Bug in fontconfig postinstall script: spaces in *.ttf
- Authentication-results: sourceware.org; auth=none
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:
http://www.marksimonson.com/notebook/view/sneak-preview-sketchflow-print
Kind of an interesting read.