lilypond-user
[Top][All Lists]
Advanced

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

svg font issue(bug?): can't change TimeSignature font (but markup fonts


From: padovani
Subject: svg font issue(bug?): can't change TimeSignature font (but markup fonts can be changed)
Date: Tue, 28 Apr 2015 14:37:57 -0300

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!




reply via email to

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