OSDN Git Service

test58: define tfont only in \tate direction or in \DeclareFixedFont
[luatex-ja/luatexja.git] / test / test58-save-tfont.tex
1 \documentclass{ltjarticle}
2
3 \makeatletter
4 \DeclareFixedFont\HOGE{JT3}{gt}{m}{n}{14}
5 \DeclareFixedFont\PIYO{JY3}{gt}{m}{n}{20}
6
7 \makeatletter
8 \begin{document}
9 \leavevmode
10 \def\T{[\the\ltj@curjfnt,\the\ltj@curtfnt]}
11 あいう\T えお\PIYO あい\T う\scriptsize あ\T\ltjsetparameter{talbaselineshift=-10pt}
12 \HOGE あいう\T\normalsize あ\T
13 \hbox{\tate あい\T うえおa12\HOGE あいう\T えおa12}
14 \typeout{\expandafter\meaning\csname JT3/gt/m/n/10\endcsname}
15 \typeout{\expandafter\meaning\csname ltj@@tfontjfm/\string\JT3/gt/m/n/10\endcsname}
16
17 あい\T う\tiny あい\T う
18 \hbox{\tate あいうえ\T お12\Large あ\T12}
19
20
21 \end{document}