Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何指定文字字体呢,该以何种方式 #10

Open
mistacguy opened this issue Feb 14, 2021 · 3 comments
Open

如何指定文字字体呢,该以何种方式 #10

mistacguy opened this issue Feb 14, 2021 · 3 comments

Comments

@mistacguy
Copy link

如标题所说

@Johnserf-Seed
Copy link

使用json文件

@zeku2022
Copy link

zeku2022 commented Jan 9, 2022

使用了json文件,但是传递参数的是字符串类型,已经拿到Three.Font对象了..怎么传?

使用json文件

@rossning92
Copy link
Owner

rossning92 commented Jan 10, 2022

movy现在还不支持直接加载(ttf字体),目前可以通过font: "en" | "condensed" | "code" | "math" | "arcade" | "zh" | "gdh" 指定7种内置的字体。
image
示例: https://github.com/rossning92/movy/blob/master/examples/fonts.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants