简体   繁体   English

Qt Creator IDE中的自定义字体

[英]Custom font in Qt Creator IDE

I successfully installed Consolas font on my Ubuntu 12.04 LTE as described here . 我成功地安装在我的Ubuntu 12.04 LTE索拉字体作为说明这里 It looks great in my terminal app, but Qt Creator IDE does not suggest me to use Consolas in its text editor. 在我的终端应用程序中看起来不错,但是Qt Creator IDE不建议我在其文本编辑器中使用Consolas。 More over Qt Creator doesn't see some other system fonts either, but in the same time it has some its own fonts, for example Utopia. Qt Creator的更多内容也看不到其他系统字体,但同时它也拥有自己的字体,例如Utopia。

Does somebody know how to make available system fonts in Qt Creator or hardcode additional fonts in custom build of Qt Creator? 有人知道如何在Qt Creator中提供系统字体或在Qt Creator的自定义版本中硬编码其他字体吗?

I have found a workaround. 我找到了一种解决方法。 Qt Creator from Ubuntu Software Center looks very well and it found all my system fonts. 来自Ubuntu软件中心的Qt Creator看起来很好,它找到了我所有的系统字体。 The only drawback is that the latest available version there now is 2.5. 唯一的缺点是现在的最新可用版本是2.5。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM