public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Fergus Daly <fergusd84@outlook.com>
To: Jon Turney <jon.turney@dronecode.org.uk>,
	The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: Frequent Warning messages using gv
Date: Sat, 8 Oct 2022 19:22:33 +0000	[thread overview]
Message-ID: <DB6P18901MB0055FABC8E258303D1289D6FA45E9@DB6P18901MB0055.EURP189.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <a82d0a9e-0970-bef2-2349-9e2fc028928d@dronecode.org.uk>

[-- Attachment #1: Type: text/plain, Size: 2007 bytes --]

Thank you.
Installing these two packages has done the trick, at least for the several files that previously generated warning messages.

Sent via Outlook on my Asus ZenFone 8
________________________________
From: Jon Turney <jon.turney@dronecode.org.uk>
Sent: Saturday, October 8, 2022 2:01:50 PM
To: Fergus Daly <fergusd84@outlook.com>; The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: Frequent Warning messages using gv

On 05/10/2022 06:45, Fergus Daly wrote:
> Whenever I use gv on a PostScript file as in
> $ gv filename.ps
> then a (usually) successful display is (almost invariably) accompanied by Warning messages about font conversions.
> It is not obvious what limitations or errors are affecting the displayed output, if any, and I have got into the habit
> of issuing the command with the qualifier
> $ gv filename.ps 2> /dev/null
> However: the Warning messages whilst occasionally very esoteric nearly always include the form
> Warning: Missing charsets in String to FontSet conversion
> Warning: Cannot convert string "-*-Helvetica-Bold-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
> Warning: Cannot convert string "-*-Helvetica-Medium-R-Normal--*-100-*-*-P-*-ISO8859-1" to type FontStruct
> Warning: Cannot convert string "-*-Helvetica-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
> Warning: Cannot convert string "-*-Helvetica-Medium-R-Normal--*-140-*-*-P-*-ISO8859-1" to type FontStruct
> Is there some additional fonts package or group of packages that I could usefully incorporate into my Cygwin setup that
> would reduce warnings when using gv? (And maybe improve the rendering of outputs.)
> My directory /usr/share/fonts/microsoft/ contains 120+ ttf links, though none looking anything like helv*.

Installing 'xorg-x11-fonts-dpi75' and/or 'xorg-x11-fonts-dpi100' will
probably resolve these warnings.

It's unclear to me if gv needs a dependency on more font packages or
not, since the PS could be using any fonts?


      parent reply	other threads:[~2022-10-08 19:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-05  5:45 Fergus Daly
2022-10-08 12:57 ` Adam Dinwoodie
2022-10-08 13:06   ` Eliot Moss
2022-10-08 13:01 ` Jon Turney
2022-10-08 17:09   ` Ken Brown
2022-10-09  3:45     ` Brian Inglis
2022-10-08 19:22   ` Fergus Daly [this message]

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=DB6P18901MB0055FABC8E258303D1289D6FA45E9@DB6P18901MB0055.EURP189.PROD.OUTLOOK.COM \
    --to=fergusd84@outlook.com \
    --cc=cygwin@cygwin.com \
    --cc=jon.turney@dronecode.org.uk \
    /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).