自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

在Ubuntu 18.04 LTS上安裝Microsoft Windows字體

系統(tǒng) Linux
大多數(shù)教育機構(gòu)仍在使用 Microsoft 字體, 我不清楚其他國家是什么情況。但在泰米爾納德邦(印度的一個州), Times New Roman 和 Arial 字體主要被用于大學和學校的幾乎所有文檔工作、項目和作業(yè)。

 [[237631]]

大多數(shù)教育機構(gòu)仍在使用 Microsoft 字體, 我不清楚其他國家是什么情況。但在泰米爾納德邦(印度的一個州), Times New RomanArial 字體主要被用于大學和學校的幾乎所有文檔工作、項目和作業(yè)。不僅是教育機構(gòu),而且一些小型組織、辦公室和商店仍在使用 MS Windows 字體。以防萬一,如果你需要在 Ubuntu 桌面版上使用 Microsoft 字體,請按照以下步驟安裝。

免責聲明: Microsoft 已免費發(fā)布其核心字體。 但請注意 Microsoft 字體是禁止使用在其他操作系統(tǒng)中。在任何 Linux 操作系統(tǒng)中安裝 MS 字體之前請仔細閱讀 EULA 。我們不負責這種任何種類的盜版行為。

(LCTT 譯注:本文只做技術(shù)探討,并不代表作者、譯者和本站鼓勵任何行為。)

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

如下所示安裝 MS TrueType 字體:

  1. $ sudo apt update
  2. $ sudo apt install ttf-mscorefonts-installer

然后將會出現(xiàn) Microsoft 的最終用戶協(xié)議向?qū)?,點擊 OK 以繼續(xù)。

點擊 Yes 已接受 Microsoft 的協(xié)議:

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

  1. $ sudo fc-cache -f -v

示例輸出:

  1. /usr/share/fonts: caching, new cache contents: 0 fonts, 6 dirs
  2. /usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs
  3. /usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs
  4. /usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
  5. /usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
  6. /usr/share/fonts/X11/misc: caching, new cache contents: 89 fonts, 0 dirs
  7. /usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
  8. /usr/share/fonts/cMap: caching, new cache contents: 0 fonts, 0 dirs
  9. /usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs
  10. /usr/share/fonts/cmap/adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs
  11. /usr/share/fonts/cmap/adobe-gb1: caching, new cache contents: 0 fonts, 0 dirs
  12. /usr/share/fonts/cmap/adobe-japan1: caching, new cache contents: 0 fonts, 0 dirs
  13. /usr/share/fonts/cmap/adobe-japan2: caching, new cache contents: 0 fonts, 0 dirs
  14. /usr/share/fonts/cmap/adobe-korea1: caching, new cache contents: 0 fonts, 0 dirs
  15. /usr/share/fonts/opentype: caching, new cache contents: 0 fonts, 2 dirs
  16. /usr/share/fonts/opentype/malayalam: caching, new cache contents: 3 fonts, 0 dirs
  17. /usr/share/fonts/opentype/noto: caching, new cache contents: 24 fonts, 0 dirs
  18. /usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 46 dirs
  19. /usr/share/fonts/truetype/Gargi: caching, new cache contents: 1 fonts, 0 dirs
  20. /usr/share/fonts/truetype/Gubbi: caching, new cache contents: 1 fonts, 0 dirs
  21. /usr/share/fonts/truetype/Nakula: caching, new cache contents: 1 fonts, 0 dirs
  22. /usr/share/fonts/truetype/Navilu: caching, new cache contents: 1 fonts, 0 dirs
  23. /usr/share/fonts/truetype/Sahadeva: caching, new cache contents: 1 fonts, 0 dirs
  24. /usr/share/fonts/truetype/Sarai: caching, new cache contents: 1 fonts, 0 dirs
  25. /usr/share/fonts/truetype/abyssinica: caching, new cache contents: 1 fonts, 0 dirs
  26. /usr/share/fonts/truetype/dejavu: caching, new cache contents: 6 fonts, 0 dirs
  27. /usr/share/fonts/truetype/droid: caching, new cache contents: 1 fonts, 0 dirs
  28. /usr/share/fonts/truetype/fonts-beng-extra: caching, new cache contents: 6 fonts, 0 dirs
  29. /usr/share/fonts/truetype/fonts-deva-extra: caching, new cache contents: 3 fonts, 0 dirs
  30. /usr/share/fonts/truetype/fonts-gujr-extra: caching, new cache contents: 5 fonts, 0 dirs
  31. /usr/share/fonts/truetype/fonts-guru-extra: caching, new cache contents: 1 fonts, 0 dirs
  32. /usr/share/fonts/truetype/fonts-kalapi: caching, new cache contents: 1 fonts, 0 dirs
  33. /usr/share/fonts/truetype/fonts-orya-extra: caching, new cache contents: 1 fonts, 0 dirs
  34. /usr/share/fonts/truetype/fonts-telu-extra: caching, new cache contents: 2 fonts, 0 dirs
  35. /usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
  36. /usr/share/fonts/truetype/kacst: caching, new cache contents: 15 fonts, 0 dirs
  37. /usr/share/fonts/truetype/kacst-one: caching, new cache contents: 2 fonts, 0 dirs
  38. /usr/share/fonts/truetype/lao: caching, new cache contents: 1 fonts, 0 dirs
  39. /usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs
  40. /usr/share/fonts/truetype/liberation2: caching, new cache contents: 12 fonts, 0 dirs
  41. /usr/share/fonts/truetype/lohit-assamese: caching, new cache contents: 1 fonts, 0 dirs
  42. /usr/share/fonts/truetype/lohit-bengali: caching, new cache contents: 1 fonts, 0 dirs
  43. /usr/share/fonts/truetype/lohit-devanagari: caching, new cache contents: 1 fonts, 0 dirs
  44. /usr/share/fonts/truetype/lohit-gujarati: caching, new cache contents: 1 fonts, 0 dirs
  45. /usr/share/fonts/truetype/lohit-kannada: caching, new cache contents: 1 fonts, 0 dirs
  46. /usr/share/fonts/truetype/lohit-malayalam: caching, new cache contents: 1 fonts, 0 dirs
  47. /usr/share/fonts/truetype/lohit-oriya: caching, new cache contents: 1 fonts, 0 dirs
  48. /usr/share/fonts/truetype/lohit-punjabi: caching, new cache contents: 1 fonts, 0 dirs
  49. /usr/share/fonts/truetype/lohit-tamil: caching, new cache contents: 1 fonts, 0 dirs
  50. /usr/share/fonts/truetype/lohit-tamil-classical: caching, new cache contents: 1 fonts, 0 dirs
  51. /usr/share/fonts/truetype/lohit-telugu: caching, new cache contents: 1 fonts, 0 dirs
  52. /usr/share/fonts/truetype/malayalam: caching, new cache contents: 11 fonts, 0 dirs
  53. /usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
  54. /usr/share/fonts/truetype/noto: caching, new cache contents: 2 fonts, 0 dirs
  55. /usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
  56. /usr/share/fonts/truetype/padauk: caching, new cache contents: 4 fonts, 0 dirs
  57. /usr/share/fonts/truetype/pagul: caching, new cache contents: 1 fonts, 0 dirs
  58. /usr/share/fonts/truetype/samyak: caching, new cache contents: 1 fonts, 0 dirs
  59. /usr/share/fonts/truetype/samyak-fonts: caching, new cache contents: 3 fonts, 0 dirs
  60. /usr/share/fonts/truetype/sinhala: caching, new cache contents: 1 fonts, 0 dirs
  61. /usr/share/fonts/truetype/tibetan-machine: caching, new cache contents: 1 fonts, 0 dirs
  62. /usr/share/fonts/truetype/tlwg: caching, new cache contents: 58 fonts, 0 dirs
  63. /usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs
  64. /usr/share/fonts/truetype/ubuntu: caching, new cache contents: 13 fonts, 0 dirs
  65. /usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs
  66. /usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
  67. /usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
  68. /home/sk/.local/share/fonts: skipping, no such directory
  69. /home/sk/.fonts: skipping, no such directory
  70. /var/cache/fontconfig: cleaning cache directory
  71. /home/sk/.cache/fontconfig: cleaning cache directory
  72. /home/sk/.fontconfig: not cleaning non-existent cache directory
  73. fc-cache: succeeded

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

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

