public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: David Stacey <drstacey@tiscali.co.uk>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] fontconfig 2.11.95-1
Date: Thu, 09 Jun 2016 16:05:00 -0000	[thread overview]
Message-ID: <313bc499-da3e-5eb0-548b-088802e4ecb3@tiscali.co.uk> (raw)
In-Reply-To: <announce.201606030830.u538UPdG013262@int-mx09.intmail.prod.int.phx2.redhat.com>

On 03/06/16 09:25, Yaakov Selkowitz wrote:
> This is an update to the latest upstream release.  This release automatically
> makes Microsoft fonts in the Windows font directory available to Cygwin
> applications.


I really appreciate this feature. Sadly, it isn't working for me because 
the post-install script that achieves this doesn't quote the filenames. 
So if a font has a space in its filename you end up with a symbolic link 
that points to itself.

Please could you update the post-install script 
'zp_fontconfig_cache_1.sh'. The following worked for me:

     for f in $(grep -l 'Microsoft Corp' "`cygpath -W`"/Fonts/*.ttf)
     do
       if [ ! -e "/usr/share/fonts/microsoft/${f##*/}" ]
       then
         ln -s "$f" "/usr/share/fonts/microsoft/"
       fi
     done

Many thanks in advance,

Dave.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

      reply	other threads:[~2016-06-09 16:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-03  8:31 Yaakov Selkowitz
2016-06-09 16:05 ` David Stacey [this message]

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=313bc499-da3e-5eb0-548b-088802e4ecb3@tiscali.co.uk \
    --to=drstacey@tiscali.co.uk \
    --cc=cygwin@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).