Font Warning under Linux

QCKVU Linux may crash upon startup when some of the motif/X font settings end with a colon in them.

A typical warning when you start Qckvu is:

Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Warning: 
    Name: FONTLIST_DEFAULT_TAG_STRING
    Class: XmRendition
    Conversion failed.  Cannot load font.

Warning: 
    Name: FONTLIST_DEFAULT_TAG_STRING
    Class: XmRendition
    Conversion failed.  Cannot load font.

Warning: Missing charsets in String to FontSet conversion


Here is the solution for this problem.

1. Save the original X setting by making a copy of the following files:
    copy xrdb -query to  X_font_orig
    copy xrdb -query to  X_font_mod


2. Edit X_font_mod.
    motif/X  does not not like font settings ending with a colon in them.
    The two typical settings that are causing the crashes are:
  
   *XmText*FontList: -dt-interface  user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
   *XmTextField*FontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:

    If the colon on the end of the font is removed, then there is no crash.


3. After editing run...

     xrdb -load X_font_mod
      
   This enables the new Xfonts to apply to this system/host


4. If you want to go back to your original settings type...
          
     xrdb  X_font_orig



ARTWORK CONVERSION SOFTWARE, INC.       Company Profile
417 Ingalls St., Santa Cruz, CA 95060    Tel (831) 426-6163     Fax 426-2824    email: info@artwork.com

QCKVU Index Artwork Home