delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/09/12:06:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=LY4+GtZ/AdCKtj67
16L3wuCEOiy4KloLq5rkB3acfq4/ldfe2V25f2Kkww1WHEc2j7LSqfBggrJhb1nO
mAiFJY2QnOpFo9ylxaL/H7RGhgT1QTpsGCkB1g8GHkKf12kxOudRmDMgxEUc00cR
HmVVnzRSNh+6Hia+ylOCj7sRga4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=x08OrGiKZZ+L3lIjMkdtQa
zYTSw=; b=jRTJahluZXaf2shrXl6ZL3bnHFTsbzOzROuA6WkLghoaQgOJFuG2Wf
DRED8di2ddTh5hLhdTyRxKDn23SKZO9PPW/uEzDUfrWGosA5W2DCOH5v1MdjSD0m
3a+KkFLqiLZWAj45ogzn+mA70P/y5nt27lFbgRTFY7TQsjKLcpU5I=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS,TBC autolearn=no version=3.3.2 spammy=H*Ad:D*co.uk, font, HX-HELO:sk:smtp-ou, Hx-spam-relays-external:sk:smtp-ou
X-HELO: smtp-out-6.tiscali.co.uk
Subject: Re: [ANNOUNCEMENT] fontconfig 2.11.95-1
To: cygwin AT cygwin DOT com
References: <announce DOT 201606030830 DOT u538UPdG013262 AT int-mx09 DOT intmail DOT prod DOT int DOT phx2 DOT redhat DOT com>
From: David Stacey <drstacey AT tiscali DOT co DOT uk>
Message-ID: <313bc499-da3e-5eb0-548b-088802e4ecb3@tiscali.co.uk>
Date: Thu, 9 Jun 2016 17:05:43 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <announce.201606030830.u538UPdG013262@int-mx09.intmail.prod.int.phx2.redhat.com>
X-CMAE-Envelope: MS4wfDuxEwN6JXD4uws/WKoejEOO6EsZkZVz6y4t/7IPK4MW9Fxq16p/zeDL/5yEPReWjsqAa6lH6r1fL8shXuV9WQtNUFhtWmEkZhwvSIyH75pyKHxlPovC QGEqwd5hPh9lWRalLMLPJ2sMVgVrfrG/mnFo/cCNoLumRXZhQRFHBpP1
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019