我假設(shè)你已經(jīng)在 Linux 中將 C:\Windows 分區(qū)掛載在了 /Windowsdrive 目錄下。

現(xiàn)在,將字體位置鏈接到你的 Linux 系統(tǒng)的字體文件夾,如下所示:

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

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

  1. fc-cache

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

  1. mkdir /usr/share/fonts/WindowsFonts
  2. cp /Windowsdrive/Windows/Fonts/* /usr/share/fonts/WindowsFonts
  3. chmod 755 /usr/share/fonts/WindowsFonts/*

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

  1. fc-cache

測試 Windows 字體

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

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

 

如果你覺得我們的指南有用,請在你的社區(qū)、專業(yè)網(wǎng)絡(luò)上分享并支持我們。還有更多好東西在等著我們。持續(xù)訪問!

責任編輯:龐桂玉 來源: Linux中國
相關(guān)推薦

2018-10-12 10:10:58

Ubuntu服務(wù)器Oracle Virt

2011-01-21 17:43:13

2018-10-16 16:20:41

UbuntuKVM服務(wù)器

2018-12-09 13:50:47

UbuntuLinux IP地址

2021-09-17 11:20:27

LinuxJava 17 LTSUbuntu

2023-06-01 11:35:42

Ubuntu操作系統(tǒng)

2020-03-18 14:40:14

Ubuntu 18.0RedisLinux

2019-08-19 11:55:10

UbuntuLinux內(nèi)核

2023-01-28 21:27:27

2021-06-10 09:48:48

Ubuntu 16.0FreeRADIUSDaloradius

2023-09-24 19:24:18

UbuntuVSCodium

2020-04-21 08:00:00

UbuntuLinux

2020-10-17 13:04:35

UbuntuDeepin桌面環(huán)境

2022-09-01 08:37:50

Ubuntu發(fā)行版

2021-10-02 10:15:19

UbuntuLinuxAnyDesk

2019-04-03 09:35:36

Linux 系統(tǒng) 數(shù)據(jù)

2014-05-30 10:08:06

2019-05-31 16:10:42

UbuntuLinuxBudgie桌面

2023-09-27 17:41:59

WindowsVirtualBox

2014-03-17 09:44:09

點贊
收藏

51CTO技術(shù)棧公眾號