public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Warren Young <wyml@etr-usa.com>
To: cygwin-apps@cygwin.com
Subject: Bug in fontconfig postinstall script: spaces in *.ttf
Date: Thu, 09 Jun 2016 19:17:00 -0000	[thread overview]
Message-ID: <79C8FF54-DAB7-42AB-A8DA-76F9BC318FE8@etr-usa.com> (raw)

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.

                 reply	other threads:[~2016-06-09 19:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=79C8FF54-DAB7-42AB-A8DA-76F9BC318FE8@etr-usa.com \
    --to=wyml@etr-usa.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).