fla*_*urn 8 ubuntu ddd-debugger
我刚刚在Ubuntu 14.04 LTE上安装了ddd.如果我在命令行上运行它,我会收到以下警告:
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
Run Code Online (Sandbox Code Playgroud)
似乎有很多人遇到了这个问题,但我无法找到解决方案.这是基于谷歌搜索.
任何帮助解决问题的人都表示赞赏.
ddd中似乎有一个与此相关的已知错误。参见https://lists.gnu.org/archive/html/ddd/2012-05/msg00001.html。基本上,它会对安装的字体版本进行硬编码假设。这些假设并不适用于所有发行版。
对于Debian系统,安装xfonts-100dpi然后注销并重新登录应该消除这些消息。如果不是这样,您可能会受到上述问题的影响。