diff options
Diffstat (limited to 'Master/texmf-dist/tex/xetex/zhspacing/latex/zhfont.sty')
-rw-r--r-- | Master/texmf-dist/tex/xetex/zhspacing/latex/zhfont.sty | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/xetex/zhspacing/latex/zhfont.sty b/Master/texmf-dist/tex/xetex/zhspacing/latex/zhfont.sty index 660f7a1ac2c..cc3f98d382b 100644 --- a/Master/texmf-dist/tex/xetex/zhspacing/latex/zhfont.sty +++ b/Master/texmf-dist/tex/xetex/zhspacing/latex/zhfont.sty @@ -58,17 +58,14 @@ \newfontfamily#1[BoldFont=#3,ItalicFont=#2,ItalicFeatures={RawFeature={slant=0.17}},BoldItalicFont=#3,BoldItalicFeatures={RawFeature={slant=0.17}}]{#2}% } -%\newfontfamily\zhrmfont[BoldFont=SimHei,ItalicFont=SimSun,ItalicFeatures={RawFeature={slant=0.17}},BoldItalicFont=SimHei,BoldItalicFeatures={RawFeature={slant=0.17}}]{SimSun} -%\newfontfamily\zhsffont[ItalicFont=SimHei,ItalicFeatures={RawFeature={slant=0.17}}]{SimHei} -%\newfontfamily\zhttfont[BoldFont=KaiTi_GB2312,ItalicFont=FangSong_GB2312,ItalicFeatures={RawFeature={slant=0.17}},BoldItalicFont=KaiTi_GB2312,BoldItalicFeatures={RawFeature={slant=0.17}}]{FangSong_GB2312} \ifzhfont@fakebold -\newfontfamilywithslant\zhrmfont{SimSun} -\newfontfamilywithslant\zhsffont{SimHei} -\newfontfamilywithslant\zhttfont{FangSong_GB2312} + \newfontfamilywithslant\zhrmfont{SimSun} + \newfontfamilywithslant\zhsffont{SimHei} + \newfontfamilywithslant\zhttfont{[simfang.ttf]} \else -\newfontfamilywithslantandbold\zhrmfont{SimSun}{SimHei} -\newfontfamilywithslant\zhsffont{SimHei} -\newfontfamilywithslantandbold\zhttfont{FangSong_GB2312}{KaiTi_GB2312} + \newfontfamilywithslantandbold\zhrmfont{SimSun}{SimHei} + \newfontfamilywithslant\zhsffont{SimHei} + \newfontfamilywithslantandbold\zhttfont{[simfang.ttf]}{[simkai.ttf]} \fi \def\zhfont{\ifcase\zhs@curr@fam\zhrmfont\or\zhsffont\or\zhttfont\else\zhrmfont\fi} |