fontist / vista-fonts-installer

Installer for Microsoft Vista TrueType Fonts (TTF) aka Microsoft’s ClearType fonts on macOS and Ubuntu
11 stars 0 forks source link

Require accepting Microsoft EULA #3

Closed ronaldtse closed 2 years ago

ronaldtse commented 3 years ago

This task is to enhance this shell script to only install fonts when:

ronaldtse commented 3 years ago

@alexeymorozov do you have time for this? Thanks.

alexeymorozov commented 3 years ago

We could already have it.

Microsoft EULA from formulas is displayed when installing fonts. E.g.

$ fontist install -f calibri
FONT LICENSE ACCEPTANCE REQUIRED FOR "calibri":

Fontist can install this font if you accept its licensing conditions.

FONT LICENSE BEGIN ("calibri")
-----------------------------------------------------------------------
MICROSOFT SOFTWARE LICENSE TERMS
MICROSOFT POWERPOINT VIEWER
These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft
..

or

$ fontist install -f arial
FONT LICENSE ACCEPTANCE REQUIRED FOR "arial":

Fontist can install this font if you accept its licensing conditions.

FONT LICENSE BEGIN ("arial")
-----------------------------------------------------------------------
(from http://web.archive.org/web/20011222020409/http://www.microsoft.com/typography/fontpack/eula.htm)
TrueType core fonts for the Web EULA

END-USER LICENSE AGREEMENT FOR
MICROSOFT SOFTWARE

IMPORTANT-READ CAREFULLY: This Microsoft End-User License Agreement ("EULA") is a legal agreement between you (either an individual or a single entity) and Microsoft Corporation for the Microsoft software accompanying this EULA, which includes computer software and may include associated media, printed materials, and "on-line" or electronic documentation ("SOFTWARE PRODUCT" or "SOFTWARE"). By exercising your rights to make and use copies of the SOFTWARE PRODUCT, you agree to be bound by the terms of this EULA. If you do not agree to the terms of this EULA, you may not use the SOFTWARE PRODUCT.
..

Also it could be accepted with the --confirm-license option. E.g.

$ fontist install --confirm-license -f "calibri"

Does it suit to the needs?

alexeymorozov commented 3 years ago

Oh, it's another script not fontist. Will see a bit more.

ronaldtse commented 2 years ago

@HassanAkbar do you have time for this? Thanks.