[Top][All Lists]
[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: |
Tue, 27 Feb 2007 10:27:38 +0100 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20061206) |
Graham Percival wrote:
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?
I'd call it a missing warning. Try this:
bf1^\markup{
\override #'(font-name . "Courier")
{ Ceci n'est pas une B }
\normal-text \flat
}
No, in this example, the \override only applies to the { Ceci n'est pas
une B }
so the \normal-text isn't even necessary. Also, your bug report isn't
entirely
correct. The problem is not that the courier font "type" doesn't contain
a flat,
the problem is that setting font-name is a low-level font construct so that
LilyPond will ignore all settings of the high-level font selection
properties
font-family, font-shape and font-series. The \normal-text doesn't reset
font-name
and I'm not sure if that's even desirable.
What Dan wants is something that works in examples like
\markup{
\override #'(font-name . "Courier")
{ Here comes a \flat followed by some other text. }
}
One solution is
myFlat = \markup {\override #'(font-name . #f) \flat }
\markup{
\override #'(font-name . "Courier")
{ Here comes a \myFlat followed by some other text. }
}
/Mats
This has been entered as
http://code.google.com/p/lilypond/issues/detail?id=313
Cheers,
- Graham
_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================