On 11/26/2012 11:04 PM, Pablo Rodríguez wrote:
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.)

Sure, kern tables are used and are quite valid in open type as well (open type includes truetype).

I see lots of kerns in:

\starttext

    \startTEXpage[offset=10pt]

        \definedfont[file:freeserif.ttf*default] \showfontkerns \input ward

    \stopTEXpage

\stoptext

I assume simplefonts uses the default featureset

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to