English

Error: Launching ArcView GIS returns font error messages on the console

Error Message

When starting ArcView GIS in the new Common Desktop Environment (CDE) the following error may occur:

"warning font "-dt-interface system-medium-r-normal-l*************:"
cannot be loaded, loading default font instead, while initializing
fonts def font initializing windows "winerr"

Cause

The font warning message is a problem in the new Common Desktop Environment interface.

Solution or Workaround

Edit the Dtwm file under the /usr/dt/app-defaults/<locale> directory. Depending on the locale you are using, such as C, en_US, navigate to that directory and edit the Dtwm file. To determine which locale you are using, type:

# cd /usr/dt/app-defaults
# ls

1. If there is more than one locale under this directory, change directories to all the locales and edit the Dtwm file under each locale. The example below shows how to edit the Dtwm file under the C locale directory.

As root,

# cd /usr/dt/app-defaults/C
# vi Dtwm

Change the following lines from:

Dtwm*FrontPanel*highResFontList: \ 
-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:

Dtwm*FrontPanel*mediumResFontList: \
-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:

Dtwm*FrontPanel*lowResFontList: \
-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:

to:

Dtwm*FrontPanel*highResFontList: \ 
-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*

Dtwm*FrontPanel*mediumResFontList: \
-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*

Dtwm*FrontPanel*lowResFontList: \
-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*

2. Solaris Workstations only

As root,

# cd /usr/dt/config/C
# vi sys.resources
Change the following line from:

*FontList:  -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:

to:

*FontList:  -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*

3. IBM RISC System/6000 Workstations only

As root,

# cd /usr/lpp/X11/lib/X11/app-defaults
# vi Mwm
Change the following line from:

Mwm*fontList:  -dt-interface system-medium-r-normal-L*-*-*-*-*-*-*-*:

to:

Mwm*fontList:  -dt-interface system-medium-r-normal-L*-*-*-*-*-*-*-*

Warning:
Remove the ":" at the end of strings. This change does not require a log out or reboot of the system to become active.