Questions tagged «deepin»

1
使用fontconfig更改特定语言/脚本字符的字体系列?
我在Arch Linux,Deepin Desktop上。我使用Noto Serif作为标准字体,但我不喜欢其阿拉伯字符。因此,我的目标是仅将另一种字体用于阿拉伯字符。 这是我尝试过的。我在其中创建了一个新的配置文件,/etc/fonts/conf.d/其中包含以下内容: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="pattern"> <test name="lang" compare="contains"> <string>ar</string> </test> <test qual="any" name="family"> <string>sans-serif</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>Noto Naskh Arabic</string> </edit> </match> <match target="pattern"> <test name="lang" compare="contains"> <string>ar</string> </test> <test qual="any" name="family"> <string>serif</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>Noto …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.