|
From: | Aaron Hill |
Subject: | Re: \caps and \fontCaps don’t work as expected |
Date: | Thu, 04 Jul 2019 00:18:13 -0700 |
User-agent: | Roundcube Webmail/1.3.8 |
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.
-- Aaron Hill
[Prev in Thread] | Current Thread | [Next in Thread] |