[XeTeX] problem getting small caps
Mike Maxwell
maxwell at umiacs.umd.edu
Sun Nov 8 22:26:47 CET 2009
Fr. Michael Gilmary wrote:
> Mike Maxwell wrote:
>> I'm not sure how to make that work together with \setmainfont, but
>> now that I know the new font works, that can wait until Monday.
>
> You can try:
>
> \setmainfont[ExternalLocation=/Users/frmichael/fontinfo/UNfonts/]{YOUR_FONT}
I can get that to work for the regular Charis SIL font. But since the
regular, bold, italic, and bold italic are each in their own files, it's
not apparent to me how to get all four as styles of the main font using
the "external fonts" syntax, since each filename is different. That is,
I can do
\setmainfont[ExternalLocation=/foo/bar/]{CharisSILR.ttf
for the regular style font (the 'R' in the filename), but then I don't
have the italic etc. versions. And if I issue similar \setmainfont cmds
for the other styles, I end up with the main font being available only
in whatever style the last \setmainfont refers to.
Whereas \setmainfont finds all the styles if I use the font display
name, since the display name for all four styles is the same ("Charis
SIL"); it just doesn't find the right external location.
Or am I missing something about the syntax of this external location system?
Anyway, I guess the right way to fix this is to get rid of the old
versions of the font (tomorrow). Then I can use the display name
syntax, and get all four styles of the newest version of the font (and
the small caps).
--
Mike Maxwell
What good is a universe without somebody around to look at it?
--Robert Dicke, Princeton physicist
More information about the XeTeX
mailing list