KEEP K.I.S.S.

tk's blog

Windows 下修改 Inkscape 和 Gimp 字体

tk posted @ Sep 27, 2013 12:26:09 AM in 业余 with tags gtk+ 美化 , 4838 阅读

基于Gtk+的程序运行在Windows下默认字体是很简陋的,修改方法基本是一致的,可以参照这篇文章GTK+ 程序字体的设置(被墙)。

以 Gimp 2.8.6 为例,找到程序安装目录,然后进入 ..\etc\gtk-2.0\ 目录,打开gtkrc.zh_CN(根据系统语言环境后缀名可能不同,比如繁体对应 gtkrc.zh_TW )文件,如果不存在则新建,修改内容为:

style "user-font" { 
font_name = "Microsoft YaHei 10" 
}

widget_class "*" style "user-font"

gtk-font-name="Microsoft YaHei 10"

这样就会使程序的字体变为微软雅黑。

如果不行则说明程序默认没有使用Native Window Syle,这时,打开目录下的 gtkrc 文件,将其内容修改为:

gtk-theme-name = "MS-Windows"

保存后重开程序即可。

PS: 在默认安装下,Gimp 只需前一步即可修改字体,而 Inkscape 则需要第二步才能完成字体修改。

AHSEC 11th Question 说:
Aug 25, 2022 07:26:12 PM

Assam Class 11th Important Model Question Paper 2023 List is Released in Online Mode. AHSEC Board Class Important Model Question Paper 2023 Details are Given Below. Assam 11th Standard Assamese, Hindi, English, Mathematics, Physics, Biology, Chemistry, Botany, Zoology, Political Science, Economics, Business Studies, Accountancy, and Other Subjects Important Model Question Paper 2023 will be Updates on the Official Website. Important Model Question Paper 2023 are a Crucial Two to the Pursuing Candidates. AHSEC 11th Question Paper 2023 AHSEC Assam Learning Outcome Last Year Important Model Question Paper 2023 are Download Here. For More Details Regarding on Assam Higher Secondary Second Year Board Important Model Question Paper 2023 Kindly Visit the Official Web Portal.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter