public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Thomas Wolff <towo@towo.net>
To: cygwin-apps@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: mscgen-0.20-2
Date: Thu, 26 Feb 2015 11:58:00 -0000	[thread overview]
Message-ID: <54EF0A72.9020609@towo.net> (raw)
In-Reply-To: <54EE31F0.3050005@tiscali.co.uk>

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

  reply	other threads:[~2015-02-26 11:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <announce.54E51AC4.9030506@tiscali.co.uk>
2015-02-25  7:27 ` Thomas Wolff
2015-02-25 20:35   ` David Stacey
2015-02-26 11:58     ` Thomas Wolff [this message]
2015-02-26 19:41       ` Thomas Wolff
2015-02-26 22:56       ` David Stacey
2015-02-27 10:24         ` Thomas Wolff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54EF0A72.9020609@towo.net \
    --to=towo@towo.net \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).