Warning when starting ddd on ubuntu

I just installed ddd on Ubuntu 14.04 LTE. If I run it on the command line, I get the following warnings:

user@user-VirtualBox :~/projects/myproject$ ddd Warning: Cannot convert string "-*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct (Annoyed? Try 'Edit->Preferences->General->Suppress X Warnings'!) Warning: Cannot convert string "-*-helvetica-medium-r-*-*-*-100-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-helvetica-medium-*-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-helvetica-bold-*-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-180-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-symbol-*-*-*-*-*-120-*-*-*-*-adobe-*" to type FontStruct Warning: Could not load font "-*-lucidatypewriter-medium-*-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead Warning: Could not load font "-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead Warning: Could not load font "-*-lucidatypewriter-bold-*-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead 

It seems that many people are experiencing this problem, but I could not find a solution. This is based on google search.

Any help in solving the problem is appreciated.

+5
source share
2 answers

There seems to be a known bug in ddd. See https://lists.gnu.org/archive/html/ddd/2012-05/msg00001.html . This basically makes hard-coded assumptions about which version of the fonts are installed. These assumptions do not work for all distributions.

For Debian systems installing xfonts-100dpi and then logging out and back, these messages should be fixed. If this is not the case, you may be affected by the above problem.

+3
source

I installed the xfonts-100dpi package noted above. After rebooting (Logging out may have worked, but I didn’t.), The problem with ddd resolved itself (in turn, 8 ^}).

This was on Ubuntu 16.04LTS.

This requires the command:

sudo apt-get install xfonts-100dpi

Perhaps Ubuntu people should either install these fonts automatically, or make ddd drag and drop the fonts together when installing ddd.

0
source

All Articles