OSDN Git Service

lltjp-fontspec: adapt fontspec 2.7e, and removed codes for <2.7c
[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
13 \vbox{\hsize=100pt\tate
14   {\ttfamily \the\zw}\\
15   あい\T うえおa12\\
16   \normalsize あい\T う12\\
17   \HOGE あいう\T えおa12\\
18   \global\PIYO あい\T 12}\\
19 あい\T うえお12\small あい\T\\
20 う\tiny あい\T う\footnotesize あい\T う12
21 \hbox{\tate あ\T い\normalsize うえ\T お12\Large\global\PIYO あ\T12}%
22 あい\T かき
23
24 \end{document}