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

文字顯示亂碼 #986

Open
1abcd opened this issue Apr 11, 2024 · 4 comments
Open

文字顯示亂碼 #986

1abcd opened this issue Apr 11, 2024 · 4 comments

Comments

@1abcd
Copy link

1abcd commented Apr 11, 2024

Win11 系統
MacType 2021.1

螢幕擷取畫面 2024-04-11 161444 螢幕擷取畫面 2024-04-11 161709

sarasa-fixed-tc-semibold.ttf
的檔案縮圖會顯示亂碼

有些時候右鍵選單也有亂碼但不知道是怎樣產生的

螢幕擷取畫面 2024-04-11 160914

檔案來源
https://github.com/be5invis/Sarasa-Gothic/releases/download/v0.34.1/sarasa-gothic-ttf-unhinted-0.34.1.7z

@snowie2000
Copy link
Owner

snowie2000 commented Apr 15, 2024

是否熱替換了JHengHei呢?如果正黑雅黑等被替換是有可能發生這類情況的

@1abcd
Copy link
Author

1abcd commented Apr 15, 2024

剛從Win7重灌成Win11,沒有(在 .ini)設定熱替換字型

剛才試了一台Win10電腦,縮圖的亂碼似乎是Win11 only,
並且也限定在更紗黑體舊版的某個ttf檔案

以前我用Win7 + Mactype 2019.1 + Office 2016 C2R (2002) + 細明體替換 (reg方式)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"PMingLiU"="源樣明體 M"
"MingLiU"="思源黑體 HW Regular"
"新細明體"="源樣明體 M"
"細明體"="思源黑體 HW Regular"

也是會有一樣的亂碼現象
我自己只能大概猜測是字碼被位移了一段距離
可以發現有些文字的部首仍然相同

@digiant
Copy link

digiant commented Apr 16, 2024

字体编码问题,换个字体试试。

@chaomifan
Copy link

FontSubstitutes=1 试试

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