[client] Fix Advanced Setting unable to open on Windows 11 with Chinese Locale Setting. (#3483)

Fix #3345 and #2603
This commit is contained in:
levindecaro 2025-03-17 00:51:42 +08:00 committed by GitHub
parent 0ef476b014
commit 4508c61728
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,12 +25,12 @@ func (s *serviceClient) getWindowsFontFilePath() string {
fontFolder = "C:/Windows/Fonts"
fontMapping = map[string]string{
"default": "Segoeui.ttf",
"zh-CN": "Msyh.ttc",
"zh-CN": "Segoeui.ttf",
"am-ET": "Ebrima.ttf",
"nirmala": "Nirmala.ttf",
"chr-CHER-US": "Gadugi.ttf",
"zh-HK": "Msjh.ttc",
"zh-TW": "Msjh.ttc",
"zh-HK": "Segoeui.ttf",
"zh-TW": "Segoeui.ttf",
"ja-JP": "Yugothm.ttc",
"km-KH": "Leelawui.ttf",
"ko-KR": "Malgun.ttf",