[luatex] glyph width with palt + kern features

luigi scarso luigi.scarso at gmail.com
Sat Nov 1 17:17:39 CET 2014


On Sat, Nov 1, 2014 at 12:59 PM, Hironori KITAGAWA <
h_kitagawa2001 at yahoo.co.jp> wrote:

> Hello,
>
> I typeset the following source with XeTeX and LuaTeX:
>
> %%% palt_kern.tex
> \ifdefined\directlua\input luaotfload.sty\fi
> \font\G=SourceHanSansJP-Regular:+palt;-kern at 100pt
> \hbox{\G \vrule とつ\vrule}% (A)
>
> \font\G=SourceHanSansJP-Regular:+palt;+kern at 100pt
> \hbox{\G \vrule とつ\vrule}% (B)
>
> \end
> %%%
>
> In the output by XeTeX (palt_kern_xe.pdf),
> the second line of output (B) is slightly shorter then the first line (A).
>
> However, the output by LuaTeX r5074 + luaotfload v2.5
> (palt_kern_lotf.pdf) does not so. I also tested with
> context -fmt=luatex-plain, but the result is same.
>
>
> Regards
> Hironori KITAGAWA <h_kitagawa2001 at yahoo.co.jp>
>

I have taken the fonts from
http://sourceforge.net/projects/source-han-sans.adobe/files/SourceHanSansJP-1.000.zip

%%% palt_kern.tex
%\ifdefined\directlua\input luaotfload.sty\fi
\font\G=SourceHanSansJP-Regular:+palt;-kern at 100pt
\hbox{\G \vrule とつ\vrule}% (A)

\font\G=SourceHanSansJP-Regular:+palt;+kern at 100pt
\hbox{\G \vrule とつ\vrule}% (B)

\end
%%%

$> mtxrun --script plain palt_kern.tex

The pdf looks like palt_kern_xe.tex
with luatex experimental
-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20141101/6903453b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: palt_kern.pdf
Type: application/pdf
Size: 8082 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20141101/6903453b/attachment.pdf>


More information about the luatex mailing list