Am 26.11.2012 um 23:04 schrieb Pablo RodrÃguez
On 26/11/12 21:39, Hans Hagen wrote:
On 11/26/2012 8:01 PM, Pablo RodrÃguez wrote:
Sorry for the stupid question: isn't it font kerning (not kern OT table, but traditional non-OT kerning) enabled when compiling this source?
kerning is *always* driven by the font, given that the font has kerns (not all fonts need them)
Thanks for your reply, Hans.
Sorry, my question was inaccurate.
I know that kerning information is in the font, but it is ConTeXt that uses this information (or not).
As far as I know, there are two kinds of kerningns: an OT kern feature from the GPOS table and an old TrueType 'kern' table.
In the following sample OpenType features aren't enabled:
\usemodule[simplefonts][size=30pt] \setmainfont[FreeSerif] \starttext dadedidodufafefifofufrflftlalelilolutatetitotu\par {\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} \stoptext
I'm using TrueType fonts of FreeSerif. Isn't the TrueType 'kern' enabled by default in ConTeXt? (The glyphs in the example above have no kerning at all, so I wonder whether at least the TrueType 'kern' table should be used by ConTeXt.)
Is there a difference between the two lines? \usemodule[simplefonts] \setmainfont[FreeSerif] \starttext \showfontkerns dadedidodufafefifofufrflftlalelilolutatetitotu\par {\definedfont[file:serif*default]dadedidodufafefifofufrflftlalelilolutatetitotu\par} \stoptext Wolfgang