SUMMARY: Cannot convert string/Missing charsets

From: Deb Heller-Evans <deb_at_tickleme.llnl.gov>
Date: Thu Feb 07 2002 - 11:23:54 EST
(Original post is below)

I was not able to get a "permanent" fix for the problem, but I also haven't
been able to give it much time, either.  Just the same, after reading over
various responses, and surfing the net, I found a fix that I can run after
logging into the CDE.

At http://www.nag.co.uk/numeric/textware/twsupport.html I found two
possible solutions (or actually, workarounds).  The 2nd solution listed
is as follows:


o save the current set of X resources into a file:
  xrdb -query > some_file_name

o save an additional copy of the original X resources
  cp some_file_name some_file_name.orig 
o edit file, removing the resources that you don't want
  You will need to edit the following resources

  *FontList:      -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
  *XmTextField*FontList: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
  *XmText*FontList:  -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
  *buttonFontList:   -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
  *labelFontList:    -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
  *textFontList:     -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:


o reset the X resources by loading the modified file: 
  xrdb -load some_file_name

o if you wish to return to the original environment:
  xrdb -load some_file_name.orig

Additionally, I set an alias to use: 

   alias fixfonts xrdb -load ~/.xres_xrdbq

I don't know much about how CDE works/runs, but I'd like to get this into
a system file that gets run ONCE when I login with CDE, and not for every
xterm - which is why I don't put it in my .cshrc or .login.  

Anyone know what file I might use for this purpose?

Thanks,

d

====================================================================
Original Post:

I'm a server kinda girl, not the CDE kind.  Unfortunately, occassionally
I need to use CDE desktop - but when I do, and start netscape, or use
"vim -g" I get the following warnings (same in both cases):

[31] netscape
Warning: Cannot convert string "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*" to typ
e FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to t
ype FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*" to typ
e FontSet

These same messages are in ~/.dt/startlog.  I've looked in .Xdefaults and such,
but I don't recognize anything that could be causing this - It seems like it is
something in one of my resource files that isn't quite right, but what?

Where should I be looking?

:-)
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Feb 7 10:24:15 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:33 EST