This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] fontconfig 2.11.95-1
- From: David Stacey <drstacey at tiscali dot co dot uk>
- To: cygwin at cygwin dot com
- Date: Thu, 9 Jun 2016 17:05:43 +0100
- Subject: Re: [ANNOUNCEMENT] fontconfig 2.11.95-1
- Authentication-results: sourceware.org; auth=none
- References: <announce dot 201606030830 dot u538UPdG013262 at int-mx09 dot intmail dot prod dot int dot phx2 dot redhat dot 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