Xming – Warning: Cannot convert string to type FontStruct
Posted by Emerson Takahashi on May 2, 2009
I have a Windows desktop and I was connecting to a Linux server and starting an X11 application where displayed the following “error” message:
Warning: Cannot convert string “-*-lucida-medium-r-*-*-*-*-*-*-*-*-iso8859-1″ to type FontStruct
I downloaded Xming-fonts and this solved the problem for me.
Jared said
Thanks for the post, but I tried installing the fonts and it didn’t help
The full warning I am getting is:
Warning: Cannot convert string “-misc-fixed-bold-r-normal–14-130-75-75-c-70-iso8859-1″ to type FontStruct
Warning: Cannot convert string “-adobe-helvetica-medium-r-normal–11-*-*-*-*-*-*-*” to type FontStruct
Warning: Cannot convert string “-adobe-helvetica-bold-r-normal–12-*-*-*-*-*-*-*” to type FontStruct
Warning: Cannot convert string “-adobe-helvetica-bold-r-normal–14-*-*-*-*-*-*-*” to type FontStruct
Warning: Cannot convert string “-adobe-helvetica-bold-r-normal–18-*-*-*-*-*-*-*” to type FontStruct
Warning: Cannot convert string “-adobe-helvetica-bold-o-normal–18-*-*-*-*-*-*-*” to type FontStruct
Emerson Takahashi said
Jared, on the computer that you’re trying to open a DISPLAY, do you have an Adobe product installed, like Adobe Reader? It’s looking for Adobe Helvetica. Try to get this font and I think your problem will go away
Jared said
Hi Emerson,
Thanks for the response. I downloaded and install the font pack, however the error was still present. I then added an entry in Xming\font-dirs file, which pointed to the location that the fonts were installed. The error is now gone.
Hope this helps someone else out there!