| 1 |
%% |
| 2 |
%% This is file `ctex-fontset-adobe.def', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% ctex.dtx (with options: `fontset,adobe') |
| 8 |
%% |
| 9 |
%% Copyright (C) 2003--2022 |
| 10 |
%% CTEX.ORG and any individual authors listed in the documentation. |
| 11 |
%% --------------------------------------------------------------------- |
| 12 |
%% |
| 13 |
%% This work may be distributed and/or modified under the |
| 14 |
%% conditions of the LaTeX Project Public License, either |
| 15 |
%% version 1.3c of this license or (at your option) any later |
| 16 |
%% version. This version of this license is in |
| 17 |
%% http://www.latex-project.org/lppl/lppl-1-3c.txt |
| 18 |
%% and the latest version of this license is in |
| 19 |
%% http://www.latex-project.org/lppl.txt |
| 20 |
%% and version 1.3 or later is part of all distributions of |
| 21 |
%% LaTeX version 2005/12/01 or later. |
| 22 |
%% |
| 23 |
%% This work has the LPPL maintenance status "maintained". |
| 24 |
%% |
| 25 |
%% --------------------------------------------------------------------- |
| 26 |
%% |
| 27 |
\GetIdInfo$Id: ctex.dtx 13a2256 2022-07-14 18:54:09 +0800 Qing Lee <[email protected]> $ |
| 28 |
{Adobe fonts definition (CTEX)} |
| 29 |
\ProvidesExplFile{ctex-fontset-adobe.def} |
| 30 |
{\ExplFileDate}{2.5.10}{\ExplFileDescription} |
| 31 |
\ctex_fontset_case:nnnn |
| 32 |
{ \ctex_fontset_error:n { adobe } } |
| 33 |
{ |
| 34 |
\ctex_zhmap_case:nnn |
| 35 |
{ |
| 36 |
\setCJKmainfont { AdobeSongStd-Light.otf } |
| 37 |
[ |
| 38 |
cmap = UniGB-UTF16-H, |
| 39 |
BoldFont = AdobeHeitiStd-Regular.otf, |
| 40 |
ItalicFont = AdobeKaitiStd-Regular.otf |
| 41 |
] |
| 42 |
\setCJKsansfont { AdobeHeitiStd-Regular.otf } |
| 43 |
[ cmap = UniGB-UTF16-H ] |
| 44 |
\setCJKmonofont { AdobeFangsongStd-Regular.otf } |
| 45 |
[ cmap = UniGB-UTF16-H ] |
| 46 |
\setCJKfamilyfont { zhsong } { AdobeSongStd-Light.otf } |
| 47 |
[ cmap = UniGB-UTF16-H ] |
| 48 |
\setCJKfamilyfont { zhhei } { AdobeHeitiStd-Regular.otf } |
| 49 |
[ cmap = UniGB-UTF16-H ] |
| 50 |
\setCJKfamilyfont { zhkai } { AdobeKaitiStd-Regular.otf } |
| 51 |
[ cmap = UniGB-UTF16-H ] |
| 52 |
\setCJKfamilyfont { zhfs } { AdobeFangsongStd-Regular.otf } |
| 53 |
[ cmap = UniGB-UTF16-H ] |
| 54 |
\ctex_punct_set:n { adobe } |
| 55 |
\ctex_punct_map_family:nn { \CJKrmdefault } { zhsong } |
| 56 |
\ctex_punct_map_family:nn { \CJKsfdefault } { zhhei } |
| 57 |
\ctex_punct_map_family:nn { \CJKttdefault } { zhfs } |
| 58 |
\ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhhei } |
| 59 |
\ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai } |
| 60 |
} |
| 61 |
{ |
| 62 |
\ctex_load_zhmap:nnnn { rm } { zhhei } { zhfs } { adobe } |
| 63 |
\ctex_punct_set:n { adobe } |
| 64 |
\ctex_punct_map_family:nn { \CJKrmdefault } { zhsong } |
| 65 |
\ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhhei } |
| 66 |
\ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai } |
| 67 |
} |
| 68 |
{ \ctex_fontset_error:n { adobe } } |
| 69 |
} |
| 70 |
{ |
| 71 |
\ctex_set_upfonts:nnnnnn |
| 72 |
{ AdobeSongStd-Light.otf } |
| 73 |
{ AdobeHeitiStd-Regular.otf } |
| 74 |
{ AdobeKaitiStd-Regular.otf } |
| 75 |
{ AdobeHeitiStd-Regular.otf } |
| 76 |
{ AdobeHeitiStd-Regular.otf } |
| 77 |
{ AdobeFangsongStd-Regular.otf } |
| 78 |
\ctex_set_upfamily:nnn { zhsong } { upzhserif } {} |
| 79 |
\ctex_set_upfamily:nnn { zhhei } { upzhsans } {} |
| 80 |
\ctex_set_upfamily:nnn { zhfs } { upzhmono } {} |
| 81 |
\ctex_set_upfamily:nnn { zhkai } { upzhserifit } {} |
| 82 |
} |
| 83 |
{ |
| 84 |
\setCJKmainfont { AdobeSongStd-Light } |
| 85 |
[ BoldFont = AdobeHeitiStd-Regular, ItalicFont = AdobeKaitiStd-Regular ] |
| 86 |
\setCJKsansfont { AdobeHeitiStd-Regular } |
| 87 |
\setCJKmonofont { AdobeFangsongStd-Regular } |
| 88 |
\setCJKfamilyfont { zhsong } { AdobeSongStd-Light } |
| 89 |
\setCJKfamilyfont { zhhei } { AdobeHeitiStd-Regular } |
| 90 |
\setCJKfamilyfont { zhfs } { AdobeFangsongStd-Regular } |
| 91 |
\setCJKfamilyfont { zhkai } { AdobeKaitiStd-Regular } |
| 92 |
} |
| 93 |
\NewDocumentCommand \songti { } { \CJKfamily { zhsong } } |
| 94 |
\NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } |
| 95 |
\NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } |
| 96 |
\NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } |
| 97 |
%% |
| 98 |
%% |
| 99 |
%% End of file `ctex-fontset-adobe.def'. |