OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c24303f
)
\strutbox patch
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Thu, 2 Mar 2017 09:13:32 +0000
(18:13 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Thu, 2 Mar 2017 09:13:32 +0000
(18:13 +0900)
src/patches/lltjfont.sty
patch
|
blob
|
history
diff --git
a/src/patches/lltjfont.sty
b/src/patches/lltjfont.sty
index
e9c92fa
..
5c8bcfe
100644
(file)
--- a/
src/patches/lltjfont.sty
+++ b/
src/patches/lltjfont.sty
@@
-54,8
+54,13
@@
\newbox\dstrutbox
\newbox\tstrutbox
\newbox\zstrutbox
-%\def\strutbox{%
-%}
+\def\strutbox{%
+ \ifnum\ltjgetparameter{direction}=1 \dstrutbox % dtou
+ \else\ifnum\ltjgetparameter{direction}=3 \tstrutbox % tate
+ \else\ifnum\ltjgetparameter{direction}=11 \tstrutbox % utod (tstrutbox)
+ \else\ystrutbox % yoko
+ \fi\fi\fi
+}
\def\strut{\relax
\ifnum\ltjgetparameter{direction}=1 % dtou
\ifmmode\copy\dstrutbox\else\unhcopy\dstrutbox\fi