-
Notifications
You must be signed in to change notification settings - Fork 0
/
NKTfonts.cfg
32 lines (31 loc) · 968 Bytes
/
NKTfonts.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% NKTfonts.cfg
% 字体配置文件.
%
%
%
\ProvidesFile{NKTfonts.cfg}
\ifxetex
\setCJKmainfont{SimSun}
\newCJKfontfamily\songti{SimSun}
\newCJKfontfamily\heiti{SimHei}
\newCJKfontfamily\fangsong{[simfang.ttf]}
\newCJKfontfamily\kaiti{[simkai.ttf]}
\newCJKfontfamily\cukai{[fzckjw.ttf]}
\setmainfont{Times New Roman}
\else
\ifpdf
\pdfmapline{=gbksong@UGBK@ < stsong.ttf}
\pdfmapline{=gbkfs@UGBK@ < simfang.ttf}
\pdfmapline{=gbkkai@UGBK@ < simkai.ttf}
\pdfmapline{=gbkhei@UGBK@ < simhei.ttf}
\else
\special{pdf:mapline -gbksong@UGBK@}
\special{pdf:mapline -gbkkai@UGBK@}
\special{pdf:mapline -gbkhei@UGBK@}
\special{pdf:mapline -gbkfs@UGBK@}
\special{pdf:mapline + gbksong@UGBK@ unicode :0:simsun.ttc -v 50}
\special{pdf:mapline + gbkkai@UGBK@ unicode simkai.ttf -v 70}
\special{pdf:mapline + gbkhei@UGBK@ unicode simhei.ttf -v 150}
\special{pdf:mapline + gbkfs@UGBK@ unicode simfang.ttf -v 50}
\fi
\fi