Menu

#47 Terminus font not found on Fedora 16

v1.0
closed-fixed
nobody
None
5
2015-04-28
2012-05-22
No

When I try to run xqodem, xterm complains that the terminus-20 font isn't found. I changed the term-font environment variable in the xqodem script from:
font_xterm="terminus-20"
to a more old school method:
font_xterm="-*-terminus-*-*-normal-*-20-*-*-*-*-*-*-*"

and that fixed it for me. I'm not sure why this works on other systems (I'm assuming it works anyway).

Discussion

  • Autumn Lamonte

    Autumn Lamonte - 2012-05-23
    • status: open --> open-accepted
     
  • Autumn Lamonte

    Autumn Lamonte - 2012-05-23

    Thank you for reporting this.

    When I used "-*-terminus-*-*-normal-*-20-*-*-*-*-*-*-*" I got italic and a lot of missing CP437 glyphs (menu lines in phonebook for example).

    However this looked the way "terminus-20" does on Debian:

    font_xterm="-*-terminus-*-r-normal-*-20-*-*-*-*-*-iso10646-*"

    How does this look for you? If it works, I'll commit the change to CVS.

     
  • Richard Shaw

    Richard Shaw - 2012-05-23

    I'm not sure why but that doesn't work for me...

    $ xqodem
    xterm: cannot load font '-*-terminus-*-r-normal-*-20-*-*-*-*-*-iso10646-*'
    xterm: cannot load font '-*-terminus-*-r-normal-*-20-*-*-*-*-*-iso10646-*'

    I wonder if this is a difference in the way the terminus fonts are packaged between distros?

    I'd like to see if we can find something that works for both but an alternative approach may be to make it configurable from ./configure.

     
  • Richard Shaw

    Richard Shaw - 2012-05-24

    Interesting, it didn't work over ssh/x11 forwarding via cygwin, but now that I'm at home it worked fine.

     
  • Autumn Lamonte

    Autumn Lamonte - 2012-05-24
     
  • Autumn Lamonte

    Autumn Lamonte - 2012-05-24

    I changed xqodem to look for both terminus and bolkov-vga (in that order) for uxterm, and resort to a hardcoded terminus if neither are found by xlsfonts. Other fonts can be added to the search list (FONTS="... ...") as we find more that include all the CP437 glyphs. If none of these are found, uxterm will complain and switch to "fixed".

    How does that look for you?

     
  • Richard Shaw

    Richard Shaw - 2012-05-24

    Seemed to work fine!

    Thanks,
    Richard

     
  • Autumn Lamonte

    Autumn Lamonte - 2015-04-28

    Brought forward to the git repo.

     
  • Autumn Lamonte

    Autumn Lamonte - 2015-04-28
    • status: open-accepted --> closed-fixed
    • Group: --> v1.0
     

Log in to post a comment.