[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-book: "external" fonts and --pdf option problem
From: |
tisimst |
Subject: |
Re: lilypond-book: "external" fonts and --pdf option problem |
Date: |
Thu, 10 Dec 2015 13:55:24 -0700 (MST) |
Masamichi,
On Thu, Dec 10, 2015 at 7:23 AM, Masamichi Hosoda [via Lilypond] <
address@hidden> 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.
- Re: lilypond-book: "external" fonts and --pdf option problem, (continued)
- Re: lilypond-book: "external" fonts and --pdf option problem, Dmytro O. Redchuk, 2015/12/07
- Re: lilypond-book: "external" fonts and --pdf option problem, James, 2015/12/07
- Re: lilypond-book: "external" fonts and --pdf option problem, Dmytro O. Redchuk, 2015/12/07
- Re: lilypond-book: "external" fonts and --pdf option problem, Dmytro O. Redchuk, 2015/12/08
- Re: lilypond-book: "external" fonts and --pdf option problem, Dmytro O. Redchuk, 2015/12/08
- Re: lilypond-book: "external" fonts and --pdf option problem, Dmytro O. Redchuk, 2015/12/08
- Re: lilypond-book: "external" fonts and --pdf option problem, Dmytro O. Redchuk, 2015/12/08
- Re: lilypond-book: "external" fonts and --pdf option problem, tisimst, 2015/12/09
- Re: lilypond-book: "external" fonts and --pdf option problem, Dmytro O. Redchuk, 2015/12/09
- Re: lilypond-book: "external" fonts and --pdf option problem, Masamichi HOSODA, 2015/12/10
- Re: lilypond-book: "external" fonts and --pdf option problem,
tisimst <=
- Re: lilypond-book: "external" fonts and --pdf option problem, Masamichi HOSODA, 2015/12/11
- Re: lilypond-book: "external" fonts and --pdf option problem, Masamichi HOSODA, 2015/12/19
- Re: lilypond-book: "external" fonts and --pdf option problem, Dmytro O. Redchuk, 2015/12/19