ubuntu上的/etc/fonts/local.conf(轉)
ubuntu上的/etc/fonts/local.conf(轉)[@more@]分三段,
第一段是append,使中英文一起顯示英文優先使用英文字型;
第二段是讓系統認文泉譯點陣字用的;
第三段是字型prefer,選字型的順序,我註釋掉了,因為language-selector裡的fontconfig裡已經有相應的內容了。
我使用的中文字型為微軟雅黑,點陣是文泉譯。
[table=95%][tr][td]<fontconfig>
<include ignore_missing="yes">/var/lib/defoma/fontconfig.d/fonts.conf</include>
/usr/X11R6/lib/X11/fonts
-->
<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Serif</string>
<string>microsoft yahei</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Sans</string>
<string>microsoft yahei</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Sans Mono</string>
<string>microsoft yahei</string>
</edit>
</match>
<selectfont>
<acceptfont>
<pattern>
<patelt name="family"><string>WenQuanYi Bitmap Song</string></patelt>
</pattern>
</acceptfont>
</selectfont>
serif
DejaVu Serif
sans-serif
DejaVu Sans
monospace
DejaVu Sans Mono
-->
</fontconfig>
[/td][/tr][/table]
第一段是append,使中英文一起顯示英文優先使用英文字型;
第二段是讓系統認文泉譯點陣字用的;
第三段是字型prefer,選字型的順序,我註釋掉了,因為language-selector裡的fontconfig裡已經有相應的內容了。
我使用的中文字型為微軟雅黑,點陣是文泉譯。
[table=95%][tr][td]<fontconfig>
<include ignore_missing="yes">/var/lib/defoma/fontconfig.d/fonts.conf</include>
-->
<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Serif</string>
<string>microsoft yahei</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Sans</string>
<string>microsoft yahei</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
</test>
<edit name="family" mode="append" binding="strong">
<string>DejaVu Sans Mono</string>
<string>microsoft yahei</string>
</edit>
</match>
<selectfont>
<acceptfont>
<pattern>
<patelt name="family"><string>WenQuanYi Bitmap Song</string></patelt>
</pattern>
</acceptfont>
</selectfont>
-->
</fontconfig>
[/td][/tr][/table]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10617542/viewspace-959925/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Ubuntu 用 deepin-wine 安裝 Tim.etcUbuntu
- /etc/passwd & /etc/shadow 詳解
- 前端圖片 - icon Fonts前端
- [轉帖]/etc/security/limits.conf 詳解與配置MIT
- ETC2420 / ETC5242 Statistical ThinkingThinking
- /etc/alternatives
- iOS 新增自定義的字型 Fonts provided by applicationiOSIDEAPP
- ubuntu上的基本應用Ubuntu
- ubuntu上的軟體源Ubuntu
- 使用Google Fonts注意事項Go
- 【Ubuntu】在Ubuntu上安裝微信Ubuntu
- ubuntu系統中java -version所顯示的版本與/etc/profile中配置的$JAVA_HOME的關係UbuntuJava
- 轉【翻譯】怎樣在Ubuntu 12.04上配置Apache SSL證書UbuntuApache
- Could not find or access '/etc/ansible/bin/cfssljson /etc/ansible/bin/cfsslJSON
- ubuntu螢幕旋轉Ubuntu
- Ubuntu 上 Wireshark 的安裝與使用Ubuntu
- Fontconfig head is null, check your fonts or fonts configuration 生產環境Centos伺服器報錯 本地沒問題NullCentOS伺服器
- Typecho在Ubuntu 22.04上的安裝部署Ubuntu
- Ubuntu上編譯多個版本的fridaUbuntu編譯
- 在阿里雲ECS上執行chmod+777-R/etc該如何挽救阿里
- ubuntu上使用sqlite3UbuntuSQLite
- 在virtualbox上安裝ubuntuUbuntu
- Ubuntu 16.04 上安裝 OrientDB!Ubuntu
- 在Ubuntu上安裝MariaDBUbuntu
- Ubuntu上ftp的vsftpd.conf檔案的配置UbuntuFTP
- win10系統fonts資料夾空白怎麼辦_win10 fonts資料夾空白如何恢復Win10
- RabbitMQ系列(一)在Ubuntu上的環境搭建MQUbuntu
- 檢視Ubuntu上佔用指定埠的程序Ubuntu
- 如何將Ubuntu伺服器上的專案上傳至GitHubUbuntu伺服器Github
- mac 修改 /etc/hosts 檔案Mac
- VirtIO drivers for Linux, Windows and etc.LinuxWindows
- Oracle:/etc/security/limits.confOracleMIT
- [ubuntu][轉載]ubuntu安裝中文輸入法不裝sogou方法UbuntuGo
- ubuntu18.04 上安裝jdkUbuntuJDK
- Ubuntu 16.04 上安裝 MySQL 5.7UbuntuMySql
- 在Ubuntu 18.04上安裝TensorflowUbuntu
- ubuntu系統上安裝nodejsUbuntuNodeJS
- Ubuntu 上安裝python2.7UbuntuPython
- 如何在 Ubuntu 上安裝 VirtualBoxUbuntu