Am 15.08.2011 um 21:13 schrieb Hans Hagen:
On 15-8-2011 8:04, Wolfgang Schuster wrote:
Hi,
is italic correction still supported with MkIV because in the following example the second sentence has the same length as the first.
% engine=pdftex
\starttext \setbox\scratchbox\hbox{A short sentence with a {\it italic} word.} \the\wd\scratchbox\ : \box\scratchbox\par \setbox\scratchbox\hbox{A short sentence with a {\it italic\/} word.} \the\wd\scratchbox\ : \box\scratchbox \stoptext
yes and no:
yes: the code is there no : it has not been adapted to the font cleanup
So, first fix this in font-ext.lua:
local descriptions = tfmdata.descriptions for unicode, d in next, tfmdata.characters do local d = descriptions[unicode]
Then enable the feature:
\starttext
\definefontfeature[one][default] \definefontfeature[two][default][itlc=yes]
Works. Can this be added to the default features? Wolfgang