-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
Chinese characters can not be properly shown #936
Comments
Could you give us example characters that we can use to test and reproduce? None of us know Chinese so that would help us a ton :) |
The characters missing in this picture are “狙” “瞄” “刹”. I doubt it's the problem of the used font |
Yeah, default ImGui glyph ranges are incomplete (and hog a lot of memory unnecessarily). We had #840 previously merged, but reverted it due to issues with ImGui, specifically we are waitting for this PR to push it forward ocornut/imgui#3761 I would rather not start extending the ranges manually, the PR above includes glyph ranges builder which should be resolving glyphs as they appear, being more optimal and universal. TL;DR Fonts are definitely not an issue, current fixed glyph ranges are as they are incomplete and will stay that way for a bit I have a feel. 😞 |
编辑cet安装目录里面的 |
是config.json吗?改了之后好像还是一样的现象,还是有很多字符是显示的? |
因为你没设置字体 |
感谢,确实可以了 |
README
Github is NOT here for support and general questions, it's designed for developers to discuss development and code. If your issue is unrelated to anything technical, do not make an issue, you will be blocked and your issue closed without an answer.
Bug
Operating system: win11
Game version: 2.12
CET version: 1.31.3
GPU: rtx3060m
Description
You can see many "?" in this picture, which are all common Chinese characters that can not be shown correctly.
Expected behaviour
Show Chinese characters correctly
Reproduction
Download and install a mod using CET with Chinese characters.
The text was updated successfully, but these errors were encountered: