您现在的位置:小学生自学网>> 信息>> 学习电脑

Scratch1.4 中文字体调节

作者: 来源: 发布时间:2017年10月01日 点击数:
 

Scratch 1.4 启动后,中文字体很难看。由于是给儿童使用的,这个问题不能将就了。
[转载]WinScratch1.4 <wbr>中文字体调节



仔细查找了配置文件,locale文件夹下放置了所有语言的配置文件,可以通过修改中文配置文件来修改。
用文本编辑器打开zh_CN.po文件(中文配置文件),找到下面的段:
# Scale to apply to font size (2 for twice as large)
# Use this if the font is too small for legibility on the Scratch interface
msgid "Font-Scale"
msgstr "1.2"
改为
# Scale to apply to font size (2 for twice as large)
# Use this if the font is too small for legibility on the Scratch interface
msgid "Font-Scale"
msgstr "1.3"
这样字体就会大一些。不过,汉字还是不太好看。再次启动Scratch,如下图
[转载]WinScratch1.4 <wbr>中文字体调节 



继续修改zh_CN.po文件的字体
找到下面的段
# Font to use on a Windows system
msgid "Win-Font"
msgstr "SimHei"
改为
# Font to use on a Windows system
msgid "Win-Font"
msgstr "宋体"
启动Scratch,正是我要的结果。下图:
[转载]WinScratch1.4 <wbr>中文字体调节