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?
Regards
Hironori KITAGAWA
%%% luatex-plain
\pdfvariable compresslevel =0
\pdfvariable objcompresslevel =0
\directlua{%
otfl_fdr = callback.find('define_font')
function mine(name, size, id)
local res=otfl_fdr(name, size, id)
if name:find("HaranoAjiMincho.Regular") then
res.fullname = res.fullname .. ' (Identity-V)'
res.identity='vertical'; res.writingmode='vertical'
end
return res
end
callback.register('define_font', mine)
}
\font\HMV=HaranoAjiMincho-Regular.otf:-kern at 10bp
% Harano Aji fonts (included in TeX Live)
% https://github.com/trueroad/HaranoAjiFonts
\def\folio{}
\hbox dir RTT{%
\vrule height 5bp depth 0pt width 2bp%
\HMV %
縦\kern5bp 書\kern-10bp き
\vrule height 5bp depth 0pt width 2bp
}
\bye
wmode_test.pdf
Description: Adobe PDF document
