%
% unijapan.sty
%
\DeclareFontFamily{OT1}{omj}{}
\DeclareFontShape{OT1}{omj}{m}{n}{<-> s * [0.962216] omsmin}{}
\DeclareFontShape{OT1}{omj}{m}{sl}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{omj}{m}{it}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{omj}{m}{sc}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{omj}{bx}{n}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{omj}{b}{n}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{omj}{bx}{it}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{omj}{bx}{sl}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{omj}{bx}{sc}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{omj}{m}{ui}{<-> s * [0.962216] omsmin}{}
%
\DeclareFontFamily{OT1}{omjc}{}
\DeclareFontShape{OT1}{omjc}{m}{n}{<-> s * [0.962216] omcrml}{}
\DeclareFontShape{OT1}{omjc}{m}{sl}{<-> s * [0.962216] omcgbm}{}
\DeclareFontShape{OT1}{omjc}{m}{it}{<-> s * [0.962216] omcgbm}{}
\DeclareFontShape{OT1}{omjc}{m}{sc}{<-> s * [0.962216] omcgbm}{}
\DeclareFontShape{OT1}{omjc}{bx}{n}{<-> s * [0.962216] omcgbm}{}
\DeclareFontShape{OT1}{omjc}{b}{n}{<-> s * [0.962216] omcgbm}{}
\DeclareFontShape{OT1}{omjc}{bx}{it}{<-> s * [0.962216] omcgbm}{}
\DeclareFontShape{OT1}{omjc}{bx}{sl}{<-> s * [0.962216] omcgbm}{}
\DeclareFontShape{OT1}{omjc}{bx}{sc}{<-> s * [0.962216] omcgbm}{}
\DeclareFontShape{OT1}{omjc}{m}{ui}{<-> s * [0.962216] omcrml}{}
%
\DeclareFontFamily{OT1}{ogt}{}
\DeclareFontShape{OT1}{ogt}{m}{n}{<-> s * [0.962216] ugt01}{}
\DeclareFontShape{OT1}{ogt}{m}{sl}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{ogt}{m}{it}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{ogt}{m}{sc}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{ogt}{bx}{n}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{ogt}{b}{n}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{ogt}{bx}{it}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{ogt}{bx}{sl}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{ogt}{bx}{sc}{<-> s * [0.962216] omsgoth}{}
\DeclareFontShape{OT1}{ogt}{m}{ui}{<-> s * [0.962216] ugt01}{}
\DeclareFontShape{OT1}{ogt}{m}{01}{<-> s * [0.962216] ugt01}{}
\DeclareFontShape{OT1}{ogt}{m}{02}{<-> s * [0.962216] ugt02}{}
\DeclareFontShape{OT1}{ogt}{m}{03}{<-> s * [0.962216] ugt03}{}
\DeclareFontShape{OT1}{ogt}{m}{04}{<-> s * [0.962216] ugt04}{}
\DeclareFontShape{OT1}{ogt}{m}{05}{<-> s * [0.962216] ugt05}{}
\DeclareFontShape{OT1}{ogt}{m}{06}{<-> s * [0.962216] ugt06}{}
\DeclareFontShape{OT1}{ogt}{m}{07}{<-> s * [0.962216] ugt07}{}
\DeclareFontShape{OT1}{ogt}{m}{08}{<-> s * [0.962216] ugt08}{}
\DeclareFontShape{OT1}{ogt}{m}{09}{<-> s * [0.962216] ugt09}{}
\DeclareFontShape{OT1}{ogt}{m}{10}{<-> s * [0.962216] ugt10}{}
\DeclareFontShape{OT1}{ogt}{m}{11}{<-> s * [0.962216] ugt11}{}
\DeclareFontShape{OT1}{ogt}{m}{k1}{<-> s * [0.962216] ugtk1}{}
\DeclareFontShape{OT1}{ogt}{m}{k2}{<-> s * [0.962216] ugtk2}{}
%
\DeclareFontFamily{OT1}{ogtx}{}
\DeclareFontShape{OT1}{ogtx}{m}{lo}{<-> s * [0.962216] ugttotlo}{}
\DeclareFontShape{OT1}{ogtx}{m}{hi}{<-> s * [0.962216] ugttothi}{}
%
\edef\last@gtcode{69263}
\newif\ifG@Tf@nt
\def\GTfont{\G@Tf@nttrue}
\def\MSfont{\G@Tf@ntfalse}
\G@Tf@ntfalse
\def\jpglue{\hskip 0pt plus 1pt minus 0.5pt}
%
\def\UGT#1#2{\begingroup\jpglue\clearocplists%
\fontfamily{ogt}\fontseries{m}\fontshape{#1}\selectfont\char"#2
\relax\endgroup}
%
\def\UMS#1{\begingroup\jpglue\clearocplists%
\fontfamily{omj}\selectfont\char"#1
\relax\endgroup}
%
\def\GT#1{\begingroup%
\@tempcnta#1\relax%
\ifnum\@tempcnta>\last@gtcode\relax%
    \@latex@error{You cannot use gtcode larger
        than \last@gtcode}\@ehc%
