-
Notifications
You must be signed in to change notification settings - Fork 1
/
NKTfonts.cfg
28 lines (27 loc) · 881 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
% NKTfonts.cfg
% 字体配置文件.
%
%
%
\ProvidesFile{NKTfonts.cfg}
\ifxetex
\setCJKmainfont[BoldFont={SimHei},ItalicFont={[simkai.ttf]}]{SimSun}
\setCJKmonofont{[simfang.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