public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* Bug in fontconfig postinstall script: spaces in *.ttf
@ 2016-06-09 19:17 Warren Young
  0 siblings, 0 replies; only message in thread
From: Warren Young @ 2016-06-09 19:17 UTC (permalink / raw)
  To: cygwin-apps

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-09 19:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09 19:17 Bug in fontconfig postinstall script: spaces in *.ttf Warren Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).