Technical article 105713

When I select the 6x13 font size in ScoTerm, it is as wide as a 10x20 font.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

When I select the 6x13 font size in ScoTerm(XC), it is as wide
as a  10x20 font, but not as high, so the font is compressed and
difficult  to read. All of the font selections from the ScoTerm(XC)
font menu are incorrectly sized. They are smaller than they should
be.

Cause

When running a scoterm, the file /usr/lib/X11/app-defaults/ScoTerm defines all the default resources for the scoterm. It seems by default that the section defining which fonts are to be used when choosing the font size is commented out. Below is the default entry:

!
! Font resources
!

! Don't want default value for resource font from font/FontDefaults

*Ansi*font:
!*Ansi*font:                    ibm6x13
!*Ansi*boldFont:                ibm6x13B
!*Ansi*font1:                   ibm6x13
!*Ansi*boldFont1:               ibm6x13B
!*Ansi*font2:                   ibm8x13
!*Ansi*boldFont2:               ibm8x13B
!*Ansi*font3:                   ibm9x15
!*Ansi*boldFont3:               ibm9x15B
!*Ansi*font4:                   ibm10x20

As no fonts are specified, the default Xserver font (fixed) is used for each of the font sizes chosen from the scoterm(XC).

Solution

As root, edit the file /usr/lib/X11/app-defaults/ScoTerm, using your preferred text editor. If you are using a non-English locale, edit the file /usr/lib/X11/<locale name>/app-defaults/ScoTerm.

Uncomment the following lines by removing the leading ! characters:

!*Ansi*font:                    ibm6x13
!*Ansi*boldFont:                ibm6x13B
!*Ansi*font1:                   ibm6x13
!*Ansi*boldFont1:               ibm6x13B
!*Ansi*font2:                   ibm8x13
!*Ansi*boldFont2:               ibm8x13B
!*Ansi*font3:                   ibm9x15
!*Ansi*boldFont3:               ibm9x15B
!*Ansi*font4:                   ibm10x20

Save the file and exit the editor. From now on, every new scoterm(XC) will allow you to select all font sizes correctly.

From the Xinuos technical article database, record 105713. Reproduced with permission. The original is at www.sco.com/ta/105713, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.