Am Wed, 15 Jun 2011 11:48:10 +0200 schrieb Hans Hagen:
On 15-6-2011 10:59, Ulrike Fischer wrote:
With ConTeXt ver: 2011.06.13 23:08 MKIV fmt: 2011.6.15 (from the minimals) the following fails:
I have to admit that I never used \letterspacefont (luatex offers it as a pdftex compatibility feature and as such it's strongly related to traditional font handling). The command makes a copy of an internal (tfm) + adapted metrics.
\starttext
\font\test=file:fxlr.otf \test abc \letterspacefont\lspfont=\font 500 \lspfont blub
base mode i.e. traditional, so it works
So, when someone wants that feature he/she'd better force basemode which is no big deal as letterspacing is selectively applied to often known / specially defined fonts.
Ah. Ok that explains it. This means that in latex/fontspec it works with \setmainfont[Renderer=basic]{...}.
Anyhow, context users will not use that command / method but instead use \kerncharacters[fraction], as in:
{test {\kerncharacters[.5] test \bf test} test}
\kerncharacters is define in typo-krn. As far as I can see from luatex-fonts.lua the generic code doesn't load typo-krn. Does that mean that letterspacing in node-mode with latex would need some new code? -- Ulrike Fischer