Package: gsfonts
Version: 8.14+v8.11+urw-0.2
Severity: normal

The file  /etc/defoma/hints/gsfonts.hints  distributed with "sarge"
appears to have been generated by the  defoma-hints  script.  But the
resulting hint-file requires a lot of correction to be useful.

There are several problems:

1. The font  /usr/share/fonts/type1/gsfonts/a010013l.afm  is assigned

        FontName        URWGothicL-Book
        Family          URW_Gothic_L
        GeneralFamily   Gothic
        Weight          Book

but the instructions in /usr/share/doc/defoma-doc/developers.html/ch1.html
say to assign a "PostScript-like font name".  The PostScript name for the
corresponding PS font (ITC Avant Garde Gothic Book) is AvantGarde-Book.

Clearly the FontName assigned is acceptable, as it isn't the original
ITC font.  But the Family should be AvantGarde_Gothic, or maybe
Avant_Garde_Gothic (using the defoma convention of replacing spaces
with underscores).  I have tried using *both*

  Family = URW_Gothic_L
  Family = Avant_Garde_Gothic

in the hintfile, and it appears that this just makes 2 different entries
for the font; but maybe this can cause problems.

Similarly, the GeneralFamily should be SansSerif.  Note that the doc
file cited above says: "The values of this HintType for alphabetical
fonts are Roman, SansSerif, Typewriter and Script. The values for
CJK hieroglyphs are Mincho, Gothic and Maru."  This seems to reserve
"Gothic" for CJK fonts.  [Note that this is an incorrect use of the
term "hieroglyphs"; it should just be "glyphs".]

In any case, the term "Gothic" is used very ambiguously by typographers,
and is used differently in England and in North America: on the one
hand, it's used to mean the group of typefaces formerly used to print
German (also known as "Blackletter" and "Fraktur"); on the other hand,
it's used (as ITC did) to indicate "a square-cut sans-serif typeface"
according to numerous dictionaries.  We would be better off avoiding
this troublesome term entirely; but I suppose if it is used to identify
a class of CJK fonts, it may cause minimal confusion.

I also think it would be useful to add:

  Alias = AvantGarde-Book

to the hintfile.  This makes the actual PostScript name of the font
available to applications.

2. Likewise, this same font is assigned

        Weight = Book

which is nonsense; it ought to be Medium.  For the font  URWGothicL-Demi
in  /usr/share/fonts/type1/gsfonts/a010015l.afm  we find

        Weight = Demi

which ought to be bold.  And the Zapf Dingbats are assigned

        Weight = Regular

which ought to be Medium.


It's clear that these difficulties are mostly a result of mechanically
decomposing the font name in the defoma-hints script, which isn't very
clever.  It provides a promising beginning, but cannot be used without
some hand-editing.


3. A disturbing consequence of the lack of real PostScript fontnames in
the gsfonts.hints file is the disappearance of such familiar names as
Times from the font-selection menu in mozilla.  By judiciously adding real
PostScript names as aliases , it's possible to get Times back in the list
(though I have not yet managed to get Palatino there.)  I believe some
of the difficulty is due to fontconfig.  There are so many pieces to the
font puzzle that several rounds of tidying-up are probably required to
make it all work smoothly.


Here's the result of

        diff -Naur  gsfonts.hints  gsfonts.hints.orig


--- gsfonts.hints       2005-06-29 21:19:55.000000000 -0700
+++ gsfonts.hints.orig  2005-06-29 20:15:05.000000000 -0700
@@ -7,9 +7,8 @@
   FontName = URWGothicL-Book
   Charset = ISO8859-1
   Family = URW_Gothic_L
-  Family = Avant_Garde_Gothic
-  GeneralFamily = SansSerif
-  Weight = Medium
+  GeneralFamily = Gothic
+  Weight = Book
   Width = Variable
   Shape = NoSerif Upright
   Priority = 20
@@ -36,9 +35,8 @@
   FontName = URWGothicL-Demi
   Charset = ISO8859-1
   Family = URW_Gothic_L
-  Family = Avant_Garde_Gothic
-  GeneralFamily = SansSerif
-  Weight = Bold
+  GeneralFamily = Gothic
+  Weight = Demi
   Width = Variable
   Shape = NoSerif Upright
   Priority = 20
@@ -58,14 +56,13 @@
 begin /usr/share/fonts/type1/gsfonts/a010033l.pfb
   AFM = /usr/share/fonts/type1/gsfonts/a010033l.afm
   FaceNum = 6
-  Inherit = Family GeneralFamily Weight Width Shape Priority
+  inherit = Family GeneralFamily Weight Width Shape Priority
   Foundry = URW
   FontName = URWGothicL-BookObli
   Charset = ISO8859-1
   Family = URW_Gothic_L
-  Family = Avant_Garde_Gothic
-  GeneralFamily = SansSerif
-  Weight = Medium
+  GeneralFamily = Gothic
+  Weight = Book
   Width = Variable
   Shape = NoSerif Oblique
   Priority = 20
@@ -90,9 +87,8 @@
   FontName = URWGothicL-DemiObli
   Charset = ISO8859-1
   Family = URW_Gothic_L
-  Family = Avant_Garde_Gothic
-  GeneralFamily = SansSerif
-  Weight = Bold
+  GeneralFamily = Gothic
+  Weight = Demi
   Width = Variable
   Shape = NoSerif Oblique
   Priority = 20
@@ -172,7 +168,7 @@
   Charset = ISO8859-1
   Family = URW_Bookman_L
   GeneralFamily = Roman
-  Weight = Medium
+  Weight = Regular
   Width = Variable
   Shape = Italic Serif
   Priority = 20
