我的世界BetterFonts的配置文件修改
以时间顺序来说,Suzutsuki移植的BetterFonts在1.1.2下才加入了生成配置文件的功能,也就是说只要在Minecraft 1.7.2下Mod的最新版本以及后续开发的版本都可以直接去config文件夹找到BetterFonts.cfg进行设置,在这之前的版本都需要手动新建文件来修改。
配置文件的默认文本是这样的:
# This is the BetterFonts configuration file. Any lines that start with # are
# comments and get ignored. If the same property name appears multiple times
# in the file, only the last value will be used.
# The font.name property changes the default font used in Minecraft. This can
# be the name of a real font like Times New Roman, or one of Java’s logical
# fonts like Serif, SansSerif, or Monospaced. If font.name is missing, the
# default font used will be SansSerif.
font.name=SansSerif
#font.name=Monospaced
#font.name=Times New Roman
# You can use the font.size property to affect how large or small the text
# will appear. This must be an integer greater than zero, and if omitted
# the default size used is 18.
font.size=18
# This property enables anti-aliasing which blurs the edges of the font to
# make it seem less jagged, but this can also make the font seem less sharp.
# The property should be set to either the word “true” or “false, and you’ll
# have to experiment with both options to determine which one looks better.
# If font.antialias is missing, the default is to disable anti-aliasing.
font.antialias=false
#font.antialias=true
# By default, Minecraft draws drop shadow for any text in the GUIs and the
# chat. Setting this to “false” will disable this shadow which can make some
# fonts more readable.
font.dropshadow=true
#font.dropshadow=false
虽然看起来很多,其实有很多内容是注释,配置文件里只有四个设置项,它们是:
font.name=:字体名,必须与系统里安装着的字体名相对应,如果有非英文的字体必须要转化成unicode代码。默认SansSerif,如果配置文件里的字体不存在也会使用SansSerif。
font.size=:字体大小,默认18。
font.antialias=:是否开启抗锯齿,默认不启用。根据使用字体的实际情况来决定是否要使用它。
font.dropshadow=:字体是否渲染阴影,默认启用。原版Minecraft的字体就是自带阴影渲染的,这个也根据实际情况来决定是否要启用它。