[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#325400: gs-gpl: should not provide Fontmap.GS and only use defoma



Package: gs-gpl
Version: 8.01-5
Severity: normal

I wanted to change what fonts gs-gpl uses when a PS file calls, e.g.,
for Times-Roman. I therefore registered a hint file with entries like:

begin /usr/share/texmf/fonts/type1/urw/times/utmr8a.pfb
  AFM = /usr/share/texmf/fonts/afm/urw/times/utmr8a.afm
  FontName = Times-Roman
  Charset = ISO8859-1
  Family = Times
  GeneralFamily = Roman
  Weight = Regular
  Width = Variable
  Shape = Normal Upright
  Priority = 30
end

with 'defoma-font register-all <hintfile>'. I confirmed with dfontmgr
that the fonts are installed correctly for 'gs'. However, gs-gpl still
uses the NimbusSerifL provided by gsfonts. Calling gs-gpl with strace
indicates that gs-gpl reades /usr/share/gs-gpl/8.01/lib/Fontmap.GS
before it reads /var/lib/defoma/gs.d/dirs/fonts/Fontmap, and it seems
that one can't overwrite the settings made by Fontmap.GS later on. I was
able to circumvent this by commenting the line in /etc/gs-gpl/Fontmap
that loads Fontmap.GS. However, I think gs-gpl should not provide
Fontmap.GS at all and only use defoma (or /etc/gs-gpl/Fontmap) for font
configuration.

For gs-esp the situation is worse, as there is no '/etc/gs-esp/Fontmap'
and one would have to edit /usr/share/gs-esp/7.07/lib/Fontmap, which is
of course not save with respect to updates.

BTW, Fontmap.GS also defines some fonts that aren't provided in Debian
at all (Utopia).

cheerio
ralf

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

Versions of packages gs-gpl depends on:
ii  gs-common              0.3.7             Common files for different
ii  libc6                  2.3.2.ds1-22      GNU C Library: Shared libr
ii  libgimpprint1          4.2.7-10          The Gimp-Print printer dri
ii  libice6                4.3.0.dfsg.1-14   Inter-Client Exchange libr
ii  libjpeg62              6b-10             The Independent JPEG Group
ii  libpaper1              1.1.14-3          Library for handling paper
ii  libpng12-0             1.2.8rel-1        PNG library - runtime
ii  libsm6                 4.3.0.dfsg.1-14   X Window System Session Ma
ii  libx11-6               4.3.0.dfsg.1-14   X Window System protocol c
ii  libxext6               4.3.0.dfsg.1-14   X Window System miscellane
ii  libxt6                 4.3.0.dfsg.1-14   X Toolkit Intrinsics
ii  xlibs                  4.3.0.dfsg.1-14   X Keyboard Extension (XKB)
ii  zlib1g                 1:1.2.2-4.sarge.2 compression library - runt

-- no debconf information





Reply to: