FS#77700 - [lilypond] Please make tex-gyre-fonts package required

Attached to Project: Community Packages
Opened by Jean Abou Samra (jeanas) - Thursday, 02 March 2023, 11:41 GMT
Last edited by Toolybird (Toolybird) - Friday, 03 March 2023, 01:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The lilypond package has the tex-gyre-fonts package as an optional dependency. However,
as noted in our contributor's guide
<https://lilypond.org/doc/v2.24/Documentation/contributor/requirements-for-running-lilypond>
these fonts are considered a required dependency of LilyPond, and for two reasons:

- We promise in our documentation that TeX Gyre can be used,

- More importantly: LilyPond uses Fontconfig + Pango for font searching, and these
libraries adapt the search to the input text. If you enter Vietnamese text into
LilyPond, since the URW++ fonts don't have glyphs for Vietnamese, TeX Gyre
should get used. Currently, if you install lilypond via ArchLinux but not tex-gyre-fonts
and use Vietnamese, a system-dependent font is picked.

Steps to reproduce:

Install lilypond, but make sure tex-gyre-schola is not installed. Then compile the LilyPond file

```
\version "2.24.1"

\markup \wordwrap {
Việt Nam Cộng hòa (viết tắt VNCH; tiếng Anh: Republic of Vietnam; tiếng Pháp: République du Viêt Nam, viết tắt RVN) là một nhà nước đã từng tồn tại từ năm 1955 đến năm 1975.
}
```

and run pdffonts on the result. The expected output is

```
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
CVYJNK+C059-Roman Type 1C Custom yes yes no 7 0
AXNWEU+TeXGyreSchola-Regular Type 1C Custom yes yes no 9 0
```
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 03 March 2023, 01:29 GMT
Reason for closing:  Won't implement
Additional comments about closing:  See comments
Comment by Jonas Hahnfeld (hahnjo) - Thursday, 02 March 2023, 12:45 GMT
I disagree with Jean, 99.9% of the users will be fine without the extra fonts. In my opinion, this is exactly what optional dependencies are for, which is why David and me arrived at this setup two years ago.
Comment by Toolybird (Toolybird) - Friday, 03 March 2023, 01:29 GMT
I agree with @hahnjo. optdep seems perfect here.

Loading...