直接给你个万能替换字体的方法吧,直接新建一个rpy文件。然后填入下列内容:
[RenPy] 纯文本查看 复制代码 init 200 python:
config.language='chinese'
if config.language=='chinese':
config.font_replacement_map["DejaVuSans.ttf", True, False] = ("fonts/simkai.ttf", False, False)
config.font_replacement_map["DejaVuSans.ttf", True, True] = ("fonts/simkai.ttf", False, False)
config.font_replacement_map["DejaVuSans.ttf", False, False] = ("fonts/simkai.ttf", False, False)
translate chinese style default:
font "fonts/simkai.ttf"
translate chinese python:
gui.button_text_font = "fonts/simkai.ttf"
gui.glyph_font = "fonts/simkai.ttf"
gui.interface_text_font = "fonts/simkai.ttf"
gui.text_font = "fonts/simkai.ttf"
gui.name_text_font = "fonts/simkai.ttf" |