Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
关于最近的各种字体问题
Experiences and Insight
1062
views ·
3
replies ·
To
floor
Go
ckurobac
deepin
2018-08-25 16:47
Author
比如,字体全部显示为英文名,部分字体(比如雅黑)粗体显示成常规,文档之前能显示的字体现在不能显示
应该都是因为这个bug引起的:https://bugs.freedesktop.org/show_bug.cgi?id=105756
这个Bug会导致fontconfig无法匹配字体的本地化名称,简单说就是写“微软雅黑”系统就不认识了,必须要写“Microsoft YaHei”
用了fontconfig 2.13的发行版应该都有这个问题(可能有发行版已经patch过了,Arch直接扔了个2.13.0+15+gc60ed9e-1……),一个简单的测试方法就是
运行(以雅黑为例,其他的也一样)
fc-list | grep 雅黑
Copy the Code
输出应该类似这样:
/home/kurobac/.local/share/fonts/Microsoft Corporation/TrueType/Microsoft YaHei/msyh.ttc: 微软雅黑,Microsoft YaHei:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/home/kurobac/.local/share/fonts/Microsoft Corporation/TrueType/Microsoft YaHei/msyhl.ttc: 微软雅黑,Microsoft YaHei,Microsoft YaHei Light,微软雅黑 Light:style=Light,Regular
/home/kurobac/.local/share/fonts/Microsoft Corporation/TrueType/Microsoft YaHei/msyhbd.ttc: 微软雅黑,Microsoft YaHei:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирн
ый,Fet,Kalın,Krepko,Lojia
Copy the Code
如果有这个bug,这条命令应该不会有任何输出(除非你字体文件名就叫雅黑……)
看了下debian那边,貌似没有关于这个的patch。
这个应该有必要patch一下吧,对中文用户影响太大了……
Reply
Like 1
Favorite
View the author
All Replies
mingy
deepin
2018-08-25 17:28
#1
很少用office工具,纯帮顶一下。
Reply
Like 0
View the author
186******63
deepin
2018-08-25 17:29
#2
经常用office相关,希望尽快解决
请官方给一下解决方案和时间
Reply
Like 0
View the author
windfast
deepin
2018-08-25 17:30
#3
这确实是个困扰人的问题。
Reply
Like 0
View the author
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 Ranking
Change
【Enhanced Repo】Better Deepin Repo is released
Popular Events
More
应该都是因为这个bug引起的:https://bugs.freedesktop.org/show_bug.cgi?id=105756
这个Bug会导致fontconfig无法匹配字体的本地化名称,简单说就是写“微软雅黑”系统就不认识了,必须要写“Microsoft YaHei”
用了fontconfig 2.13的发行版应该都有这个问题(可能有发行版已经patch过了,Arch直接扔了个2.13.0+15+gc60ed9e-1……),一个简单的测试方法就是
运行(以雅黑为例,其他的也一样)
看了下debian那边,貌似没有关于这个的patch。
这个应该有必要patch一下吧,对中文用户影响太大了……