Nice! Thank you!! 2015-04-29 20:02 GMT-03:00 Dan Eble <[email protected]>:
> On Apr 29, 2015, at 16:48 , padovani <[email protected]> wrote: > > > > So... I discovered that the TimeSignature issue is related to the fact > that > > it is not being written as text to the svg file, but as a path. > > > > If I use this code I can create a svg file with different fonts for the > > time signature, overriding the stencil with a text: > ... > > It works, but I'm struggling here to change the text of the time > signature > > automatically with a scheme function. > > \version "2.19.16" > > #(add-simple-time-signature-style 'swiss > (lambda (fraction) > (let ((n (car fraction)) > (d (cdr fraction))) > #{ > \markup { > \override #'(font-name . "Helvetica") > \override #'(baseline-skip . 0.2) > \fontsize #4 > \column { #(number->string n) #(number->string d) } > } > #} ))) > > \score { > \new Staff \with { > \override TimeSignature.style = #'swiss > } { > \time 2/4 > c2 > } > } > > — > Dan > > _______________________________________________ lilypond-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-devel
