[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: caps and fontCaps don’t work as expected
From: |
James Lowe |
Subject: |
Re: caps and fontCaps don’t work as expected |
Date: |
Thu, 04 Jul 2019 11:35:45 +0100 (BST) |
Hello,
sorry for multiple posts
On Thu, 04 Jul 2019 00:18:13 -0700, Aaron Hill <address@hidden> wrote:
> On 2019-07-04 12:04 am, Malte Meyn wrote:
> > Hi list,
> >
> > \caps doesn’t work if unless it’s the very last markup command before
> > the actual text.
> >
> > \fontCaps seems to have no effect at all. Shouldn’t it enable the smcp
> > feature?
>
> \caps is basically just an alias for \smallCaps which is the so-called
> "poor man's" small caps. It appears to require the immediately
> following argument to be a string in order to work. It will not be able
> to traverse to the string behind a \bold for instance.
>
> \fontCaps sets the font-shape to 'caps, which means you need a font
> installed that supports that font-shape. This is not the same thing as
> OpenType caps, from what I can tell.
>
> \override #'(font-features . ("smcp")) is the (only?) way to use
> OpenType features to select small caps.
>
>
Also see:
https://lists.gnu.org/archive/html/lilypond-devel/2017-06/msg00152.html
James