Code Monkey home page Code Monkey logo

Comments (5)

Dclef avatar Dclef commented on August 22, 2024

换字体,在文档中的Q&A中可找到,你没找全,要全局搜索字体进行替换或者进群用脚本替换。

from renpy-tl.

Mr-small-2-six avatar Mr-small-2-six commented on August 22, 2024

是说gui里的吗?
我换了,用了renpy skd里的SourceHanSansLite.ttf,也在google上下载了不同版本的SourceHanSansLite.ttf还是无法显示

define gui.default_font = "SourceHanSansLite.ttf"

define gui.name_font = "SourceHanSansLite.ttf"

define gui.interface_font = "SourceHanSansLite.ttf"

from renpy-tl.

Mr-small-2-six avatar Mr-small-2-six commented on August 22, 2024

common.txt
里面的格式应该没错里面
想快速保存,返回之类的中文字还是在游戏的正下方显示

非常感谢,抽时间回答我的问题

from renpy-tl.

Dclef avatar Dclef commented on August 22, 2024

是说gui里的吗? 我换了,用了renpy skd里的SourceHanSansLite.ttf,也在google上下载了不同版本的SourceHanSansLite.ttf还是无法显示

define gui.default_font = "SourceHanSansLite.ttf"

define gui.name_font = "SourceHanSansLite.ttf"

define gui.interface_font = "SourceHanSansLite.ttf"

首先你定义字体定义不全,其次除了gui里面的还有其他文件有其他字体你需要用vscode或者其他编辑器全局搜索ttf或者otf替换

from renpy-tl.

Mr-small-2-six avatar Mr-small-2-six commented on August 22, 2024

类似这几种的ttf都更换吗?

frame:
        background None
        xfill True
        yfill True
        xpos 10
        ypos 10
        text what font "ui/Vajsko/fonts/Exo_2/Exo2-Regular.ttf" size 23 color "#ffffff" id "what" align 0.0,0.0

style custom_button_text is text:
font "ui/Vajsko/fonts/Exo_2/Exo2-Bold.ttf"
color "#ffffff"

就任何文件有出现ttf的地方都更换成SourceHanSansLite.ttf这样我大概明白了,我去尝试下
非常感谢

from renpy-tl.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.