\fi%
  \ifnum\@tempcnta=176\@tempcnta3212%
    \@latex@warning{176 was abolished. replaced by 3212.}\fi
  \ifnum\@tempcnta=15756\@tempcnta15743%
    \@latex@warning{15756 was abolished. replaced by 15743.}\fi
  \ifnum\@tempcnta=40434\@tempcnta40433%
    \@latex@warning{40434 was abolished. replaced by 40433.}\fi
  \ifnum\@tempcnta=51124\@tempcnta51130%
    \@latex@warning{51124 was abolished. replaced by 51130.}\fi
  \ifnum\@tempcnta=45250\@tempcnta63839%
    \@latex@warning{45250 was abolished. replaced by 63839.}\fi
  \ifnum\@tempcnta=4099\@tempcnta11027%
    \@latex@warning{4099 was abolished. replaced by 11027.}\fi
  \ifnum\@tempcnta=38622\@tempcnta18289%
    \@latex@warning{38622 was abolished. replaced by 18239.}\fi
  \ifnum\@tempcnta=23501\@tempcnta23453%
    \@latex@warning{23501 was abolished. replaced by 23453.}\fi
  \ifnum\@tempcnta=30105\@tempcnta30084%
    \@latex@warning{30105 was abolished. replaced by 30084.}\fi
  \ifnum\@tempcnta=31062\@tempcnta31070%
    \@latex@warning{31062 was abolished. replaced by 31070.}\fi
  \ifnum\@tempcnta=20402\@tempcnta20409%
    \@latex@warning{20402 was abolished. replaced by 20409.}\fi
  \ifnum\@tempcnta=40229\@tempcnta40241%
    \@latex@warning{40229 was abolished. replaced by 40241.}\fi
  \ifnum\@tempcnta=40041\@tempcnta40246%
    \@latex@warning{40041 was abolished. replaced by 40246.}\fi
  \ifnum\@tempcnta=40451\@tempcnta40399%
    \@latex@warning{40451 was abolished. replaced by 40399.}\fi
  \ifnum\@tempcnta=40290\@tempcnta40546%
    \@latex@warning{40290 was abolished. replaced by 40546.}\fi
  \ifnum\@tempcnta=41838\@tempcnta41872%
    \@latex@warning{41838 was abolished. replaced by 41872.}\fi
  \ifnum\@tempcnta=18424\@tempcnta18411%
    \@latex@warning{18424 was abolished. replaced by 18411.}\fi
  \ifnum\@tempcnta=67166\@tempcnta29591%
    \@latex@warning{67166 was abolished. replaced by 29591.}\fi
  \ifnum\@tempcnta=68023\@tempcnta67459%
    \@latex@warning{68023 was abolished. replaced by 67459.}\fi
  \ifnum\@tempcnta=68931\@tempcnta68930%
    \@latex@warning{68931 was abolished. replaced by 68930.}\fi
  \ifnum\@tempcnta=68891\@tempcnta68889%
    \@latex@warning{68891 was abolished. replaced by 68889.}\fi
\ifnum\@tempcnta>50000
\def\f@ntnum{hi}%
\advance\@tempcnta by -50000%
\else
\def\f@ntnum{lo}%
\fi
\clearocplists\jpglue%
\fontfamily{ogtx}\fontseries{m}\fontshape{\f@ntnum}\selectfont\char\@tempcnta
\relax\endgroup}
%
\def\selectJapanFont{%
\ifG@Tf@nt
\fontfamily{ogt}\selectfont
\else
\fontfamily{omj}\selectfont
\fi}
%
\def\UNI#1{\begingroup\jpglue\clearocplists%
\fontfamily{omj}\selectfont\char"#1
\relax\endgroup}
\def\CID#1{\begingroup\jpglue\clearocplists%
\fontfamily{omjc}\selectfont\char#1
\relax\endgroup}
\endinput
