Masamichi, On Thu, Dec 10, 2015 at 7:23 AM, Masamichi Hosoda [via Lilypond] < ml-node+s1069038n18463...@n5.nabble.com> wrote:
> If I understand correctly, > the cause is lilypond's `-dgs-load-fonts' option > with non-emmentaler music font. > > I've reproduced the issue with the following smaller example. > ... > Of course, it has no error without `-dgs-load-fonts' option. > Here is a quick hack patch for the issue. > > ``` > --- framework-ps.scm.org 2015-09-27 21:01:25.000000000 +0900 > +++ framework-ps.scm 2015-12-10 22:03:53.743514600 +0900 > @@ -249,6 +249,7 @@ > (define (internal-font? file-name) > (or (string-startswith file-name "Emmentaler") > (string-startswith file-name "emmentaler") > + (string-startswith file-name "improviso") > )) > > (define (load-font-via-GS font-name-filename) > ``` > Thank you for finding this. I'm wondering if there is a more generic way to identify third-party fonts rather than hard-coding it like this? Perhaps by checking if the font has the LILY, LILC, and LILF subtables? I'm just brain-storming... Best, Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/lilypond-book-external-fonts-and-pdf-option-problem-tp184556p184642.html Sent from the Bugs mailing list archive at Nabble.com. _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond