Thomas Morley <thomasmorle...@gmail.com> 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 _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond