From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79643 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: 'kern': TrueType table and GPOS lookup feature Date: Fri, 30 Nov 2012 10:13:43 +0100 Message-ID: <50B878C7.8080607@wxs.nl> References: <50B85B0E.1060703@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 1354266844 19018 80.91.229.3 (30 Nov 2012 09:14:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2012 09:14:04 +0000 (UTC) Cc: =?ISO-8859-1?Q?Pablo_Rodr=EDguez?= To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 30 10:14:13 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 1TeMfb-0005Rc-T3 for gctc-ntg-context-518@m.gmane.org; Fri, 30 Nov 2012 10:14:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 07B10102EE; Fri, 30 Nov 2012 10:13:52 +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 Grfygt2aT1Zl; Fri, 30 Nov 2012 10:13:49 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3DA9C102F2; Fri, 30 Nov 2012 10:13:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 77D0F102F2 for ; Fri, 30 Nov 2012 10:13: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 AnshUeGjx3Yt for ; Fri, 30 Nov 2012 10:13:46 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 4DC4D102EE for ; Fri, 30 Nov 2012 10:13:46 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAU9DjBL000652 for ; Fri, 30 Nov 2012 10:13:45 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 5361-1713362 for multiple; Fri, 30 Nov 2012 10:13:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: <50B85B0E.1060703@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: 0RItJdJqF - e25069f3ae2f - 20121130 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:79643 On 11/30/2012 8:06 AM, Pablo Rodr=EDguez wrote: > Hi there, > > sorry for bothering again with this issue, but I need to be sure in > order to properly report to the font developer of FreeSerif. > > I have the following file: > > \usemodule[simplefonts][size=3D25pt] > \definefontfeature[latins][default][script=3Dlatn] > \setmainfont[FreeSerif] > \starttext > \showfontkerns > dadedidodufafefifofufrflftlalelilolutatetitotu\par > \addfs{latins} > dadedidodufafefifofufrflftlalelilolutatetitotu\par > \stoptext > > The first line has no GPOS kern enabled and the second line has it. > > In order to report it to the font developer (I have the problem not with > ConTeXt, but with my ereader [I used ConTeXt to check the font > features), I have the following questions: > > -In the example above, is the old TrueType kern enabled on the first line? > > -If not, how can I enable it, without enabling the liga or kern OpenType > features? > > I need this to see the actual kerning form the old TrueType kern table > (I suspect it hasn't the same values as the OpenType kern feature). We don't really make a distinction. Kerns are either a property of a = character (truetype method) or are organized as lookups. Both are driven = by 'kern' and it's not possible to choose a specific method as it's font = driven. In the first case, enabling the kern feature will also enable = the kerns and there is no dependency on language and script. In the = second case a language script combination drives the injection of kerns. = So, for each combination there can be different kerns (won't happen often). Now, if a font designer decides to group kerns according to languages = (makes less sense than for instance grouping ligatures which do have a = dependency on languages) he/she has to make sure that it's done in such = a way that it doesn't lock out. For instance, you can have kerns (optionally in your font organized in = classes) that kerns latin characters and group them in latn/dflt and do = something similar for latn/ but then you expect the user = to choose the right combination. So, choosing latn/dflt can lock out = greek or whatever. This means that when one defines kerns for say = devanagari but also wants to have mixed in latin/* scripts supported, = one could best also enable latn/* kerns there (just add lookups to the = feature specification). As the serif font you use has support for many scripts, extra care has = to be taken for mixed usage. Also, normally a dflt/dflt combination is = defined (read: no script or language chosen) which should work out okay = for most cases. Anyhow, in the serif font (1) a dflt/dflt combination = has to be supported (added) and (2) you/someone needs to check if when = you choose greek, you still got kerning for latin. 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 ___________________________________________________________________________= ________