ソースコードの管理場所
Revision | bcfca685b1af9f28a0f055863f595ce1fb6b8d99 (tree) |
---|---|
Time | 2018-12-15 05:36:35 |
Author | Hironori Kitagawa <h_kitagawa2001@yaho...> |
Commiter | Hironori Kitagawa |
\DeclareFixedFont works
@@ -392,19 +392,21 @@ | ||
392 | 392 | \EverySelectfont{\ltj@selectfont@patch} |
393 | 393 | |
394 | 394 | \bgroup |
395 | - \def\ltj@@dir@patch#1#2{% | |
395 | + \def\ltj@@dir@patch#1#2#3{% | |
396 | 396 | \global\csletcs{ltj@@orig@#1}{#1}% |
397 | 397 | \protected\expandafter\xdef\csname #1\endcsname{% |
398 | 398 | \csname ltj@@orig@#1\endcsname |
399 | - \unexpanded{\let\ltj@@protect\protect\set@typeset@protect}% | |
399 | + \unexpanded{\ifnum#3<\z@\let\ltj@@protect\protect\set@typeset@protect}% | |
400 | 400 | \unexpanded{\global\let\ltj@afont@name=\font@name}% |
401 | 401 | \expandonce{\csname ltj@selectfont@#2\endcsname}% |
402 | 402 | \unexpanded{\global\let\font@name=\ltj@afont@name}% |
403 | - \unexpanded{\let\protect\ltj@@protect}% | |
403 | + \unexpanded{\let\protect\ltj@@protect\fi}% | |
404 | 404 | }% |
405 | 405 | } |
406 | - \ltj@@dir@patch{yoko}{yoko}\ltj@@dir@patch{tate}{tate} | |
407 | - \ltj@@dir@patch{utod}{yoko}\ltj@@dir@patch{dtou}{yoko} | |
406 | + \ltj@@dir@patch{yoko}{yoko}{\ltj@curjfnt} | |
407 | + \ltj@@dir@patch{tate}{tate}{\ltj@curtfnt} | |
408 | + \ltj@@dir@patch{utod}{yoko}{\ltj@curjfnt} | |
409 | + \ltj@@dir@patch{dtou}{yoko}{\ltj@curjfnt} | |
408 | 410 | \egroup |
409 | 411 | |
410 | 412 | \def\KanjiEncodingPair#1#2{\@namedef{t@enc@#1}{#2}\@namedef{y@enc@#2}{#1}} |
@@ -7,14 +7,17 @@ | ||
7 | 7 | \makeatletter |
8 | 8 | \begin{document} |
9 | 9 | \leavevmode |
10 | -\def\T{[\the\ltj@curjfnt,\the\ltj@curtfnt]} | |
10 | +\def\T{{\ttfamily [\the\ltj@curjfnt,\the\ltj@curtfnt]}} | |
11 | 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 う | |
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 | |
18 | 21 | \hbox{\tate あいうえ\T お12\Large あ\T12} |
19 | 22 | |
20 | 23 |