[luatex] glyph width with palt + kern features

luigi scarso luigi.scarso at gmail.com
Mon Nov 3 10:17:43 CET 2014


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

> Hello,
>
> On Sat, 1 Nov 2014 17:17:39 +0100
> luigi scarso <luigi.scarso at gmail.com> wrote:
>
> > On Sat, Nov 1, 2014 at 12:59 PM, Hironori KITAGAWA <
> > h_kitagawa2001 at yahoo.co.jp> wrote:
> >
> > > 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.
>
> > $> mtxrun --script plain palt_kern.tex
> >
> > The pdf looks like palt_kern_xe.tex
> > with luatex experimental
>
> Yes, I confirmed that "mtxrun --script plain" works.
> But, in my PC, only "mtxrun --script plain" produces
> same output with XeTeX.
>
> $ xetex palt_kern.pdf (=: OK)
> $ context palt_kern.tex
>   --> NG (both TL2014 and context standalone)


In context it' s better to use the feature sets

\definefontfeature [KernNo][palt=yes,kern=no]
\definefontfeature [KernYes][palt=yes,kern=yes]

\definefont[GA][SourceHanSansJP-Regular*KernNo at 100pt]
\definefont[GB][SourceHanSansJP-Regular*KernYes at 100pt]

\starttext


\hbox{\GA \vrule とつ\vrule}% (A)

\hbox{\GB \vrule とつ\vrule}% (B)

\stoptext

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20141103/24ecfe36/attachment.html>


More information about the luatex mailing list