%%
%% This is file `sjtu-cjk-font-fandol-ja.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% sjtutex.dtx  (with options: `font,cjk,fandol,ja')
%% 
%%     Copyright (C) SJTUG
%%       2018--2024 Weijian Wu   <alexarawu@outlook.com>
%%       2022--2024 Zilong Li    <logcreative@outlook.com>
%% 
%%     This work may be distributed and/or modified under the
%%     conditions of the LaTeX Project Public License, either
%%     version 1.3c 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.
%% 
\GetIdInfo$Id: sjtutex.dtx 78f11bc 2024-06-29 23:01:32 +0800 Alexara Wu <alexarawu@outlook.com> $
  {Fandol CJK fonts definition for Japanese (SJTUTeX)}
\ProvidesExplFile{sjtu-cjk-font-fandol-ja.def}
  {\ExplFileDate}{2.1.3}{\ExplFileDescription}
\__sjtu_fontset_case:nn
  { \__sjtu_fontset_error:nn { cjk } { fandol } }
  {
    \setCJKmainfont { HaranoAjiMincho }
      [
        Extension   = .otf ,
        UprightFont = *-Regular ,
        BoldFont    = *-Bold
      ]
    \setCJKsansfont { HaranoAjiGothic }
      [
        Extension   = .otf ,
        UprightFont = *-Medium ,
        BoldFont    = *-Bold
      ]
    \setCJKmonofont { HaranoAjiGothic }
      [
        Extension   = .otf ,
        UprightFont = *-Regular
      ]
    \setCJKfamilyfont { jamin  } { HaranoAjiMincho }
      [
        Extension   = .otf ,
        UprightFont = *-Regular ,
        BoldFont    = *-Bold
      ]
    \setCJKfamilyfont { jagoth } { HaranoAjiGothic }
      [
        Extension   = .otf ,
        UprightFont = *-Medium ,
        BoldFont    = *-Bold
      ]
    \setCJKfamilyfont { zhsong } { FandolSong }
      [
        Extension   = .otf ,
        UprightFont = *-Regular ,
        BoldFont    = *-Bold ,
        ItalicFont  = FandolKai-Regular
      ]
    \setCJKfamilyfont { zhhei  } { FandolHei  }
      [
        Extension   = .otf ,
        UprightFont = *-Regular,
        BoldFont    = *-Bold
      ]
    \setCJKfamilyfont { zhfs   } { FandolFang }
      [
        Extension   = .otf ,
        UprightFont = *-Regular
      ]
    \setCJKfamilyfont { zhkai  } { FandolKai  }
      [
        Extension   = .otf ,
        UprightFont = *-Regular
      ]
  }
\NewDocumentCommand \songti   { } { \CJKfamily { zhsong  } }
\NewDocumentCommand \heiti    { } { \CJKfamily { zhhei   } }
\NewDocumentCommand \fangsong { } { \CJKfamily { zhfs    } }
\NewDocumentCommand \kaishu   { } { \CJKfamily { zhkai   } }
\NewDocumentCommand \mincho   { } { \CJKfamily { jamin   } }
\NewDocumentCommand \gothic   { } { \CJKfamily { jagoth  } }
\endinput
%%
%% End of file `sjtu-cjk-font-fandol-ja.def'.