@@ -224,7 +220,7 @@
   Charset = ISO8859-1
   Family = Century_Schoolbook_L
   GeneralFamily = Roman
-  Weight = Medium
+  Weight = Roman
   Width = Variable
   Shape = Upright Serif
   Priority = 20
@@ -278,7 +274,7 @@
   Charset = ISO8859-1
   Family = Century_Schoolbook_L
   GeneralFamily = Roman
-  Weight = Medium
+  Weight = Regular
   Width = Variable
   Shape = Italic Serif
   Priority = 20
@@ -326,7 +322,7 @@
   Foundry = URW
   FontName = Dingbats
   Charset = font-specific
-  Family = ZapfDingbats
+  Family = Dingbats
   GeneralFamily = Symbol
   Weight = Regular
   Width = Variable
@@ -344,7 +340,7 @@
   Charset = ISO8859-1
   Family = Nimbus_Sans_L
   GeneralFamily = SansSerif
-  Weight = Medium
+  Weight = Regular
   Width = Variable
   Shape = NoSerif Upright
   Priority = 20
@@ -398,7 +394,7 @@
   Charset = ISO8859-1
   Family = Nimbus_Sans_L
   GeneralFamily = SansSerif
-  Weight = Medium
+  Weight = Regular
   Width = Variable
   Shape = NoSerif Italic
   Priority = 20
@@ -450,7 +446,7 @@
   Charset = ISO8859-1
   Family = Nimbus_Sans_L
   GeneralFamily = SansSerif
-  Weight = Medium
+  Weight = Regular
   Width = Variable
   Shape = NoSerif Upright Condensed
   Priority = 20
@@ -496,13 +492,13 @@
 begin /usr/share/fonts/type1/gsfonts/n019063l.pfb
   AFM = /usr/share/fonts/type1/gsfonts/n019063l.afm
   FaceNum = 6
-  Inherit = Family GeneralFamily Weight Width Shape Priority
+  INherit = Family GeneralFamily Weight Width Shape Priority
   Foundry = URW
   FontName = NimbusSanL-ReguCondItal
   Charset = ISO8859-1
   Family = Nimbus_Sans_L
   GeneralFamily = SansSerif
-  Weight = Medium
+  Weight = Regular
   Width = Variable
   Shape = NoSerif Italic Condensed
   Priority = 20
@@ -553,14 +549,12 @@
   FontName = NimbusRomNo9L-Regu
   Charset = ISO8859-1
   Family = Nimbus_Roman_No9_L
-  Family = Times
   GeneralFamily = Roman
-  Weight = Medium
+  Weight = Regular
   Width = Variable
   Shape = Serif Upright
   Priority = 20
   Alias = Times-Roman
-  Alias = Times
   X-FontName = -urw-nimbus_roman_no9_l-medium-r-normal--0-0-0-0-p-0-iso8859-1
   Charset1 = ISO8859-2
   X-FontName1 = -urw-nimbus_roman_no9_l-medium-r-normal--0-0-0-0-p-0-iso8859-2
@@ -583,7 +577,6 @@
   FontName = NimbusRomNo9L-Medi
   Charset = ISO8859-1
   Family = Nimbus_Roman_No9_L
-  Family = Times
   GeneralFamily = Roman
   Weight = Bold
   Width = Variable
@@ -610,9 +603,8 @@
   FontName = NimbusRomNo9L-ReguItal
   Charset = ISO8859-1
   Family = Nimbus_Roman_No9_L
-  Family = Times
   GeneralFamily = Roman
-  Weight = Medium
+  Weight = Regular
   Width = Variable
   Shape = Serif Italic
   Priority = 20
@@ -637,7 +629,6 @@
   FontName = NimbusRomNo9L-MediItal
   Charset = ISO8859-1
   Family = Nimbus_Roman_No9_L
-  Family = Times
   GeneralFamily = Roman
   Weight = Bold
   Width = Variable
@@ -665,7 +656,7 @@
   Charset = ISO8859-1
   Family = Nimbus_Mono_L
   GeneralFamily = Typewriter
-  Weight = Semilight
+  Weight = Regular
   Width = Fixed
   Shape = Upright Serif
   Priority = 20
@@ -719,7 +710,7 @@
   Charset = ISO8859-1
   Family = Nimbus_Mono_L
   GeneralFamily = Typewriter
-  Weight = Semilight
+  Weight = Regular
   Width = Fixed
   Shape = Oblique Serif
   Priority = 20
@@ -771,7 +762,7 @@
   Charset = ISO8859-1
   Family = URW_Palladio_L
   GeneralFamily = Roman
-  Weight = Medium
+  Weight = Roman
   Width = Variable
   Shape = Serif Upright
   Priority = 20
@@ -825,7 +816,7 @@
   Charset = ISO8859-1
   Family = URW_Palladio_L
   GeneralFamily = Roman
-  Weight = Medium
+  Weight = Regular
   Width = Variable
   Shape = Serif Italic
   Priority = 20
@@ -875,7 +866,7 @@
   Charset = font-specific
   Family = Symbol
   GeneralFamily = Symbol
-  Weight = Medium
+  Weight = Regular
   Width = Variable
   Shape = Upright
   Priority = 20
@@ -890,7 +881,7 @@
   FontName = URWChanceryL-MediItal
   Charset = ISO8859-1
   Family = URW_Chancery_L
-  GeneralFamily = Script
+  GeneralFamily = Roman
   Weight = Medium
   Width = Variable
   Shape = Serif Italic

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.18-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages gsfonts depends on:
ii  defoma                        0.11.8-0.1 Debian Font Manager -- automatic f

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to