I follow How do I use a particular font for a small section of text in my document? to change CJK font for a certain part:
global: FZQingKeBenYueSongS-R-GB
selective: TpldKhangXiDictTrial
\documentclass{article}
\usepackage[T1]{fontenc}
\RequirePackage{xeCJK}
\setCJKmainfont{FZQingKeBenYueSongS-R-GB}
\begin{document}
字体:方正清刻本悦宋简体
{\fontfamily{TpldKhangXiDictTrial}\selectfont
字体:康熙字典体繁
}
\end{document}
It outputs FZQingKeBenYueSongS-R-GB for both line
While this what I suppose to see:

What's the problem?

\begin{myfont} text \end{myfont}suggested at https://tex.stackexchange.com/a/25251/95054. It just .. didn't work either – Rahn Aug 20 '17 at 04:23