[XeTeX] Nested \textit in an italic fontinstance

Will Robertson wspr81 at gmail.com
Wed Sep 13 11:52:27 CEST 2006


On 13/09/2006, at 19:07 , Bruno Voisin wrote:

> I'm not quite sure what you mean by "filling in the blanks",

Yes you do, I just didn't explain it properly.
fontspec uses XeTeX's /B and /I font suffices to load fonts
for \textit and \textbf.

This whole thread is pretty much the reasoning behind the most recent
fontspec's \newfontface command -- for when you want to
load a font without associated italic/bold shapes.

> As a result, "Myriad Pro Italic/I" should be exactly the same as
> "Myriad Pro Italic", I think. And \2 exactly the same as \1 in your
> above example. And \textit to have no effect at all when used in
> {\itshape ... \textit{...}}.

Don't let Peter confuse you. The original poster's email demonstrated
that "{\textit{Italic \textit{Italic Too}}}" behaves *correctly* for
   "\fontspec{Myriad Pro}"

But in his example (simplified)
   "\fontspec{Myriad Pro Italic} Italic \textit{Surely this should be  
Italic too?}"
it's the automatically found "italic" shape of "Myriad Pro Italic"
(which doesn't make sense) that is returning the font to upright.
(In a perverse way, the italic shape of a slanted font could in argument
be claimed to be an upright one.)

But the behaviour of the /I suffix is nothing to do with me :)

Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2361 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20060913/427fb723/attachment.bin 


More information about the XeTeX mailing list