Changing font of Score.MetronomeMark also removes quarter note in the tempo marking

2013-12-28 Thread Speldosa
This is a problem that I knew that I was going to run into as soon as I
decided that I wanted to do it, but I still haven't manage to figure out a
solution how to get around it.

I want to change the font of the text that can accompany a tempo mark in the
score. Therefore, I'm running the code below.

\relative c'
{
\tempo Vivacissimo 4 = 150
\override Score.MetronomeMark.font-name = Verdana
c
}

However, when compiling this code, the resulting tempo marking looks like
this: Vivacissimo ( = 150), that is, the quarter note before the equal
sign is missing. Now, I realize that this probably is the case because I
have switched the font to Verdana, which doesn't have support for notes. So,
is there a way to for me to use another font here, but still retain the
quarter note from the default font?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Changing-font-of-Score-MetronomeMark-also-removes-quarter-note-in-the-tempo-marking-tp156623.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Changing font of Score.MetronomeMark also removes quarter note in the tempo marking

2013-12-28 Thread Thomas Morley
2013/12/28 Speldosa l4rs...@gmail.com:
 This is a problem that I knew that I was going to run into as soon as I
 decided that I wanted to do it, but I still haven't manage to figure out a
 solution how to get around it.

 I want to change the font of the text that can accompany a tempo mark in the
 score. Therefore, I'm running the code below.

 \relative c'
 {
 \tempo Vivacissimo 4 = 150
 \override Score.MetronomeMark.font-name = Verdana
 c
 }

 However, when compiling this code, the resulting tempo marking looks like
 this: Vivacissimo ( = 150), that is, the quarter note before the equal
 sign is missing. Now, I realize that this probably is the case because I
 have switched the font to Verdana, which doesn't have support for notes. So,
 is there a way to for me to use another font here, but still retain the
 quarter note from the default font?



 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/Changing-font-of-Score-MetronomeMark-also-removes-quarter-note-in-the-tempo-marking-tp156623.html
 Sent from the User mailing list archive at Nabble.com.

 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

Hi,

this is issue 3096
http://code.google.com/p/lilypond/issues/detail?id=3096
will appear in 2.19

For now you could download my patch from Rietveld and apply it, if you
are self-compiling.
Or try:

\relative c'
{
\override Score.MetronomeMark #'font-name = Verdana
\tempo
\markup {
Vivacissimo (
\override #'(font-name . default)
\fontsize #-2
\note #4 #1
= 150)
}
c
}

HTH,
  Harm

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user