Hi, JK<br><br>Thanks for your reply! Actually I'm using Linux + TeXlive 2008. As you said, they can be called by STHeiti-Regular and STHeiti-Light respectively. Also, STHei:style=Light can be also called by STXihei. The font property of the result pdf also says it contains STXihei.<br>
<br><div class="gmail_quote">On Thu, Feb 12, 2009 at 12:05 AM, Jonathan Kew <span dir="ltr"><<a href="mailto:jonathan@jfkew.plus.com">jonathan@jfkew.plus.com</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;">
<div><div></div><div class="Wj3C7c">On 11 Feb 2009, at 15:50, Mi CHEN wrote:<br>
<br>
> Hi,<br>
><br>
> I have a font with two styles, fc-list info is as follows<br>
><br>
> STHeiti:style=Light<br>
> STHeiti:style=Regular<br>
><br>
> As can be seen, they share the same font name but with different<br>
> styles and they are different font files, too.<br>
><br>
> The problem is how could I access the two styles. I tried "STHeiti<br>
> Light" but failed as I expected. I tried "STHeiti:style=Light"<br>
> either but it is just the same with "STHeiti:style=Regular". Any<br>
> ideas? Thanks!<br>
<br>
</div></div>You didn't mention what platform you're using, but trying this on Mac<br>
OS X, at least, they work as expected with<br>
<br>
\font\A = "STHeiti-Regular"<br>
\font\B = "STHeiti-Light"<br>
<br>
According to FontBook, STHeiti-Light is also known as STXihei, and<br>
indeed that name also works.<br>
<br>
Note that the Latin in the two faces is virtually identical, so with<br>
English sample text there may not be any visible difference, although<br>
the Han glyphs are significantly heavier in the Regular face.<br>
<br>
JK<br>
<br>
<br>
_______________________________________________<br>
XeTeX mailing list<br>
<a href="mailto:postmaster@tug.org">postmaster@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Mi<br>