久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

在Ubuntu 18.04 LTS上如何安裝Microsoft Windows字體

153次閱讀
沒有評論

共計 6740 個字符,預計需要花費 17 分鐘才能閱讀完成。

自動寫代碼機器人,免費開通

丸趣 TV 小編給大家分享一下在 Ubuntu 18.04 LTS 上如何安裝 Microsoft Windows 字體,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!

在 Ubuntu 18.04 LTS 桌面版上安裝 MS 字體

如下所示安裝 MS TrueType 字體:

$ sudo apt update$ sudo apt install ttf-mscorefonts-installer

然后將會出現 Microsoft 的最終用戶協議向導,點擊 OK 以繼續。

點擊 Yes 已接受 Microsoft 的協議:

安裝字體之后,我們需要使用命令行來更新字體緩存:

$ sudo fc-cache -f -v

示例輸出:

/usr/share/fonts: caching, new cache contents: 0 fonts, 6 dirs/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs/usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/X11/misc: caching, new cache contents: 89 fonts, 0 dirs/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cMap: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs/usr/share/fonts/cmap/adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cmap/adobe-gb1: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cmap/adobe-japan1: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cmap/adobe-japan2: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/cmap/adobe-korea1: caching, new cache contents: 0 fonts, 0 dirs/usr/share/fonts/opentype: caching, new cache contents: 0 fonts, 2 dirs/usr/share/fonts/opentype/malayalam: caching, new cache contents: 3 fonts, 0 dirs/usr/share/fonts/opentype/noto: caching, new cache contents: 24 fonts, 0 dirs/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 46 dirs/usr/share/fonts/truetype/Gargi: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/Gubbi: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/Nakula: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/Navilu: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/Sahadeva: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/Sarai: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/abyssinica: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/dejavu: caching, new cache contents: 6 fonts, 0 dirs/usr/share/fonts/truetype/droid: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/fonts-beng-extra: caching, new cache contents: 6 fonts, 0 dirs/usr/share/fonts/truetype/fonts-deva-extra: caching, new cache contents: 3 fonts, 0 dirs/usr/share/fonts/truetype/fonts-gujr-extra: caching, new cache contents: 5 fonts, 0 dirs/usr/share/fonts/truetype/fonts-guru-extra: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/fonts-kalapi: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/fonts-orya-extra: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/fonts-telu-extra: caching, new cache contents: 2 fonts, 0 dirs/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs/usr/share/fonts/truetype/kacst: caching, new cache contents: 15 fonts, 0 dirs/usr/share/fonts/truetype/kacst-one: caching, new cache contents: 2 fonts, 0 dirs/usr/share/fonts/truetype/lao: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs/usr/share/fonts/truetype/liberation2: caching, new cache contents: 12 fonts, 0 dirs/usr/share/fonts/truetype/lohit-assamese: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-bengali: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-devanagari: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-gujarati: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-kannada: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-malayalam: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-oriya: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-punjabi: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-tamil: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-tamil-classical: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/lohit-telugu: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/malayalam: caching, new cache contents: 11 fonts, 0 dirs/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs/usr/share/fonts/truetype/noto: caching, new cache contents: 2 fonts, 0 dirs/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/padauk: caching, new cache contents: 4 fonts, 0 dirs/usr/share/fonts/truetype/pagul: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/samyak: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/samyak-fonts: caching, new cache contents: 3 fonts, 0 dirs/usr/share/fonts/truetype/sinhala: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/tibetan-machine: caching, new cache contents: 1 fonts, 0 dirs/usr/share/fonts/truetype/tlwg: caching, new cache contents: 58 fonts, 0 dirs/usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs/usr/share/fonts/truetype/ubuntu: caching, new cache contents: 13 fonts, 0 dirs/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs/home/sk/.local/share/fonts: skipping, no such directory/home/sk/.fonts: skipping, no such directory/var/cache/fontconfig: cleaning cache directory/home/sk/.cache/fontconfig: cleaning cache directory/home/sk/.fontconfig: not cleaning non-existent cache directoryfc-cache: succeeded

在 Linux 和 Windows 雙啟動的機器上安裝 MS 字體

如果你有 Linux 和 Windows 的雙啟動系統,你可以輕松地從 Windows C 驅動器上安裝 MS 字體。你所要做的就是掛載 Windows 分區(C:/windows)。

我假設你已經在 Linux 中將 C:\Windows 分區掛載在了 /Windowsdrive 目錄下。

現在,將字體位置鏈接到你的 Linux 系統的字體文件夾,如下所示:

ln -s /Windowsdrive/Windows/Fonts /usr/share/fonts/WindowsFonts

鏈接字體文件之后,使用命令行重新生成 fontconfig 緩存:

fc-cache

或者,將所有的 Windows 字體復制到 /usr/share/fonts 目錄下并使用一下命令安裝字體:

mkdir /usr/share/fonts/WindowsFontscp /Windowsdrive/Windows/Fonts/* /usr/share/fonts/WindowsFontschmod 755 /usr/share/fonts/WindowsFonts/*

***,使用命令行重新生成 fontconfig 緩存:

fc-cache

測試 Windows 字體

安裝 MS 字體后打開 LibreOffice 或 GIMP。現在,你將會看到 Microsoft coretype 字體。

就是這樣,希望這本指南有用。我再次警告你,在其他操作系統中使用 MS 字體是被禁止的。在安裝 MS 字體之前請先閱讀 Microsoft 許可協議。

以上是“在 Ubuntu 18.04 LTS 上如何安裝 Microsoft Windows 字體”這篇文章的所有內容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內容對大家有所幫助,如果還想學習更多知識,歡迎關注丸趣 TV 行業資訊頻道!

向 AI 問一下細節

丸趣 TV 網 – 提供最優質的資源集合!

正文完
 
丸趣
版權聲明:本站原創文章,由 丸趣 2023-12-07發表,共計6740字。
轉載說明:除特殊說明外本站除技術相關以外文章皆由網絡搜集發布,轉載請注明出處。
評論(沒有評論)
主站蜘蛛池模板: 黄龙县| 年辖:市辖区| 阳原县| 洛南县| 泰安市| 大姚县| 涿州市| 宜兰市| 太和县| 赤峰市| 苗栗市| 罗平县| 汉川市| 叙永县| 桐城市| 高雄县| 界首市| 黎城县| 连州市| 高碑店市| 湘西| 惠安县| 西乡县| 女性| 灵璧县| 应城市| 远安县| 从江县| 吕梁市| 江山市| 灌阳县| 湖北省| 北海市| 洪江市| 吉首市| 宁德市| 饶阳县| 平武县| 塔河县| 西盟| 武冈市|