大多数教育机构仍在使用 Microsoft 字体。 我不确定其他国家。 但在泰米尔纳德邦(印度), 英语字体格式一种 和 宋体 字体仍然被大学和学校中几乎所有类型的文档工作、项目和作业广泛使用。 不仅教育机构,大多数政府和私人办公室、小型组织和商店仍在使用 MS Windows 字体。 以防万一,如果您需要使用 Windows 字体,以下是在 Ubuntu Linux 桌面中安装 Microsoft Windows 字体的方法。
免责声明: 微软免费发布了其核心字体。 然而, 请注意,在其他操作系统中禁止使用 Microsoft 字体. 在任何 Linux 操作系统中安装 MS 字体之前,请仔细阅读 EULA。 我们(OSTechNix)不对任何类型的盗版行为负责。
在 Ubuntu 18.04 和 16.04 LTS 桌面上安装 Microsoft 字体
安装 MS TrueType 字体,如下所示:
$ sudo apt update
$ sudo apt install ttf-mscorefonts-installer
将出现 Microsoft 的最终用户协议向导。 点击 行 接着说。
点击 是的 接受 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 directory fc-cache: succeeded
在 Linux 和 Windows 的双启动中安装 Microsoft Windows 字体
如果您有 Linux 和 Windows 操作系统的双启动系统,您可以轻松地从 Windows C 驱动器安装 MS 字体。 您所要做的就是挂载 Windows 分区(C:/Windows
)。
我假设你已经安装了 C:Windows
分区在 /Windowsdrive
Linux 中的目录。
现在,将字体位置链接到 Linux 系统的字体文件夹,如下所示。
ln -s /Windowsdrive/Windows/Fonts /usr/share/fonts/WindowsFonts
链接字体文件夹后,使用命令重新生成 fontconfig 缓存:
fc-cache
或者,将所有 Windows 字体复制到 /usr/share/fonts
目录并使用以下命令安装字体:
mkdir /usr/share/fonts/WindowsFonts
cp /Windowsdrive/Windows/Fonts/* /usr/share/fonts/WindowsFonts
chmod 755 /usr/share/fonts/WindowsFonts/*
最后,使用命令重新生成 fontconfig 缓存:
fc-cache
在 Ubuntu 中测试和使用 windows 字体
安装 MS 字体后打开 LibreOffice 或 GIMP。 现在,您将看到 Microsoft coretype 字体。
而已。 希望本指南有用。
更新1:
Mscorefonts 预装在 Ubuntu 18.04.2 LTS 桌面中。 所以,我猜最新的 Ubuntu 18.04 LTS 桌面用户不需要安装它。
更新 2:
如果您在从 Ubuntu 16.04 LTS 升级到 18.04.3 LTS 的过程中不小心拒绝了许可协议,您可以通过运行以下命令重新安装安装程序以获取许可协议:
$ sudo apt-get install --reinstall ttf-mscorefonts-installer
谢谢 阿诺77.
字体安装 Microsoft Windows 字体LinuxLinux 方法Microsoft TrueType 核心字体UbuntuWindows 字体