[tex-live] Asymptote/DviPS and ghostscript (gone) epswrite device

Reinhard Kotucha reinhard.kotucha at web.de
Sat Feb 14 02:06:05 CET 2015


On 2015-02-09 at 12:24:46 +0100, Dr. Werner Fink wrote:

 > AFAICR there *are* bugs in the original URW fonts which are old but
 > nevertheless bugs:
 > 
 >   http://bugzilla.opensuse.org/show_bug.cgi?id=367188
 >   http://bugzilla.opensuse.org/show_bug.cgi?id=51778
 > 
 > it could be that this had been fixed in the ghostscript sources.
 > As I can remember that I had reported this.  But I'm not maintainer
 > of ghostscript as I'm busy with the systemd matinainership, therefore
 > I can not say if the ghostscript variant of the URW fonts had been
 > fixed at this points.  See attachment for the old patch (it requires
 > to expand the the pfb fonts to pfa fonts before patching).

Hi Werner,
there are a few funny things indeed.  The font "Nimbus Mono L Regular"
(Courier), for instance, sets "/isFixedPitch false def".  This is
strange.  However, it's not a bug.  According to the Type1 specs, the
whole /FontInfo dictionary is optional and doesn't have to exist at
all.

Thus any software which relies on it is faulty.  Ghostscript, for
instance, doesn't rely on /isFixedPitch at all and compares the widths
of the glyphs in a font in order to decide whether it's monospaced.

 > - /FullName (Nimbus Sans L Regular Condensed) readonly def
 > + /FullName (Nimbus Sans L Condensed Regular) readonly def
 > - /FamilyName (Nimbus Sans L) readonly def
 > + /FamilyName (Nimbus Sans L Condensed) readonly def

Neither TeX nor any PostScript interpreter depends on these entries.
They are part of the /FontInfo dictionary and thus don't have to
exist at all. 

On the other hand, all fonts I've seen have these entries and it's
compelling to make use of them.  But if programs rely on conventions
(Condensed Regular instead of Regular Condensed), it's better to
modify the programs rather than the fonts.

Since all programs are using fontconfig nowadays, couldn't fontconfig
provide aliases?  I'm not familiar with fontconfig at all but hasn't
it been invented in order to solve such problems in the first place?

Modifying fonts is definitely the worst thing we can do for obvious
reasons. 

Regards,
  Reinhard


