[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem overriding fonts
From: |
Noeck |
Subject: |
problem overriding fonts |
Date: |
Thu, 12 Feb 2015 15:12:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Hi,
I want to use a different font in general (titles, lyrics, etc.) but keep
Century Schoolbook L for some parts like MetronomeMarks and BarNumbers.
How can I do that without loosing the ability to choose the font weight/shape in
the markup using \bold, \italic or \medium?
\version "2.18.2"
\paper {
fonts = #
(make-pango-font-tree
"Linux Libertine O"
"Linux Biolinum O"
"Ubuntu Mono"
(/ (* staff-height pt) 2.5))
}
{
\tempo \markup { Andante \italic con \bold moto \medium etc } a1^"good as
before with Century S. but I want a different font" \break
\override Score.MetronomeMark.font-name = #"Century Schoolbook L"
\tempo \markup { Andante \italic con \bold moto \medium etc } a1^"bad: not
bold by default, ignores bold and italic" \break
\override Score.MetronomeMark.font-name = #"Century Schoolbook L bold"
\tempo \markup { Andante \italic con \bold moto \medium etc } a1^"bad: ignores
medium and italic"
}
Joram
- problem overriding fonts,
Noeck <=