Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
deepin-wine和deepin-wine5换字体
Experiences and Insight
1225
views ·
0
replies ·
To
floor
Go
thepoy
deepin
2020-08-06 17:56
Author
wine程序的字体是由注册表控制,而wine里的注册表只是一个文本文件而已,并不需要大费周章地在终端里调出注册表编辑器,再一个一个地改参数。
1、wine容器里有一个文件叫`user.reg`,这就是需要编辑的注册表文件
2、打开这个文件,拉到最下面,添加如图所示的一段参数
我替换的字体是方正悠黑_GBK,在user.reg文件里有映射参数,搜索youhei就能找到映射的字体名。
[Software\\Wine\\Fonts\\Replacements] 1596677846
#time=1d66b9224067152
"Arial"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"DFKai-SB"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"FangSong"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"KaiTi"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"Microsoft JhengHei"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"Microsoft YaHei"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"MingLiU"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"MSimSun"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"PMingLiU"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"SimHei"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"SimKai"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"SimSun"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"\x4eff\x5b8b"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"\x4eff\x5b8b_GB2312"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"\x5b8b\x4f53"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"\x5fae\x8f6f\x96c5\x9ed1"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"\x6977\x4f53"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"\x6977\x4f53_GB2312"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"\x96b6\x4e66"="\x65b9\x6b63\x60a0\x9ed1_GBK"
"\x9ed1\x4f53"="\x65b9\x6b63\x60a0\x9ed1_GBK"
Copy the Code
修改完了,再打开wine程序,看看字体是否已生效。
Reply
Like 1
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
1、wine容器里有一个文件叫`user.reg`,这就是需要编辑的注册表文件
2、打开这个文件,拉到最下面,添加如图所示的一段参数
我替换的字体是方正悠黑_GBK,在user.reg文件里有映射参数,搜索youhei就能找到映射的字体名。
修改完了,再打开wine程序,看看字体是否已生效。