You'll want to check out the other thread related to xecjk from this
month. In essence, xecjk overrides fontspec mechanisms for font
selection, so you'll need to do something like:
\setCJKfamilyfont{sungtiGBfamily}{AR PL SungtiL GB}
\newcommand{\sungtiGB}[1]{{\CJKfamily{sungtiGBfamily}#1}}
HTH
-Andy
On Thu, Apr 26, 2012 at 14:05, Haines Brown <[email protected]> wrote:
> I'm migrating from LaTeX to XeLaTeX on Debian Squeeze with TL2100,
> but having trouble with XeLaTeX display of Chinese characters:
>
> \documentclass[12pt]{article}
> \usepackage{xltxtra}
> \setmainfont[Mapping=tex-text]{Linux Libertine O}
> \usepackage{xeCJK}
> \setCJKmainfont{AR PL KaitiM GB}
> \newfontfamily\sungtiGB{AR PL SungtiL GB}
>
> \begin{document}
>
> Main font:
>
> Sung font: {\sungtiGB ??}
>
> \end{document}
>
> The chinese characters are all displayed with main font "AR PL KaitiM
> GB" but the \newfontfamily only displays the main font, not the font
> it specifies. I do have access to the font because if I set "AR PL
> SungtiL GB" as main font, it displays properly.
>
> Haines Brown
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex