diff options
author | Karl Berry <karl@freefriends.org> | 2009-07-26 22:48:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-07-26 22:48:19 +0000 |
commit | a61255d3f08d6f84d47566c8b4b21b26ecf8059b (patch) | |
tree | b2aa2d3a140a5616d005e8b2a5791699c8a526da /Master/texmf-dist/tex | |
parent | 39d3651f40a35420bc608619c8f1e2d0d8dec192 (diff) |
new chinese metrics zhmetrics (27jul09)
git-svn-id: svn://tug.org/texlive/trunk@14469 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/zhmetrics/zhwinfonts.tex | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/zhmetrics/zhwinfonts.tex b/Master/texmf-dist/tex/generic/zhmetrics/zhwinfonts.tex new file mode 100644 index 00000000000..9464135e927 --- /dev/null +++ b/Master/texmf-dist/tex/generic/zhmetrics/zhwinfonts.tex @@ -0,0 +1,78 @@ +%% 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 + +\ifpdf + \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{=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 + 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 + 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 |