Forwarded to Andrew Moschou who maintains the metalogo package. Best, Dee
On Fri, Apr 9, 2010 at 10:30 AM, Heiko Oberdiek <[email protected]> wrote: > On Wed, Mar 10, 2010 at 10:54:58AM +0100, Heiko Oberdiek wrote: > >> A variant that tries the implicite kernings in the order of >> `aT', `oT', `To'. Also the code is compatible to plain-TeX: > > Hans mailed me that positive kernings might happen. > Then I think, the model doesn't fit and the fixed > macro does not apply a kerning correction: > > \def\LuaTeX{% > \begingroup > Lua% > \setbox0\hbox{aT}% > \setbox2\hbox{a\kern0ptT}% > \dimen0=\wd0 % > \advance\dimen0 by -\wd2 % > \ifdim\dimen0=0pt % > \setbox0\hbox{oT}% > \setbox2\hbox{o\kern0ptT}% > \dimen0=\wd0 % > \advance\dimen0 by -\wd2 % > \ifdim\dimen0=0pt % > \setbox0\hbox{To}% > \setbox2\hbox{T\kern0pto}% > \dimen0=\wd0 % > \advance\dimen0 by -\wd2 % > \fi > \ifdim\dimen0<0pt % > \kern\dimen0 % > \fi > \fi > \TeX > \endgroup > } > > Yours sincerely > Heiko Oberdiek >
