bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ly:output-def-clone not working correctly?


From: David Kastrup
Subject: Re: ly:output-def-clone not working correctly?
Date: Sun, 08 Oct 2017 13:36:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> The foolwing code returns a gs error:
> \version "2.19.65"
>
> #(define-markup-command (clone-test layout props mrkp) (markup?)
>   (interpret-markup (ly:output-def-clone layout) props mrkp))
>
> \markup \clone-test \score { { c'1 } }
>
> ->
> warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=595.28
> -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH
> -r1200 -sDEVICE=pdfwrite -dAutoRotatePages=/None
> -sOutputFile=atest-63.pdf -c.setpdfwrite -f/tmp/lilypond-JyFZOH)'
> failed (256)
>
> Looking at ps-files it seems no Emmentaler-font is embedded.

I think using a different layout than the one your output appears in is
not a supported idea.  Output definitions are hemimetabolic.  They may
be an "output definition" but it's not like they are being used to
instantiate a separate "output" type like a context definition is
instantiated into a context.  Instead, output definitions may receive
the side effects from their uses (which include managing the writing of
a Midi/PDF file, and in this case, causing font definitions).

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]