幫 Ubuntu 加入字型 解決亂馬






1.在根目錄以root 權限建立自訂的資料夾  /usr/share/fonts/truetype/
  例如建立
/usr/share/fonts/truetype/windows7
/usr/share/fonts/truetype/windowsXP
/usr/share/fonts/truetype/hwakon
......


2.以Root 將資料夾使用者及權限變更成一般使用者權限! (在資料夾按右鍵屬性/權限)
3.回到一般使用者權限 。
4.將原版字型光碟或 Windows 光碟放進光碟機。( Windows 字型的使用請字型參考版權說明)
   (如果多重開機的使用者則可以直接複製)
5.並將 xxx.ttf  或 xxx.ttc 字型檔分別複製到你建立好的資料夾。
6.多使用者要再設定檔案存取權。
7.打開終端機輸入  :
sudo fc-cache -f -v
各種文件還是出現亂碼,也可以試著安裝 poppler-data

sudo apt-get install poppler-data

或者移掉這個 49-sansserif.conf 檔案,記得先備份

sudo rm /etc/fonts/conf.d/49-sansserif.conf

留言

熱門文章