# [XeTeX] Adobe Kepler Std: Extraneous space always inserted between left paren and f

Taylor Venable taylor at metasyntax.net
Sun Feb 21 14:13:54 CET 2010

On Sun, 2010-02-21 at 13:44 +0100, Arno Trautmann wrote:
> Yes, indeed. Maybe you could tweak the problem using the
> XeTeXinterchartok mechanism. That would not be a very elaborate
> solution, but it should work.

Great idea, that produces a nice result:

\XeTeXinterchartokenstate = 1
\XeTeXcharclass `( 100
\XeTeXcharclass `f 101
\XeTeXinterchartoks 100 101 = {\kern-0.4pt}

(Evince display attached.) And when you copy/paste it out of the PDF
reader there's no extra space, so it seems that was originating from the
fact that there was a "large enough" gap between the glyphs in the PDF.
Now I just need to figure out how to make it turn on/off for italic, but
that's simple TeX wizardry.

Thanks!

--
Taylor Venable
http://metasyntax.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kepler.png
Type: image/png
Size: 109077 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100221/c7fabfa5/attachment-0001.png>