<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><i>How do you find the display name?</i></blockquote><div><br>Use otfinfo with the -i switch.<br>
<br>Cheers,<br></div><blockquote style="margin: 1.5em 0pt;">Nicolas Vaughan</blockquote><br><br><div class="gmail_quote">On Fri, Aug 7, 2009 at 1:46 AM, Alain Delmotte <span dir="ltr"><<a href="mailto:esperanto@swing.be">esperanto@swing.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi David,<br>
<br>
David Perry a écrit :<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It doesn't matter what the actual font files are named, as long as the internal tables use the same name. In other words, you could have four files called dogs.ttf, cats.ttf, goldfish.ttf, and hamsters.ttf; but if the fontmaker gave them all the name "Animals" in the fonts' name tables and set the appropriate bits to indicate normal, bold, italic, and bold italic, fontspec will find them.<br>
</blockquote>
How do you find the display name?<br>
<br>
Alain<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
That's why fontspec requires you to use the display name, which is the name used internally by the font, rather than the actual font filename. Now, if you have something other than the usual four suspects, then you have to specifically tell fontspec (e.g., if you have an old font with small capitals in a separate font, or you want to use a nonstandard family such as "Animals Demi" as the boldface version for "Animals Light."<br>
<br>
David<br>
<br>
Alain Delmotte wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Isn't a problem that the font is in multiple files: Re, Bd, BI, It, C_Re<br>
Shouldn't they be called by something like:<br>
\fontspec[SmallCapsFont=Linux Libertine O Capitals,BoldFont=Linus Libertine O Bold,....]{Linux Libertine O}<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br>