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

安裝包亂碼 #411

Closed
fmnijk opened this issue Dec 19, 2024 · 7 comments
Closed

安裝包亂碼 #411

fmnijk opened this issue Dec 19, 2024 · 7 comments

Comments

@fmnijk
Copy link

fmnijk commented Dec 19, 2024

如圖,整合包只有Regular是亂碼的,其他皆正常。
Snipaste_2024-12-19_13-48-41

獨立安裝包則是Fixed和FixedSlab這兩個是亂碼的,其他皆正常。
Snipaste_2024-12-19_13-48-50

安裝有亂碼的安裝包,在部分軟體裡面也會是亂碼。

@be5invis
Copy link
Owner

It should fix itself after a restart.

@fmnijk
Copy link
Author

fmnijk commented Dec 19, 2024

但是為什麼會這樣?是Windows的Bug?

@be5invis
Copy link
Owner

I have no idea. Maybe some thumbnail caching issue.

@fmnijk
Copy link
Author

fmnijk commented Dec 20, 2024

我總覺得問題不單純,但我也不知道問題在哪,有一些類似的Issue都在沒解決的情況下被Close了

@be5invis
Copy link
Owner

Perhaps due to glyph ID being changed across versions and the thumbnail generation caches glyph ID.
I don't think keeping glyph ID consistency is something we need to do though.

@fmnijk
Copy link
Author

fmnijk commented Dec 22, 2024

我又測試了一下
只要我重新開機之後先點開1.0.26的文件夾,1.0.26就不會亂碼,如果我再開啟1.0.25的文件夾,1.0.25就會是亂碼
反之亦然

這樣的話理論上每次更新字體之後都要重新開機比較好

另外問個問題,同一個版本號,但是不同粗細,glyph ID也不一樣嗎?
因為亂碼會根據粗細而變的不一樣

@zzColin
Copy link

zzColin commented Dec 26, 2024

应该就是缓存(快取)的缘故,而且不限于 Windows:实测 Linux(Manjaro KDE)下用作 UI 字体时,Manjaro 官方源的更纱黑体更新后若不重启,整个系统 UI 都会乱掉,重启就解决。

@fmnijk fmnijk closed this as completed Jan 3, 2025
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

3 participants