[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Small caps not working
From: |
Colin Wilding |
Subject: |
Re: Small caps not working |
Date: |
Wed, 29 Mar 2006 14:40:24 +0100 |
Thanks for that, Geoff.
It might be a good idea to
(a) note in the documentation that this requires a suitable font (and that
the default fonts might not work?);
(b) use a working example for the graphic in the regression test.
That said, I'm not sure the problem is with the font in my case. I'm using
XP, and I can get \smallCaps to work within a markup, even in lyrics and
with the default font. In this snippet, for example, the first line of
lyrics shows small caps but the second does not:
\version "2.8.0"
\score { <<
\new Voice = va { a'4 b' c'' d'' }
\new Lyrics {
\lyricsto va {
\markup { \smallCaps "One" }
\markup { \smallCaps "Two" }
\markup { \smallCaps "Three" }
\markup { \smallCaps "Four" }
}
}
\new Lyrics {
\override LyricText #'font-shape = #'caps
\lyricsto va {
One Two Three Four
}
}
>>
}
Perhaps I have just got the font-shape instruction wrong? Either that or
\smallCaps uses a routine that is not dependent on the fonts.
Obviously it's not practical to have a separate markup instruction for every
syllable in the lyrics, though. As far as I can see the work-around in
11.2.3 suffers from the same problem.
By the way, much of this section of the documentation could be updated to
reflect the fact that there is now a built-in function \smallCaps.
Colin
p.s. Geoff - some of the tips on your website have proved a real boon. Many
thanks!
On 3/29/06, Geoff Horton <address@hidden> wrote:
>
> > Could you clarify for me what is happening with small caps, please?
>
> Small caps might not work if the font you're using doesn't come in a
> small-caps version--it doesn't work for me in WinXP, for example.
> There's some code in the manual, at the end of 11.2.3, that fakes it.
>
> Geoff
>