This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] fontconfig 2.11.95-1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]