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

字库图的新方案 #3

Open
BengbuGuards opened this issue Jun 23, 2024 · 2 comments
Open

字库图的新方案 #3

BengbuGuards opened this issue Jun 23, 2024 · 2 comments

Comments

@BengbuGuards
Copy link

目前汉化补丁的字库不足,而且是将每个字的位置硬编码到代码中。

可以改用directFont的读取本地字体方案(实现起来较难)或者是使用类似Minecraft原理的将字库按Unicode顺序存入多个图片文件,只需要按照一定算法就知道字符的坐标了(提一嘴,这样做虽然要在内存中存储很多的这类字符,但对现在的电脑来说压根不是事)

@ckeleshi
Copy link
Collaborator

ckeleshi commented Aug 9, 2024

ed18f37
以前做过读取字体的方案,因为渲染效果不如PS所以没有采用

@BengbuGuards
Copy link
Author

或者是拓展一下字库?

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

2 participants