Skip to content

Instantly share code, notes, and snippets.

@chisaato
Created March 17, 2025 17:47
Show Gist options
  • Save chisaato/ecc053dc56f7a6b9fa028b08003ebf17 to your computer and use it in GitHub Desktop.
Save chisaato/ecc053dc56f7a6b9fa028b08003ebf17 to your computer and use it in GitHub Desktop.
Wine 中文字体配置
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Microsoft Sans Serif"="NotoSansCJK-Regular.ttc"
"Tahoma"="NotoSansCJK-Regular.ttc"
"Tahoma Bold"="NotoSansCJK-Regular.ttc"
"Lucida Sans Unicode"="NotoSansCJK-Regular.ttc"
"MS Sans Serif"="NotoSansCJK-Regular.ttc"
"SimSun"="NotoSansCJK-Regular.ttc"
"Arial"="NotoSansCJK-Regular.ttc"
"Arial Black"="NotoSansCJK-Regular.ttc"
[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"ClientSideAntiAliasWithCore"="Y"
"ClientSideAntiAliasWithRender"="Y"
"ClientSideWithRender"="Y"
[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"
"FontSmoothingType"=dword:00000002
"FontSmoothingGamma"=dword:00000578
"FontSmoothingOrientation"=dword:00000001
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts]
"LogPixels"=dword:00000060
[HKEY_CURRENT_USER\Software\Wine\Fonts\External Fonts]
"Noto Sans CJK Regular (TrueType)"="Z:\\run\\host\\fonts\\google-noto-sans-cjk-fonts\\NotoSansCJK-Regular.ttc"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts]
"Noto Sans CJK Regular (TrueType)"="Z:\\run\\host\\fonts\\google-noto-sans-cjk-fonts\\NotoSansCJK-Regular.ttc"
"JetBrainsMonoNerdFontMono Regular (TrueType)"="C:\\Windows\\Fonts\\JetBrainsMonoNerdFontMono-Regular.ttf"
@chisaato
Copy link
Author

要求,系统预装了 NotoSansCJK 同时自己拷贝一个 JB Mono 的 NerdFont 到 Wine 的 C:\Windows\Fonts 下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment