X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=cHdKtSWddZsEt3vKKQ30M7xJCDAg3oOcAOnTEok6WqdRh1r+LBzQj
	XWPD21rxvhPY6rFpOwg5eBiFttiUT80MtZ9x6eSESiWEJTIwpdmTw+0Asz+e2Z39
	9RK03msMBjmTC9ieCMW1TTjPTaqYc9frYDCoEr+I9PTw62fGyIGpRs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=thparnNLRWZAVQ1nwNFHUxHkiXs=; b=KbNsC+K/THWADLLlgApvZJJxPcBH
	jcrEttEYCE/DYXczHBNE/Vh5OUK2IpI3zuKNbcvBUDI1/fyi+0gWeLq3Xd07uknz
	PKZi2nQVJCZyxEM6ahFntbqA5jkyEuLYY68k7fusHo8+B3tPeUl5j19YmxSYDrCY
	fEYxWXSErTGb01Y=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=BAYES_00,HTML_MESSAGE,SPF_NEUTRAL,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=experiencing, courier, H*c:sk:HMHPRHH, H*M:namprd05
X-HELO: v-fe26-out.ucdenver.edu
From: "Hunter, Kendall" <Kendall.Hunter@ucdenver.edu>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: xmgrace fails, cannot find base type1 fonts
Date: Mon, 12 Mar 2018 16:11:50 +0000
Message-ID: <DM5PR05MB32739AC619593369F11A47DDE3D30@DM5PR05MB3273.namprd05.prod.outlook.com>
References: <DM5PR05MB32738C9C37761CA92A07D0AFE3DE0@DM5PR05MB3273.namprd05.prod.outlook.com>
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;DM5PR05MB2938;7:kr2mq8a41ZQqDnzJXlXR0YJ8Ub1kdVoJZdT79URi2f5uAX16V8hEoIx/srXpIKfOxLkLv+HeW/t6JybMekpUtthimft1Rd+ApkSHFiQ6+4B3ylVnCptTtYKdbmqJ85ek4/HpqsQO/zkoMIfDfHgT31MxLOpZw/xKzNeLGRZnbDwG8RrdUghdE8H4rZBfSy2Q43+Wfn+i1rqsk7frchmf82R0VfaxxbuH3n4JfYlNL8Oa9BzyxrgGCToboNOVo6g5
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: c20ea393-d38b-46f7-680a-08d58833f699
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(8989060)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020);SRVR:DM5PR05MB2938;
x-ms-traffictypediagnostic: DM5PR05MB2938:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Kendall.Hunter@ucdenver.edu;
x-microsoft-antispam-prvs: <DM5PR05MB2938D0A58AED88D8C8381C6FE3D30@DM5PR05MB2938.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(6041310)(20161123564045)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011);SRVR:DM5PR05MB2938;BCL:0;PCL:0;RULEID:;SRVR:DM5PR05MB2938;
x-forefront-prvs: 06098A2863
x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39380400002)(346002)(376002)(396003)(39860400002)(366004)(189003)(199004)(236005)(54896002)(6306002)(81166006)(9686003)(606006)(7736002)(8936002)(25786009)(5640700003)(6436002)(81156014)(55016002)(8676002)(99286004)(66066001)(3660700001)(105586002)(14454004)(1730700003)(68736007)(478600001)(72206003)(76176011)(97736004)(7696005)(6916009)(75432002)(2906002)(316002)(786003)(186003)(26005)(88552002)(6506007)(102836004)(2900100001)(2351001)(5250100002)(2501003)(33656002)(74316002)(53936002)(3280700002)(106356001)(86362001)(5660300001)(6116002)(3846002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR05MB2938;H:DM5PR05MB3273.namprd05.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en;
received-spf: None (protection.outlook.com: ucdenver.edu does not designate permitted sender hosts)
x-microsoft-antispam-message-info: t0F+xiUpdhTrQeMHhnwqbdsYef896U9NsSyyBXCiSxdPg1FRltlpjDHb0ruQbZfFv9bzaGkHJNV6Q89L24UWCyus2ikcgzhYlnrKAd2fCUzgBkL9Qlf7KhnvveiXq3Q/24/Soijw2qmaM6xa44JuNZEhUyp6G047cMFvLpHpF5aA4QD51Ym0oETezemAwZ99dpuSdL/XiZ8tCi4Yrn8awgEVkm0b5Aj0cuyjieJx8yn/XN3kDHurDeK4Bm+yl+gyYPRhJV7kR0+S7ga04r48SO1iPnKjWx0Qc9QYv2zY2QcyTJX8yrfGZBXKhs2nEiptuM6qN68QIqJZr/C3uj67zg==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: c20ea393-d38b-46f7-680a-08d58833f699
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2018 16:11:50.3970 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 563337ca-a517-421a-aae0-1aa5b414fd7f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR05MB2938
X-OriginatorOrg: ucdenver.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w2CGC7cV030357

Hello,

I am experiencing the same problem mentioned in this post<https://cygwin.com/ml/cygwin/2018-01/msg00135.html>: xmgrace fails on cygwin64. It simply doesn't start, even if GRACE_HOME is properly set to /usr/share/grace. I believe I've found a fix for this issue; it is associated with recent changes that have occurred in the urw-base35-fonts package.

In detail: xmgrace as currently built tries to use the type 1 fonts in /usr/share/ghostscript/fonts. It appears (?) to catalog them using a font mapping contained in one of its configuration files, named appropriately enough, FontDataBase, which sits in /usr/share/grace/fonts. It contains this:

14
Times-Roman             Times-Roman             n021003l.pfb
Times-Italic            Times-Italic            n021023l.pfb
Times-Bold              Times-Bold              n021004l.pfb
Times-BoldItalic        Times-BoldItalic        n021024l.pfb
Helvetica               Helvetica               n019003l.pfb
Helvetica-Oblique       Helvetica-Oblique       n019023l.pfb
Helvetica-Bold          Helvetica-Bold          n019004l.pfb
Helvetica-BoldOblique   Helvetica-BoldOblique   n019024l.pfb
Courier                 Courier                 n022003l.pfb
Courier-Oblique         Courier-Oblique         n022023l.pfb
Courier-Bold            Courier-Bold            n022004l.pfb
Courier-BoldOblique     Courier-BoldOblique     n022024l.pfb
Symbol                  Symbol                  s050000l.pfb
ZapfDingbats            ZapfDingbats            d050000l.pfb

The font files - the files listed in the rightmost column of this file - seem to belong in the urw-base35-fonts package, indeed this package search<https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Furw-base35-fonts%2Furw-base35-fonts-20170801-2&grep=n021003l> finds them there. However they aren't there anymore. They have been renamed and are now in /usr/share/fonts/urw-base35/ under the following names (thanks to Ken Brown):

NimbusRoman-Regular.t1
NimbusRoman-Italic.t1
NimbusRoman-Bold.t1
NimbusRoman-BoldItalic.t1
NimbusSans-Regular.t1
NimbusSans-Italic.t1
NimbusSans-Bold.t1
NimbusSans-BoldItalic.t1
NimbusMonoPS-Regular.t1
NimbusMonoPS-Italic.t1
NimbusMonoPS-Bold.t1
NimbusMonoPS-BoldItalic.t1
StandardSymbolsPS.t1
D050000L.t1

I tried changing the FontDataBase file to list these names instead, but that had no effect. So I:

  *   Removed the old symbolic link /usr/share/grace/fonts/type1, which pointed to /usr/share/ghostscript/fonts.
  *   Created a new one that pointed to /usr/share/fonts/urw-base35.
  *   Within urw-base35, I symlinked each old name to the new name (e.g. n021003l.pfb -> NimbusRoman-Regular.t1, and so on for all 14 fonts).

After doing this, xmgrace fired up no problem. So the package could be rebuilt with awareness of the new font location and names, and a fix for now is to simply relink its font directory and link these names as above.

Best

Kendall Hunter

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


