bug-lilypond
[Top][All Lists]
Advanced

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

Re: markup font bug


From: Mats Bengtsson
Subject: Re: markup font bug
Date: Mon, 26 Feb 2007 08:20:39 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061206)

When you explicitly specify the font-name property, you override
normal font selection mechanism. For example, the markup command \flat internally uses the property font-encoding to select the music font,
but as you have noticed, this doesn't work if the font-name property
has been explicitly specified. The simple workaround in your example
is to move the right curly brace to be before instead of after \flat:
\markup{
     \override #'(font-name . "Courier")
     { Ceci n'est pas une B }\flat
   }

  /Mats

Dan Eble wrote:
% Note the missing flat in the markup.
% Should \flat use the flat sign from Lilypond's font,
% or is this something I'm not supposed to want to do?

\version "2.10.19"
\include "english.ly"
\score {
  \relative c'' {
    bf1^\markup{
      \override #'(font-name . "Courier")
      { Ceci n'est pas une B \flat }
    }
  }
}

% Thanks,
% Dan



_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond





reply via email to

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