delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/12/14:42:50

X-Recipient: archive-cygwin AT delorie DOT 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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=YHvv1eHSgi3vHyzM
WabaOeiZhWThIMxEtQUS1g8E7tJtIdjnCgolgN9WOBGtLh0GAG9CB/bjtQAEB7T1
xUM8z9fkw4hMnakz1jKws8mb5bH4KA1qEWlKKIRt9qIDj/lbV55pq+Rbz+MgjLgx
9qwRt/ZVoAxsAU6ZCG5Jpkhi/UI=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=3q0TKEmg6hQ/ahoN+SpSqg
Kcfcs=; b=y48ko1u26W2n0rQmzPYmEenbwI6d8Kv8x5phDlg9uFABiwjqDCFrR+
5R+neP6xffW9p5hygvFWXYX+3AiEWvf7/7fiWTA4OUSGb62nHDy8jCjKmPC9lhWt
cKd9VFM+i6PKwiqB6AMirNbkTNtQ9ej6ryTMPyORXnnCHmb2XVCi4=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Grace, courier, UD:il
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.3 cv=cav8UELM c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=yIfbXyKrAAAA:8 a=20KFwNOVAAAA:8 a=fC_GnaXG1WlA9kqCVhIA:9 a=QEXdDO2ut3YA:10 a=33Ag7CgXNi0A:10 a=uyAcAFhof4AA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=gAZuYHTgtdx8AbkcJ_XD:22
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: xmgrace fails, cannot find base type1 fonts
To: cygwin AT cygwin DOT com
References: <DM5PR05MB32738C9C37761CA92A07D0AFE3DE0 AT DM5PR05MB3273 DOT namprd05 DOT prod DOT outlook DOT com> <DM5PR05MB32739AC619593369F11A47DDE3D30 AT DM5PR05MB3273 DOT namprd05 DOT prod DOT outlook DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <846279dc-90db-0e51-034b-6242d6497107@SystematicSw.ab.ca>
Date: Mon, 12 Mar 2018 12:42:34 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <DM5PR05MB32739AC619593369F11A47DDE3D30@DM5PR05MB3273.namprd05.prod.outlook.com>
X-CMAE-Envelope: MS4wfOS3fx4n7M9FfXz5QysgCciOoac+Q0qQwhqv3+Avis6r/d4SMeLipegdLuLpe0uQMLvkKkhzoMUfRpS9GaMQQjRajRx7/fHynlZUOOff8IaHxDFRBjcm cefsITOkS2e9uL6ecjE8NVVBPoZbRV2U2Nt1YklOuJbNz//xaLsPqqY8L76NFzuaI5PXbRm0WW5xLg==
X-IsSubscribed: yes

On 2018-03-12 10:11, Hunter, Kendall wrote:
> 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.

Grace project considers it a downstream distro issue:
http://plasma-gate.weizmann.ac.il/Grace/phpbb/viewtopic.php?f=3&t=3285

Detailed analysis, workarounds, and patches for Fedora are at:
https://bugzilla.redhat.com/show_bug.cgi?id=1502175

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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