summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/zhmetrics/zhwinfonts.tex
blob: 645777444d0f1f403651629e7ca1792ff4fe339f (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
%% Copyright (C) 2009 Yue Wang and Liu Haiyang
%%  This file may be distributed and/or modified under the
%%  conditions of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%%  The latest version of this license is in
%%    http://www.latex-project.org/lppl.txt
%%  and version 1.3 or later is part of all distributions of LaTeX
%%  version 2005/12/01 or later.
%% 
%% Windows Chinese font map loader for pdfTeX and DVIPDFMx
%% Changes: 
%% - now pdftex supports ttc, so there is no need to use simsun.ttf in the map line
%% - add dvipdfmx cid-x.map here in order to load map file during run time
%% - remove the LaTeX package definitions so now plain TeX and ConTeXt are also supported


\input ifpdf.sty

\ifpdf
	\pdfmapline{=gbk@UGBK@ <simsun.ttc} 
	\pdfmapline{=gbksong@UGBK@ <simsun.ttc} 
	\pdfmapline{=gbkkai@UGBK@ <simkai.ttf}
	\pdfmapline{=gbkhei@UGBK@ <simhei.ttf}
	\pdfmapline{=gbkfs@UGBK@ <simfang.ttf}
	\pdfmapline{=gbkli@UGBK@ <simli.ttf}
	\pdfmapline{=gbkyou@UGBK@ <simyou.ttf}

	\pdfmapline{=cyberb@Unicode@ <simsun.ttc}
	\pdfmapline{=unisong@Unicode@ <simsun.ttc}
	\pdfmapline{=unikai@Unicode@ <simkai.ttf}
	\pdfmapline{=unihei@Unicode@ <simhei.ttf}
	\pdfmapline{=unifs@Unicode@ <simfang.ttf}
	\pdfmapline{=unili@Unicode@ <simli.ttf}
	\pdfmapline{=uniyou@Unicode@ <simyou.ttf}

	\pdfmapline{=gbksongsl@UGBK@ <simsun.ttc} 
	\pdfmapline{=gbkkaisl@UGBK@ <simkai.ttf}
	\pdfmapline{=gbkheisl@UGBK@ <simhei.ttf}
	\pdfmapline{=gbkfssl@UGBK@ <simfang.ttf}
	\pdfmapline{=gbklisl@UGBK@ <simli.ttf}
	\pdfmapline{=gbkyousl@UGBK@ <simyou.ttf}

	\pdfmapline{=unisongsl@Unicode@ <simsun.ttc}
	\pdfmapline{=unikaisl@Unicode@ <simkai.ttf}
	\pdfmapline{=uniheisl@Unicode@ <simhei.ttf}
	\pdfmapline{=unifssl@Unicode@ <simfang.ttf}
	\pdfmapline{=unilisl@Unicode@ <simli.ttf}
	\pdfmapline{=uniyousl@Unicode@ <simyou.ttf}

\else
	\special{pdf:mapline + gbk@UGBK@ unicode :0:simsun.ttc -v 50}
	\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}
	\special{pdf:mapline + gbkli@UGBK@ unicode simli.ttf -v 150}
	\special{pdf:mapline + gbkyou@UGBK@ unicode simyou.ttf -v 60}

	\special{pdf:mapline + cyberb@Unicode@ unicode :0:simsun.ttc -v 50}
	\special{pdf:mapline + unisong@Unicode@ unicode :0:simsun.ttc -v 50}
	\special{pdf:mapline + unikai@Unicode@ unicode simkai.ttf -v 70}
	\special{pdf:mapline + unihei@Unicode@ unicode simhei.ttf -v 150}
	\special{pdf:mapline + unifs@Unicode@ unicode simfang.ttf -v 50}
	\special{pdf:mapline + unili@Unicode@ unicode simli.ttf -v 150}
	\special{pdf:mapline + uniyou@Unicode@ unicode simyou.ttf -v 60}

	\special{pdf:mapline + gbksongsl@UGBK@ unicode :0:simsun.ttc -s .167 -v 50}
	\special{pdf:mapline + gbkkaisl@UGBK@ unicode simkai.ttf -s .167 -v 70}
	\special{pdf:mapline + gbkheisl@UGBK@ unicode simhei.ttf -s .167 -v 150}
	\special{pdf:mapline + gbkfssl@UGBK@ unicode simfang.ttf -s .167 -v 50}
	\special{pdf:mapline + gbklisl@UGBK@ unicode simli.ttf -s .167 -v 150}
	\special{pdf:mapline + gbkyousl@UGBK@ unicode simyou.ttf -s .167 -v 60}

	\special{pdf:mapline + unisongsl@Unicode@ unicode :0:simsun.ttc -s .167 -v 50}
	\special{pdf:mapline + unikaisl@Unicode@ unicode simkai.ttf -s .167 -v 70}
	\special{pdf:mapline + uniheisl@Unicode@ unicode simhei.ttf -s .167 -v 150}
	\special{pdf:mapline + unifssl@Unicode@ unicode simfang.ttf -s .167 -v 50}
	\special{pdf:mapline + unilisl@Unicode@ unicode simli.ttf -s .167 -v 150}
	\special{pdf:mapline + uniyousl@Unicode@ unicode simyou.ttf -s .167 -v 60}

\fi
\endinput