public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: urw-base35-fonts - xmgrace issue
       [not found] <DM5PR05MB32738C9C37761CA92A07D0AFE3DE0@DM5PR05MB3273.namprd05.prod.outlook.com>
@ 2018-03-10  2:37 ` Ken Brown
  2018-03-12 17:09 ` xmgrace fails, cannot find base type1 fonts Hunter, Kendall
  1 sibling, 0 replies; 3+ messages in thread
From: Ken Brown @ 2018-03-10  2:37 UTC (permalink / raw)
  To: cygwin; +Cc: Hunter, Kendall

On 3/9/2018 5:00 PM, Hunter, Kendall wrote:
> Hi Ken,
> 
> I apologize if sending you this email directly is inappropriate; I

Questions about Cygwin packages should always be sent to the Cygwin 
mailing list, not to individual maintainers.  Thanks.

> believe I've found an issue in Cygwin associated with the 
> urw-base35-fonts package and I've found an email suggesting that you are 
> the maintainer.
> 
> I found the same problem as mentioned in this post 
> <https://cygwin.com/ml/cygwin/2018-01/msg00135.html>: xmgrace fails on 
> cygwin64.
> 
> Some detail: xmgrace uses the type 1 fonts in 
> /usr/share/ghostscript/fonts. It appears to access them using a font 
> mapping contained in one of its configuration files, named appropriately 
> enough, FontDataBase. 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
> 
> These font files - the files listed in the last 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. I'm guessing they 
> have been renamed? Does this sound correct? Using find to look for the 
> files, I can't find them anywhere...

Those type 1 fonts are now in the following files in 
/usr/share/fonts/urw-base35/:

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

Ken

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* xmgrace fails, cannot find base type1 fonts
       [not found] <DM5PR05MB32738C9C37761CA92A07D0AFE3DE0@DM5PR05MB3273.namprd05.prod.outlook.com>
  2018-03-10  2:37 ` urw-base35-fonts - xmgrace issue Ken Brown
@ 2018-03-12 17:09 ` Hunter, Kendall
  2018-03-12 18:55   ` Brian Inglis
  1 sibling, 1 reply; 3+ messages in thread
From: Hunter, Kendall @ 2018-03-12 17:09 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: xmgrace fails, cannot find base type1 fonts
  2018-03-12 17:09 ` xmgrace fails, cannot find base type1 fonts Hunter, Kendall
@ 2018-03-12 18:55   ` Brian Inglis
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Inglis @ 2018-03-12 18:55 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-12 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <DM5PR05MB32738C9C37761CA92A07D0AFE3DE0@DM5PR05MB3273.namprd05.prod.outlook.com>
2018-03-10  2:37 ` urw-base35-fonts - xmgrace issue Ken Brown
2018-03-12 17:09 ` xmgrace fails, cannot find base type1 fonts Hunter, Kendall
2018-03-12 18:55   ` Brian Inglis

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