我最近用 GNOME 全新安装了 Ubuntu 20.04,ddd
昨天安装了。ddd
字体大小太小(12)所以我在首选项中将值更改为defaultFontSize
(200
从120
,以1/10点为单位),但它没有任何效果。我还尝试variableWidthFont
了手册上所说的设置“被指定为 X 字体规范”。它也没有效果。
这是我开始时的输出ddd
:
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-*-200-*-*-*-*-iso8859-*" to type FontStruct
(Annoyed? Try 'Edit->Preferences->General->Suppress X Warnings'!)
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-*-170-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-lucidatypewriter-medium-r-*-*-*-200-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-*-200-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-200-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-*-*-*-*-200-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-bold-*-*-*-*-200-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-300-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-symbol-*-*-*-*-*-200-*-*-*-*-adobe-*" to type FontStruct
Warning: Could not load font "-*-lucidatypewriter-medium-*-*-*-*-200-*-*-*-*-iso8859-*", using font "fixed" instead
Warning: Could not load font "-*-lucidatypewriter-medium-r-*-*-*-200-*-*-*-*-iso8859-*", using font "fixed" instead
Warning: Could not load font "-*-lucidatypewriter-bold-*-*-*-*-200-*-*-*-*-iso8859-*", using font "fixed" instead
我是否必须在 Ubuntu 20.04 中安装任何字体包才能使其正常工作?
我在Stack Overflow的 ubuntu问题中运行 ddd 时发现了警告,它给了我解决方案。跑:
并注销并重新登录。然后您可以看到字体大小发生了变化。
我在 Ubuntu 20.04(不仅仅是 for
ddd
)上遇到了同样的问题,发现它与我的新高分辨率显示器(3840x2160)有关。由于 Ubuntu 不需要这么高的分辨率,我将其降低到 2560x1440,一切都很好,包括ddd
.