> --- n021004l.pfa.~1~	2004-03-24 12:00:35.274859345 +0100
 > +++ n021004l.pfa	2004-03-24 12:02:25.536099592 +0100
 > @@ -21,7 +21,7 @@
 >   /Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
 >   /FullName (Nimbus Roman No9 L Medium) readonly def
 >   /FamilyName (Nimbus Roman No9 L) readonly def
 > - /Weight (Medium) readonly def
 > + /Weight (Bold) readonly def
 >   /FSType 0 def
 >   /ItalicAngle 0 def
 >   /isFixedPitch false def
 > --- n021024l.pfa.~1~	2004-03-24 12:01:46.029254461 +0100
 > +++ n021024l.pfa	2004-03-24 12:02:47.129642326 +0100
 > @@ -21,7 +21,7 @@
 >   /Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
 >   /FullName (Nimbus Roman No9 L Medium Italic) readonly def
 >   /FamilyName (Nimbus Roman No9 L) readonly def
 > - /Weight (Medium) readonly def
 > + /Weight (Bold) readonly def
 >   /FSType 0 def
 >   /ItalicAngle -15.3 def
 >   /isFixedPitch false def
 > --- n022004l.pfa	2004-03-26 01:12:04.624871931 +0100
 > +++ n022004l.pfa	2004-03-26 01:10:22.160022000 +0100
 > @@ -24,7 +24,7 @@
 >   /Weight (Bold) readonly def
 >   /FSType 0 def
 >   /ItalicAngle 0 def
 > - /isFixedPitch false def
 > + /isFixedPitch true def
 >   /UnderlinePosition -100 def
 >   /UnderlineThickness 50 def
 >  end readonly def
 > @@ -3747,4 +3747,4 @@
 >  0000000000000000000000000000000000000000000000000000000000000000
 >  0000000000000000000000000000000000000000000000000000000000000000
 >  cleartomark
 > -{restore}if
 > \ No newline at end of file
 > +{restore}if
 > --- n022023l.pfa	2004-03-26 01:12:04.630870693 +0100
 > +++ n022023l.pfa	2004-03-26 01:10:54.092430000 +0100
 > @@ -24,7 +24,7 @@
 >   /Weight (Regular) readonly def
 >   /FSType 0 def
 >   /ItalicAngle -12 def
 > - /isFixedPitch false def
 > + /isFixedPitch true def
 >   /UnderlinePosition -100 def
 >   /UnderlineThickness 50 def
 >  end readonly def
 > @@ -3145,4 +3145,4 @@
 >  0000000000000000000000000000000000000000000000000000000000000000
 >  0000000000000000000000000000000000000000000000000000000000000000
 >  cleartomark
 > -{restore}if
 > \ No newline at end of file
 > +{restore}if
 > --- n022024l.pfa	2004-03-26 01:12:04.636869454 +0100
 > +++ n022024l.pfa	2004-03-26 01:11:21.153845000 +0100
 > @@ -24,7 +24,7 @@
 >   /Weight (Bold) readonly def
 >   /FSType 0 def
 >   /ItalicAngle -12 def
 > - /isFixedPitch false def
 > + /isFixedPitch true def
 >   /UnderlinePosition -100 def
 >   /UnderlineThickness 50 def
 >  end readonly def
 > @@ -3554,4 +3554,4 @@
 >  0000000000000000000000000000000000000000000000000000000000000000
 >  0000000000000000000000000000000000000000000000000000000000000000
 >  cleartomark
 > -{restore}if
 > \ No newline at end of file
 > +{restore}if
 > --- n022004l.afm	2002-12-25 21:40:09.000000000 +0100
 > +++ n022004l.afm	2005-03-18 16:10:02.000000000 +0100
 > @@ -7,7 +7,7 @@
 >  Weight Bold
 >  Notice (Copyright (URW)++,Copyright 1999 by (URW)++ Design & Development; Cyrillic glyphs aded by Valek Filippov (C) 2001-2002)
 >  ItalicAngle 0
 > -IsFixedPitch false
 > +IsFixedPitch true
 >  UnderlinePosition -100
 >  UnderlineThickness 50
 >  Version 1.06
 > --- n022023l.afm	2002-12-25 21:38:57.000000000 +0100
 > +++ n022023l.afm	2005-03-18 16:09:40.000000000 +0100
 > @@ -7,7 +7,7 @@
 >  Weight Regular
 >  Notice (Copyright (URW)++,Copyright 1999 by (URW)++ Design & Development; Cyrillic glyphs added by Valek Filippov (C) 2001)
 >  ItalicAngle -12
 > -IsFixedPitch false
 > +IsFixedPitch true
 >  UnderlinePosition -100
 >  UnderlineThickness 50
 >  Version 1.06
 > --- n022024l.afm	2002-12-25 21:40:33.000000000 +0100
 > +++ n022024l.afm	2005-03-18 16:10:25.000000000 +0100
 > @@ -7,7 +7,7 @@
 >  Weight Bold
 >  Notice (Copyright (URW)++,Copyright 1999 by (URW)++ Design & Development; Cyrillic glyphs added by Valek Filippov (C) 2001-2002)
 >  ItalicAngle -12
 > -IsFixedPitch false
 > +IsFixedPitch true
 >  UnderlinePosition -100
 >  UnderlineThickness 50
 >  Version 1.06
 > --- n019043l.pfa.~1~	2008-03-06 17:23:47.000000000 +0100
 > +++ n019043l.pfa	2008-03-06 17:25:20.000000000 +0100
 > @@ -26,8 +26,8 @@
 >  /FontInfo 10 dict dup begin
 >   /version (1.06) readonly def
 >   /Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
 > - /FullName (Nimbus Sans L Regular Condensed) readonly def
 > - /FamilyName (Nimbus Sans L) readonly def
 > + /FullName (Nimbus Sans L Condensed Regular) readonly def
 > + /FamilyName (Nimbus Sans L Condensed) readonly def
 >   /Weight (Regular) readonly def
 >   /FSType 0 def
 >   /ItalicAngle 0 def
 > --- n019044l.pfa.~1~	2008-03-06 17:23:47.000000000 +0100
 > +++ n019044l.pfa	2008-03-06 17:26:16.000000000 +0100
 > @@ -26,8 +26,8 @@
 >  /FontInfo 10 dict dup begin
 >   /version (1.06) readonly def
 >   /Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001) readonly def
 > - /FullName (Nimbus Sans L Bold Condensed) readonly def
 > - /FamilyName (Nimbus Sans L) readonly def
 > + /FullName (Nimbus Sans L Condensed Bold) readonly def
 > + /FamilyName (Nimbus Sans L Condensed) readonly def
 >   /Weight (Bold) readonly def
 >   /FSType 0 def
 >   /ItalicAngle 0 def
 > --- n019063l.pfa.~1~	2008-03-06 17:23:47.000000000 +0100
 > +++ n019063l.pfa	2008-03-06 17:27:16.000000000 +0100
 > @@ -26,8 +26,8 @@
 >  /FontInfo 10 dict dup begin
 >   /version (1.06) readonly def
 >   /Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001) readonly def
 > - /FullName (Nimbus Sans L Regular Condensed Italic) readonly def
 > - /FamilyName (Nimbus Sans L) readonly def
 > + /FullName (Nimbus Sans L Condensed Regular Italic) readonly def
 > + /FamilyName (Nimbus Sans L Condensed) readonly def
 >   /Weight (Regular) readonly def
 >   /FSType 0 def
 >   /ItalicAngle -9.9 def
 > --- n019064l.pfa.~1~	2008-03-06 17:23:47.000000000 +0100
 > +++ n019064l.pfa	2008-03-06 17:28:06.000000000 +0100
 > @@ -19,8 +19,8 @@
 >  /FontInfo 10 dict dup begin
 >   /version (1.06) readonly def
 >   /Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
 > - /FullName (Nimbus Sans L Bold Condensed Italic) readonly def
 > - /FamilyName (Nimbus Sans L) readonly def
 > + /FullName (Nimbus Sans L Condensed Bold Italic) readonly def
 > + /FamilyName (Nimbus Sans L Condensed) readonly def
 >   /Weight (Bold) readonly def
 >   /FSType 12 def
 >   /ItalicAngle -9.9 def

-- 
------------------------------------------------------------------
Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de
------------------------------------------------------------------


More information about the tex-live mailing list