delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/14/15:23:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <502AA5A3.9030809@gmail.com>
Date: Tue, 14 Aug 2012 21:23:15 +0200
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: imagemagick errors under cygwin on 64-bit Win 7 system
References: <loom DOT 20120812T142816-982 AT post DOT gmane DOT org> <5027B4AC DOT 7070407 AT gmail DOT com> <loom DOT 20120814T020312-509 AT post DOT gmane DOT org> <CE9C056E12502146A72FD81290379E9A495FFE3C AT ENFIRHMBX1 DOT datcon DOT co DOT uk> <502A5675 DOT 8010202 AT gmail DOT com> <CANLSjUteBXH7P6fBFqsvK3S_F2kZdVT9Qn9wpYGAX-R-4GEPog AT mail DOT gmail DOT com> <20120814150922 DOT GD18059 AT calimero DOT vinschen DOT de> <CANLSjUtVqVLP3jT3H3oBHT87Bfxe3ssRWBp9q2n_DRLv6Z2vxg AT mail DOT gmail DOT com> <20120814171436 DOT GG18059 AT calimero DOT vinschen DOT de> <CANLSjUtUxA2sCEQYUaOpN55UUMofTN+27muz_BTxD_wa8S-pSg AT mail DOT gmail DOT com>
In-Reply-To: <CANLSjUtUxA2sCEQYUaOpN55UUMofTN+27muz_BTxD_wa8S-pSg@mail.gmail.com>
X-IsSubscribed: yes
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

On 8/14/2012 7:44 PM, Paul Thompson wrote:
>> There's autorebase, which is called from setup, but the method is not
>> entirely foolproof.  If you installed exactly once and then don't start
>> setup again unless new packages are available, you're ok, but if you
>> start setup a couple of times to install more packages you forgot in
>> the first run, then autorebase won't be triggered and the DLLs installed
>> in the subsequent setup runs won't be rebased.  A manual rebaseall
>> will fix that.
>
>
> And that is exactly what I did - I ran setup several times to add stuff.
>
> I will do the manual rebaseall
>

Paul,
it is not a rebase error.
It is ImageMagick mishandling the missing font.

GraphickMagick equivalent is correctly handling the case and the
error message is more clear.

$ gm  montage -label "D Brausch Wedding,1951" zimg002.miff -font Arial 
-pointsize 20 -frame 40 -geometry +0+0 zimg002.png
gm montage: Unable to read font (arial.ttf) [No such file or directory].

The workaround for both "montage" and "gm montage" is to copy arial.ttf
in the current directory
something like
"cp /cygdrive/c/Windows/Fonts/arial.ttf ."

ImageMagick is also able to use the TTF font if installed in the X
directory  /usr/share/fonts/TTF and montage is run inside xterm
instead of mintty.
GM is not handling such case, but I have no time to investigate.

Regards
Marco







--
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