Export to GitHub

lilypond - issue #4552

Change the LilyPond default fonts to TeX Gyre


Posted on Aug 11, 2015 by Helpful Giraffe

This is devided from Issue 952.

I'm making a patch that replacing Century Schoolbook to TeXGyreSchola. The patch will remove request, converting to OTF and installing Century Schoolbook. And the patch will add request and installing TeX Gyre Schola / Heros / Cursor fonts.

Due to fontsetting conflict, I'll upload the patch after pushing Issue 4544.

Comment #1

Posted on Aug 14, 2015 by Helpful Giraffe

I've uploaded the patch.

Issue 4552 / 6: Remove configure script to search and request URW++ fonts

This commit removes configure script to search and request URW++ fonts.
(Century Schoolbook L, Nimbus Sans L, Nimbus Mono L)

Issue 4552 / 5: Remove makefiles to convert and install URW++ fonts

This commit removes makefiles to convert to OTF and install URW++ fonts.
(Century Schoolbook L, Nimbus Sans L, Nimbus Mono L)

Issue 4552 / 4: Remove TeX's Century Schoolbook L settings

This commit deletes Century Schoolbook L settings from TeX's map file.

Issue 4552 / 3: Replace LilyPond default font to TeX Gyre fonts

from                    to
Century Schoolbook L -> TeX Gyre Schola
Nimbus Sans L        -> TeX Gyre Heros
Nimbus Mono L        -> TeX Gyre Cursor

Issue 4552 / 2: Add makefiles to install TeX Gyre font OTF files

This commit adds makefiles
to install TeX Gyre font OTF files.

Issue 4552 / 1: Add configure script to search TeX Gyre font OTF files

This commit adds configure script
to search TeX Gyre font OTF files
and to pass their directory to makefiles.

https://codereview.appspot.com/258250043

Comment #2

Posted on Aug 14, 2015 by Quick Kangaroo

When running ./configure I get the warning:

"ERROR: Please install required programs: TeX Gyre fonts OTF (make sure the fc-list utility can see them, or use --with-texgyre-dir)"

Which is fine and dandy, but this seems a bit technical (for me anyway) what does the 'make sure the fc-list utility can see them' mean and is there a universal name for this font package so I can just apt-get them? I can see in my repo (using an Ubuntu derivative)

tex-gyre

and

fonts-texgyre

Do I need both or just one?

these are the kind of things we need to make more clear here I think in the message? I'll work it out for the patch test and come back with my findings but we do need to change this wording I think to make it easy for someone to find and install these packages.

Comment #3

Posted on Aug 14, 2015 by Quick Kangaroo

If I select the package 'tex-gyre' it marks the pckage 'fonts-texgyre' as well, but if I just mark 'fonts-texgyre' it leaves the package 'tex-gyre' alone.

So installing 'fonts-texgyre' give me

fc-list | grep gyre

/usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-bold.otf: TeX Gyre Bonum:style=Bold /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-italic.otf: TeX Gyre Cursor:style=Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyretermes-italic.otf: TeX Gyre Termes:style=Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreadventor-bold.otf: TeX Gyre Adventor:style=Bold /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-bolditalic.otf: TeX Gyre Pagella:style=Bold Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf: TeX Gyre Heros:style=Regular /usr/share/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf: TG Pagella Math:style=Regular /usr/share/texmf/fonts/opentype/public/tex-gyre-math/texgyretermes-math.otf: TG Termes Math:style=Regular /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheroscn-bolditalic.otf: TeX Gyre Heros Cn:style=Bold Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-bold.otf: TeX Gyre Cursor:style=Bold /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreschola-regular.otf: TeX Gyre Schola:style=Regular /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreadventor-italic.otf: TeX Gyre Adventor:style=Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyretermes-bolditalic.otf: TeX Gyre Termes:style=Bold Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheroscn-italic.otf: TeX Gyre Heros Cn:style=Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheroscn-bold.otf: TeX Gyre Heros Cn:style=Bold /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-bolditalic.otf: TeX Gyre Bonum:style=Bold Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-bolditalic.otf: TeX Gyre Cursor:style=Bold Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreadventor-bolditalic.otf: TeX Gyre Adventor:style=Bold Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreschola-bolditalic.otf: TeX Gyre Schola:style=Bold Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-italic.otf: TeX Gyre Pagella:style=Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrechorus-mediumitalic.otf: TeX Gyre Chorus:style=Regular /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheros-bold.otf: TeX Gyre Heros:style=Bold /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf: TeX Gyre Pagella:style=Regular /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrecursor-regular.otf: TeX Gyre Cursor:style=Regular /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-regular.otf: TeX Gyre Bonum:style=Regular /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreadventor-regular.otf: TeX Gyre Adventor:style=Regular /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-bold.otf: TeX Gyre Pagella:style=Bold /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheros-italic.otf: TeX Gyre Heros:style=Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreschola-italic.otf: TeX Gyre Schola:style=Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheros-bolditalic.otf: TeX Gyre Heros:style=Bold Italic /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreschola-bold.otf: TeX Gyre Schola:style=Bold /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyreheroscn-regular.otf: TeX Gyre Heros Cn:style=Regular /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyretermes-regular.otf: TeX Gyre Termes:style=Regular /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyretermes-bold.otf: TeX Gyre Termes:style=Bold /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-italic.otf: TeX Gyre Bonum:style=Italic

