URW++ OTF only optional?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

URW++ OTF only optional?

Jonas Hahnfeld
https://gitlab.com/lilypond/lilypond/-/merge_requests/191 switched to
using URW++ / C059 fonts by default. However, it looks like configure
only requires the previous default, TeX Gyre; URW++ / C059 is optional.
Is that intended and / or correct?

On a more general note, I wonder why the build system is installing the
fonts by default. I get that for prebuilt binaries (from GUB), but for
Linux distributions it actually means I have the fonts multiple times
(see below). Is there a compelling reason? AFAICT this was started very
long ago when there was a need to convert available fonts to a format
understood by LilyPond (but my archeology might be completely wrong
here).



 $ ll /usr/share/lilypond/2.20.0/fonts/otf/{C059,Nimbus,texgyre}*
-rw-r--r-- 1 root root 102K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/C059-BdIta.otf
-rw-r--r-- 1 root root  99K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/C059-Bold.otf
-rw-r--r-- 1 root root  99K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/C059-Italic.otf
-rw-r--r-- 1 root root  96K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/C059-Roman.otf
-rw-r--r-- 1 root root  88K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/NimbusMonoPS-BoldItalic.otf
-rw-r--r-- 1 root root  86K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/NimbusMonoPS-Bold.otf
-rw-r--r-- 1 root root  81K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/NimbusMonoPS-Italic.otf
-rw-r--r-- 1 root root  77K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/NimbusMonoPS-Regular.otf
-rw-r--r-- 1 root root  86K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/NimbusSans-BoldItalic.otf
-rw-r--r-- 1 root root  82K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/NimbusSans-Bold.otf
-rw-r--r-- 1 root root  87K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/NimbusSans-Italic.otf
-rw-r--r-- 1 root root  81K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/NimbusSans-Regular.otf
-rw-r--r-- 1 root root  89K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyrecursor-bolditalic.otf
-rw-r--r-- 1 root root  86K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyrecursor-bold.otf
-rw-r--r-- 1 root root  86K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyrecursor-italic.otf
-rw-r--r-- 1 root root  83K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyrecursor-regular.otf
-rw-r--r-- 1 root root 133K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyreheros-bolditalic.otf
-rw-r--r-- 1 root root 133K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyreheros-bold.otf
-rw-r--r-- 1 root root 136K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyreheros-italic.otf
-rw-r--r-- 1 root root 131K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyreheros-regular.otf
-rw-r--r-- 1 root root 142K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyreschola-bolditalic.otf
-rw-r--r-- 1 root root 139K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyreschola-bold.otf
-rw-r--r-- 1 root root 140K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyreschola-italic.otf
-rw-r--r-- 1 root root 138K 16. Mär 00:01 /usr/share/lilypond/2.20.0/fonts/otf/texgyreschola-regular.otf

 $ ll /usr/share/fonts/gsfonts/C059-*
-rw-r--r-- 1 root root 102K 16. Mai 13:20 /usr/share/fonts/gsfonts/C059-BdIta.otf
-rw-r--r-- 1 root root  99K 16. Mai 13:20 /usr/share/fonts/gsfonts/C059-Bold.otf
-rw-r--r-- 1 root root  99K 16. Mai 13:20 /usr/share/fonts/gsfonts/C059-Italic.otf
-rw-r--r-- 1 root root  96K 16. Mai 13:20 /usr/share/fonts/gsfonts/C059-Roman.otf
 $ ll /usr/share/fonts/gsfonts/{NimbusMonoPS,NimbusSans}-*.otf
-rw-r--r-- 1 root root 88K 16. Mai 13:20 /usr/share/fonts/gsfonts/NimbusMonoPS-BoldItalic.otf
-rw-r--r-- 1 root root 86K 16. Mai 13:20 /usr/share/fonts/gsfonts/NimbusMonoPS-Bold.otf
-rw-r--r-- 1 root root 81K 16. Mai 13:20 /usr/share/fonts/gsfonts/NimbusMonoPS-Italic.otf
-rw-r--r-- 1 root root 77K 16. Mai 13:20 /usr/share/fonts/gsfonts/NimbusMonoPS-Regular.otf
-rw-r--r-- 1 root root 86K 16. Mai 13:20 /usr/share/fonts/gsfonts/NimbusSans-BoldItalic.otf
-rw-r--r-- 1 root root 82K 16. Mai 13:20 /usr/share/fonts/gsfonts/NimbusSans-Bold.otf
-rw-r--r-- 1 root root 87K 16. Mai 13:20 /usr/share/fonts/gsfonts/NimbusSans-Italic.otf
-rw-r--r-- 1 root root 81K 16. Mai 13:20 /usr/share/fonts/gsfonts/NimbusSans-Regular.otf
 $ ll /usr/share/fonts/tex-gyre/texgyre{cursor,heros,schola}-*.otf
-rw-r--r-- 1 root root  89K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyrecursor-bolditalic.otf
-rw-r--r-- 1 root root  86K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyrecursor-bold.otf
-rw-r--r-- 1 root root  86K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyrecursor-italic.otf
-rw-r--r-- 1 root root  83K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyrecursor-regular.otf
-rw-r--r-- 1 root root 133K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyreheros-bolditalic.otf
-rw-r--r-- 1 root root 133K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyreheros-bold.otf
-rw-r--r-- 1 root root 136K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyreheros-italic.otf
-rw-r--r-- 1 root root 131K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyreheros-regular.otf
-rw-r--r-- 1 root root 142K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyreschola-bolditalic.otf
-rw-r--r-- 1 root root 139K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyreschola-bold.otf
-rw-r--r-- 1 root root 140K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyreschola-italic.otf
-rw-r--r-- 1 root root 138K 16. Mai 11:59 /usr/share/fonts/tex-gyre/texgyreschola-regular.otf

signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: URW++ OTF only optional?

Martin Neubauer


On 19/08/2020 16:43, Jonas Hahnfeld wrote:
> https://gitlab.com/lilypond/lilypond/-/merge_requests/191 switched to
> using URW++ / C059 fonts by default. However, it looks like configure
> only requires the previous default, TeX Gyre; URW++ / C059 is optional.
> Is that intended and / or correct?
I'm not quite sure about the intentions, but in my opinion this way
gives the least complications. Even before making them the default,
configure used to automatically install the URW++ fonts if present, but
providing the option not to do that. This way both the needs of
self-contained packages (via GUB) and of distribution-specific ones can
be met.

> On a more general note, I wonder why the build system is installing the
> fonts by default. I get that for prebuilt binaries (from GUB), but for
> Linux distributions it actually means I have the fonts multiple times
> (see below). Is there a compelling reason? AFAICT this was started very
> long ago when there was a need to convert available fonts to a format
> understood by LilyPond (but my archeology might be completely wrong
> here).
As I understand the matter, lilypond looks up fonts in the system font
path (plus its own local font directory structure.) However, there are
some systems where the ghostscript fonts aren't accessible via the
standard system mechanism. Given the presence of distributions where
that is the case (if my interpretation of your list of font paths is
correct), combined with TeX Gyre no longer being the default, it might
actually be a good idea to make installing those fonts optional as well.

Martin

--
Jarmonicator with screwdriver.


signature.asc (849 bytes) Download Attachment