System Administration
Showing results for 
Search instead for 
Do you mean 

Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet

Super Advisor [Founder]

Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet

Hi everybody,

I know the above error message, triggers automatically the answer: "Use an HP-UX box as a font server".

However, my problem is different. I am using for a long time Cygwin/X X Server on my Windows XP PC to connect to HP-UX boxes. To solve the usual problem of missing fonts, I had already set up an HP-UX box as a font server and used the option "-fp tcp/mnisrv:7000" to get the fonts.

Recently, I upgraded my Cygwin installation on my PC. As a result Cygwin/X X Server was upgraded to version 1.5.3 (I do NOT actually remember my previously used version which had no font problem). Now I have the above problem when I run dtterm, swinstall etc. A "comic" font is used instead which makes the screen output disoriented.

The cygwin command to launch X Server on my PC is something like this:

c:\[...]\cygwin\bin\run -p /usr/bin /usr/bin/xwin :2 -query dvnsrv -fp tcp/mnisrv:7000 -clipboard -nodecoration -unixk
ill 1>c:\[...]\xwin2.out 2>c:\[...]\xwin2.err

Any ideas?

Thank you!
4 REPLIES
Exalted Contributor [Founder]

Re: Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet

Shalom,

/sbin/init.d/xfs start
modify:
/etc/rc.config.d/xfs
# to configure auto start.

xhost +
# security test on the HP-UX host.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Super Advisor [Founder]

Re: Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet

Hi Steven,

As I mentioned above, I ALREADY have a font server defined (in the above example, "mnisrv" is the HP-UX box that serves the fonts).

The problem is that the Cygwin/X X Server on my PC cannot use *one* of these fonts.

To be more specific, when I select Font Size = 12.5 in the dtterm Terminal window, I get the "comic" font. All other font sizes are OK.

The error messages for the default (12.5) font are like this:

Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet

The problem is on the new version of Cygwin/X X Server (1.5.3). Other versions or other X Server emulation software have no problem.
Super Advisor [Founder]

Re: Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet

Any ideas?

Thank you again!
Highlighted
Super Advisor [Founder]

Re: Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet

Since new versions of Cygwin/X X Server (1.5.3-7) still have this bug, I stopped using this server and installed "Xming X Server for Windows" from SourceForge.Net. This server does NOT have this problem and works fine.