Comment #4

Posted on Aug 14, 2015 by Quick Kangaroo

and that seems to allow me to ./configure

Comment #5

Posted on Aug 15, 2015 by Helpful Giraffe

You are right. `font-texgyre' installation is required.

I've changed the message and uploaded Patch Set 2.

https://codereview.appspot.com/258250043/

Comment #6

Posted on Aug 15, 2015 by Quick Kangaroo

Passes make, make check and a full make doc, but the reg test diffs are very bad.

See:

https://drive.google.com/file/d/0B9nZ5LHV2Ds6S1c0U19Dc1ZpZjA/view?usp=sharing

Comment #7

Posted on Aug 15, 2015 by Quick Kangaroo

Actually sorry I take that back about 'very bad', it is just the specific reg tests that pop up which are supposed to look like that. I am a bit tired this morning :) so I was taken by surprise that was all, they look OK after all, but there are a few, so they still need checking.

Sorry.

Comment #8

Posted on Aug 17, 2015 by Quick Kangaroo

Patch on countdown for August 20th.

Comment #9

Posted on Aug 20, 2015 by Quick Kangaroo

Patch counted down - please push

Comment #10

Posted on Aug 20, 2015 by Helpful Giraffe

I've pushed to staging.

Issue 4552 / 1: Add configure script to search TeX Gyre font OTF files author Masamichi Hosoda Sat, 15 Aug 2015 03:47:40 +0000 (12:47 +0900) committer Masamichi Hosoda Thu, 20 Aug 2015 09:35:00 +0000 (18:35 +0900) commit b78ddeaa721f4bca1ce11d429ffe7d6b881ca8be

Issue 4552 / 2: Add makefiles to install TeX Gyre font OTF files author Masamichi Hosoda Mon, 10 Aug 2015 01:47:49 +0000 (10:47 +0900) committer Masamichi Hosoda Thu, 20 Aug 2015 09:35:10 +0000 (18:35 +0900) commit 7c30014f110ee407b56c91d3b451b28ce7a89f8a

Issue 4552 / 3: Replace LilyPond default font to TeX Gyre fonts author Masamichi Hosoda Fri, 14 Aug 2015 11:11:33 +0000 (20:11 +0900) committer Masamichi Hosoda Thu, 20 Aug 2015 09:35:21 +0000 (18:35 +0900) commit bb66d05c73dbc038b994430545c85966fd9edc12

Issue 4552 / 4: Remove TeX's Century Schoolbook L settings author Masamichi Hosoda Sat, 15 Aug 2015 03:58:43 +0000 (12:58 +0900) committer Masamichi Hosoda Thu, 20 Aug 2015 09:35:32 +0000 (18:35 +0900) commit b7088489f91c805f2260d2efecc01f26519c5352

Issue 4552 / 5: Remove makefiles to convert and install URW++ fonts author Masamichi Hosoda Fri, 14 Aug 2015 13:45:20 +0000 (22:45 +0900) committer Masamichi Hosoda Thu, 20 Aug 2015 09:35:43 +0000 (18:35 +0900) commit 2ce9d3b0ac456df77a73342fdf802f2e198c3b4e

Issue 4552 / 6: Remove configure script to search and request URW++ fonts author Masamichi Hosoda Fri, 14 Aug 2015 13:50:03 +0000 (22:50 +0900) committer Masamichi Hosoda Thu, 20 Aug 2015 09:35:56 +0000 (18:35 +0900) commit 603a841f53be1b9a0a33c539fcd55228dd0e6128

Status: Fixed

Labels:
Type-Enhancement Fixed_2_19_26