天天看點

WCP知識管理系統OpenOffice亂碼解決

1.      将需要的字型從C:\Windows\Fonts 目錄中拷出。

2.      用vim /etc/fonts/fonts.conf,可以看到系統字型檔案在/usr/share/fonts

3.      在/usr/share/fonts檔案夾下建立一個檔案夾,如:mkdir winfont

4.      用Xshell等工具将windows系統字型檔案上傳到剛剛建立的目錄下

5.      然後更新緩存:

mkfontscale

mkfontdir

fc-cache

6.      Kill舊的openoffice程序:ps -ef |grep openoffice

7.      重新開機openoffice:

/opt/openoffice4/program/soffice -headless-accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard&

再轉換,字型即顯示正确

繼續閱讀