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

Re: -dec-terminal fonts



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Mar 04, 2017 at 10:30:46AM -0500, Harry Putnam wrote:
> I have these fonts as displayed by xlsfonts
> 
> xlsfonts|grep dec
> [...]
> 
> -dec-terminal-bold-r-normal--0-0-75-75-c-0-dec-dectech
> -dec-terminal-bold-r-normal--0-0-75-75-c-0-iso8859-1
> 
> [...]
> 
> -dec-terminal-medium-r-normal--14-140-75-75-c-80-iso8859-1
> -dec-terminal-medium-r-normal--14-140-75-75-c-80-iso8859-1
> decw$cursor
> decw$session

[...]

> But I want to know where the ones listed in xlsfonts come from.  Not
> finding anything on aptitude search that looks likely.  But may under
> a name not including `dec'.

I don't know if there's a way to ask the X server whence a font comes
from, but with a bit of guesswork...

First I checked I've the fonts you note above.

Then I query the X server where it looks for its fonts:

  tomas@rasputin:~$ xset q
  Keyboard Control:
    auto repeat:  on    key click percent:  0    LED mask:  00000000
    XKB indicators:
  [...]
  Colors:
    default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
  Font Path:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,built-ins
  DPMS (Energy Star):
    Standby: 600    Suspend: 600    Off: 600
    DPMS is Enabled
    Monitor is On

(output edited for readability). Since those DEC fonts are most probably
bitmap fonts, and the font description string has an 75 in its dpi field,
/usr/share/fonts/X11/75dpi/ looks like a good candidate. Looking there,
I see no "dec", but two "term" (i.e two file names with "term" in them).
Let's peek into one:
  tomas@rasputin:~$ gunzip < /usr/share/fonts/X11/75dpi/term14.pcf.gz | strings | less
  [...]
  COPYRIGHT
  Copyright (c) 1991 Digital Equipment Corporation. All Rights Reserved.
  _DEC_PRODUCTINFO
  DECterm Fonts V2.2, 11-Nov-1991
  FULL_NAME
  Terminal
  FONT
  -DEC-Terminal-Medium-R-Normal--14-140-75-75-C-80-ISO8859-1
  WEIGHT
  [...]

That looks promising, does it? Now -- which package provided that?
  tomas@rasputin:~$ dpkg -S /usr/share/fonts/X11/75dpi/term14.pcf.gz
  xfonts-75dpi: /usr/share/fonts/X11/75dpi/term14.pcf.gz

Perhaps there's a more canonical way to do that. Comments welcome :)

- -- t

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAli6+dMACgkQBcgs9XrR2kY3pgCfck7aC1Mm2tc4EK+fJepoOA46
SZUAn1lYILfV1mL0klhuVh6XPQJuGg1R
=DwVS
-----END PGP SIGNATURE-----


Reply to: