From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38325 invoked by alias); 26 Feb 2015 11:58:52 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 38305 invoked by uid 89); 26 Feb 2015 11:58:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 X-HELO: demumfd001.nsn-inter.net Received: from demumfd001.nsn-inter.net (HELO demumfd001.nsn-inter.net) (93.183.12.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 26 Feb 2015 11:58:50 +0000 Received: from demuprx017.emea.nsn-intra.net ([10.150.129.56]) by demumfd001.nsn-inter.net (8.14.3/8.14.3) with ESMTP id t1QBwknn008118 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 26 Feb 2015 11:58:46 GMT Received: from [10.149.138.145] ([10.149.138.145]) by demuprx017.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id t1QBwh2n004388 for ; Thu, 26 Feb 2015 12:58:46 +0100 Message-ID: <54EF0A72.9020609@towo.net> Date: Thu, 26 Feb 2015 11:58:00 -0000 From: Thomas Wolff User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: cygwin-apps@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: mscgen-0.20-2 References: <54ED794F.30100@towo.net> <54EE31F0.3050005@tiscali.co.uk> In-Reply-To: <54EE31F0.3050005@tiscali.co.uk> X-TagToolbar-Keys: D20150226125842804 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-size: 1438 X-purgate-ID: 151667::1424951926-00007286-876804ED/0/0 X-SW-Source: 2015-02/txt/msg00313.txt.bz2 On 25.02.2015 21:34, David Stacey wrote: > On 25/02/2015 07:27, Thomas Wolff wrote: >> Am 19.02.2015 um 00:05 schrieb David Stacey: >>> The following package has been updated in the Cygwin distribution: >>> >>> * mscgen-0.20-2 >>> >>> Mscgen is a small programme that parses Message Sequence Chart >>> descriptions and produces PNG, SVG, EPS or server side image maps >>> (ismaps) as the output. >>> >>> This release has been built with libgd3 and three patches from Fedora. >> Please rebuild the package with >> configure --with-freetype >> so the font selection option -F can be used. > > I tried rebuilding with '--with-freetype'. mscgen builds but always > exits with an error code. This is because gdImageStringFT() always > returns the string 'Could not set character size'. By default, the > code is trying to use the 'helvetica' font. I have a goodly selection > of font packages installed. Any ideas? I had similar problems until I found out how to configure fonts. This is very poorly documented. With /etc/fonts/fonts.conf pointing to ~/.fonts, it is actually sufficient to link your font directory to ~/.fonts and you can address all fonts contained therein (including subfolders) by their name like in mscgen -T png -F "Droid Sans" (Somehow by removing this font configuration, I cannot reproduce the 'Could not set...' errors anymore I had yesterday - weird.) ------ Thomas