Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> 關於 Linux

Ubuntu 系統安裝 WPS Office 後缺字型解決方案(符號亂碼修正)

編輯:關於 Linux

WPS Office for Linux 因授權問題未內建部分 Microsoft 專用字型(如 Wingdings、Symbol、Webdings),導致開啟含數學公式、特殊符號的文件時出現「缺少字型」提示或符號顯示為方框/亂碼。本文提供完整解決流程,並說明潛在的 xfonts-mathml 衝突問題。

問題現象

  • 啟動 WPS 時彈出視窗:「缺少字型:Wingdings, Symbol, Webdings, MT Extra...」
  • 文件中的數學公式、項目符號、箭頭顯示為 □ 或亂碼。
  • 即使安裝 ttf-mscorefonts-installer 仍無法解決。

核心解決步驟

1. 取得缺漏字型檔案

從可信來源下載 wps_symbol_fonts.zip(包含 symbol.ttf、wingdings.ttf、webdings.ttf、mt extra.ttf 等)。常見來源:

  • 社群整理包:GitHub ttf-wps-fonts
  • AUR 套件:ttf-wps-fonts (Arch/Manjaro)
  • 從已授權 Windows 系統 C:\Windows\Fonts 複製(需持有 Windows 授權)

2. 安裝至使用者字型目錄

mkdir -p ~/.local/share/fonts/wps-fonts
unzip wps_symbol_fonts.zip -d ~/.local/share/fonts/wps-fonts
fc-cache -fv ~/.local/share/fonts/wps-fonts

注意: 舊教學常建議放入 ~/.fonts,但現代 Fontconfig 推薦使用 ~/.local/share/fonts/(XDG 標準),兩者皆可讀取。

3. 重啟 WPS 驗證

完全關閉 WPS 所有程序(pkill -f wps),重新開啟文件,符號應正常顯示。

進階疑難排解:xfonts-mathml 衝突

部分使用者反映安裝字型後符號仍異常,經查證為 xfonts-mathml 套件同樣提供一個名為 Symbol 的字型,導致 Fontconfig 選錯字型。

檢查並移除衝突套件

dpkg -l | grep xfonts-mathml
sudo apt-get remove --purge xfonts-mathml
fc-cache -fv

移除後重啟 WPS 通常即可解決。

版本特定說明

  • WPS Office 2019 (11.1.0.9080) 及更新版:已內建部分符號字型,問題大幅減少。
  • Ubuntu 20.04 / 22.04 / 24.04:預設字型渲染庫 (FreeType 2.10+) 相容性較好,依照上述步驟即可。
  • Snap/Flatpak 版 WPS:字型目錄隔離,需將字型安裝至系統層級 /usr/local/share/fonts/ 或使用 flatpak override --filesystem=~/.local/share/fonts 授權存取。

法律提醒

Symbol、Wingdings、Webdings 等字型為 Microsoft 智慧財產權。使用前請確認您持有合法 Windows 授權,或改用開源替代字型(如 DejaVu Sans、Noto Sans Symbols)並手動對應 Unicode 碼位。

總結

  1. 下載 wps_symbol_fonts 字型包。
  2. 解壓至 ~/.local/share/fonts/wps-fonts/。
  3. 執行 fc-cache -fv 更新字型快取。
  4. 若仍異常,移除 xfonts-mathml 套件。
  5. 重啟 WPS Office 驗證。

完成上述步驟,您的 Ubuntu 系統即可完美顯示 WPS Office 文件中的所有特殊符號與數學公式。

Copyright © Windows教程網 All Rights Reserved