Hi,

This code compiles on .ps /.svg backends without problems:

%code 1
\score {
\new Staff {
\time 2/4
c2_\markup {
  \override #'(font-name . "Helvetica")
    "here it works"
}
}
}
%end code 1

But the code below one gives me an error if I compile with -dbackend=svg

%code2
\score {
\new Staff {
\override Staff.TimeSignature.font-name = #'"Helvetica"
\time 2/4
c2_\markup {
  \override #'(font-name . "Helvetica")
    "here it works"
}
}
}
% end code 2

here is the error:
%%error begin
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `teste.svg'...
warning: cannot find SVG font #f
/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/output-svg.scm:558:7:
In procedure string-null? in expression (string-null? expr):
/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/output-svg.scm:558:7:
Wrong type argument in position 1 (expecting string): #<unspecified>
%%error end

(I'm using 2.19.19 on OSX 10.9.5.)

Is this a bug? It seems that something need to be changes in
output-svg.scm... any idea?

Thank you!
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to