[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MetronomeMark doesn't respond to #'font-series override
From: |
Reinhold Kainhofer |
Subject: |
Re: MetronomeMark doesn't respond to #'font-series override |
Date: |
Wed, 19 Nov 2008 14:42:12 +0100 |
User-agent: |
KMail/1.9.10 |
Am Montag, 17. November 2008 schrieb Mark Polesky:
> Is this a bug?
Well, yes and no. The bold font is hardcoded inside the metronome-markup
function in scm/translation-functions.scm.
The reason is that the full metronome marks are constructed as:
"Tempowords (note=beat)"
where in old printed scores "Tempowords" is printed in bold,
while "(note=beat)" is printed in normal font in smaller size...
So, there is not one bold/non-bold setting, but actually two... The bold for
the words is hardcoded. The #'font-series will apply to "(note=beat)",
though...
I don't see any better solution...
I tried removing the hardcoded bold and setting the whole metronome mark to
bold font in the define-grobs.scm, but the result is not really convincing
(the "(note=beat)" is much too heavy now...). See the attached pdf.
Cheers,
Reinhold
> %% MetronomeMark doesn't respond to #'font-series override
>
> \version "2.11.63-1"
>
> \score {
> \new Staff \relative {
> \tempo "Allegro"
> g' a b c
> }
> \layout {
> \context {
> \Score
>
> %% these 3 lines affect tempo mark as expected:
> \override MetronomeMark #'font-family = #'sans
> \override MetronomeMark #'font-size = #2
> \override MetronomeMark #'font-shape = #'italic
>
> %% but tempo remains bold despite adding this line:
> \override MetronomeMark #'font-series = #'medium
> }
> }
> }
--
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
metronome-text.pdf
Description: Adobe PDF document