On 1/10/2026 7:34 AM, luigi scarso wrote:
On Thu, 8 Jan 2026 at 09:22, Hironori KITAGAWA via luatex
<[email protected] <mailto:[email protected]>> wrote:
Hello,
I'm trying to use RTT direction and "Identity-V" encoding fonts
for better vertical typesetting.
But I found that the glyph position is odd:
\hbox dir RTT{%
\HMV % a 10bp font which uses Identity-V CMap
縦\kern5bp 書\kern-10bp き
\vrule height 5bp depth 0pt width 2bp
}
(input: wmode_test.tex (process by luatex-plain);
luatex binary: svn7707)
* glyphs are too low (about the height of "縦") and left (5bp =
0.5em).
* spaces generated by "\kern5bp" and "\kern-10bp" are
reversed in the output.
Is this an intended behavior?
I will check this weekend
Changing that code after nearly two decades makes little sense. We don't
know how it is used already, how one has adapted to its behavior (e.g.
swapping signs on such kerns). Also, this kind of typesetting relates to
how macro packages deal with directions, layouts etc and there is no
common approach to that. The font part is actually a black box the
engine only depends on what dimensions gets passed on.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------