为什么安装 MS Office 字体时下载的文件是“exe”?

为什么安装 MS Office 字体时下载的文件是“exe”?

我安装了该ttf-mscorefonts-installer软件包来为我的系统获取额外的字体。
然后我注意到文件是“exe”。这是为什么?
据我所知,字体不是二进制文件。

$ sudo apt-get install "ttf-mscorefonts-installer"
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  ttf-mscorefonts-installer
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 0 B/27.8 kB of archives.
After this operation, 134 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package ttf-mscorefonts-installer.
(Reading database ... 298130 files and directories currently installed.)
Preparing to unpack .../ttf-mscorefonts-installer_3.4+nmu1ubuntu1_all.deb ...
Unpacking ttf-mscorefonts-installer (3.4+nmu1ubuntu1) ...
Processing triggers for update-notifier-common (0.154.1ubuntu1) ...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/comic32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/courie32.exe

答案1

因为 exe 包含字体 - 我不认为它们是像 Window 那样安装的,而是被提取的(编辑:在 Windows 上它们是自行提取的,感谢@JakeGould)

要查看此内容,您可以下载一个(我下载了这个file-roller),然后在(档案管理器)中打开:

在此处输入图片描述

Ubuntu 和其他人可能无法将字体直接分发给微软授权商 - exe 可能在最终用户许可协议安装程序的提示中链接:

安装软件包时提示 EULA

包括这部分以及其中可能的其他内容:

1. 授予许可。本 EULA 授予您以下权利:

  • 安装和使用. 您可以安装和使用无限数量的软件产品副本。
  • 复制和分发。您可以复制和分发无限数量的软件产品副本;但每份副本均应真实完整,包括所有版权和商标声明,并附有本 EULA 副本。不得以营利为目的单独分发软件产品的副本,也不得将其作为您自己产品的一部分。

2. 其他权利和限制的说明。

  • 逆向工程、反编译和反汇编的限制. 您不得对软件产品进行反向工程、反编译或反汇编,除非且仅限于适用法律明确允许此类活动(尽管有此限制)。
  • 修改限制. 您不得重命名、编辑或创建软件产品的任何衍生作品,除非在文档中嵌入子集。

答案2

MS Office 字体是微软的字体。微软没有为其他操作系统(如 Ubuntu)制作二进制文件,因此ttf-mscorefonts-installer需要下载各种 exe 格式的 MS 字体,然后cabextract从这些 exe 文件中提取字体。

答案3

MS Core Fonts 位于一个自解压 zip 存档中,我们可以打开或安装它,而无需运行 Windows 可执行文件或附带的 Windows 字体安装程序。

要安装字体,只需使用档案管理器打开 font.exe 文件即可查看此档案的内容。

然后,我们双击相应的文件,使用字体查看器打开它,安装包含的 TTF 字体。我们将Install在右上角看到一个按钮,它将安装字体,~/.local/share/fonts而不会询问任何其他问题:

在此处输入图片描述

答案4

下载后,您需要的字体将从这些 exe 文件中提取出来。您可以从控制台中的输出中看到提取进度。没有答案包含输出,所以我将其发布在这里(请注意中间的包“cabextract”和许可证的内容):

$ sudo apt install ttf-mscorefonts-installer
...
The following NEW packages will be installed:
  cabextract libmspack0 ttf-mscorefonts-installer
...
ttf-mscorefonts-installer: processing...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
...

These fonts were provided by Microsoft "in the interest of cross-
platform compatibility".  This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.

Extracting cabinet: /var/lib/update-notifier/package-data-downloads/partial/andale32.exe
  extracting fontinst.inf
  extracting andale.inf
  extracting fontinst.exe
  extracting AndaleMo.TTF
  extracting ADVPACK.DLL
  extracting W95INF32.DLL
  extracting W95INF16.DLL

All done, no errors.
...

All fonts downloaded and installed.
Processing triggers for fontconfig (2.13.1-2ubuntu3) ...

自从 ”您不得以修改形式重新分发它们,包括更改文件名或包装格式",软件包维护者必须保留它们原样,即使这些文件是 CAB 档案(“内阁” 是 CAB)。

相关内容