[XeTeX] An OTF feature problem...
jonathan_kew at sil.org
Sat May 28 17:53:20 CEST 2005
On 28 May 2005, at 12:24 pm, Stephen Moye wrote:
> I am writing a series of macros that specialize in the creation of
> type specimens. I have begun on some using XeTeX, but have come up
> against a problem. When I specify a feature such as +onum the width of
> the string and the size of the font are incorrectly calculated. Am I
> doing something wrong? Thanks for any help.
Font name modifiers such as /S that affect the actual font loaded need
to be specified *before* optional features such as +onum. Your code
would expand to a command like
\font\dsp = "Brioso Pro:+onum/S=14" ....
but here the /S will be ignored, because it is seen as part of the
feature string, not part of the font face name.
Yes, I know, the documentation could be a lot clearer about this
More information about the XeTeX