From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79556 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: simple question on kerning activation Date: Mon, 26 Nov 2012 23:46:36 +0100 Message-ID: <50B3F14C.3070101@wxs.nl> References: <50B3BC7C.8000401@web.de> <50B3D394.2000300@wxs.nl> <50B3E772.3040606@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1353970015 7314 80.91.229.3 (26 Nov 2012 22:46:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2012 22:46:55 +0000 (UTC) Cc: =?ISO-8859-1?Q?Pablo_Rodr=EDguez?= To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 26 23:47:06 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Td7S7-0003ES-1h for gctc-ntg-context-518@m.gmane.org; Mon, 26 Nov 2012 23:46:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7CD4F102CB; Mon, 26 Nov 2012 23:46:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uoq2vHwp34EZ; Mon, 26 Nov 2012 23:46:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BEE51102B5; Mon, 26 Nov 2012 23:46:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3272C102B5 for ; Mon, 26 Nov 2012 23:46:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Mpaed9IaPV+A for ; Mon, 26 Nov 2012 23:46:40 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id CF989102A3 for ; Mon, 26 Nov 2012 23:46:40 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAQMdekp008160 for ; Mon, 26 Nov 2012 23:39:41 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 4683-1713362 for multiple; Mon, 26 Nov 2012 23:46:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: <50B3E772.3040606@web.de> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=16; city=Zeewolde; latitude=52.3302; longitude=5.5364; http://maps.google.com/maps?q=52.3302,5.5364&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WIsmDEWH - 751e999e4106 - 20121126 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79556 Archived-At: On 11/26/2012 11:04 PM, Pablo Rodr=EDguez wrote: > On 26/11/12 21:39, Hans Hagen wrote: >> On 11/26/2012 8:01 PM, Pablo Rodr=EDguez 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=3D30pt] > \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=3D10pt] \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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________