From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79711 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: 'kern': TrueType table and GPOS lookup feature Date: Sun, 2 Dec 2012 16:49:37 +0200 Message-ID: <20121202144937.GA16100@khaled-laptop> References: <20121202131204.GA15717@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354459805 31278 80.91.229.3 (2 Dec 2012 14:50:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2012 14:50:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 02 15:50: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 1TfArz-0007mZ-Pm for gctc-ntg-context-518@m.gmane.org; Sun, 02 Dec 2012 15:50:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BC17E1023D; Sun, 2 Dec 2012 15:49:59 +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 A02J9KRiys-C; Sun, 2 Dec 2012 15:49:54 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D698D10230; Sun, 2 Dec 2012 15:49:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3EE6D10230 for ; Sun, 2 Dec 2012 15:49: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 L2zmATV+DhsV for ; Sun, 2 Dec 2012 15:49:47 +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 0D39B1021B for ; Sun, 2 Dec 2012 15:49:46 +0100 (CET) Original-Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com [209.85.215.169]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qB2EnjVW009278 for ; Sun, 2 Dec 2012 15:49:45 +0100 Original-Received: by mail-ea0-f169.google.com with SMTP id a12so1021113eaa.14 for ; Sun, 02 Dec 2012 06:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=PUJMMMgUJ5qkz2LSHUSIgZP42D1uNYf5GU/o9ZNRDxU=; b=p7Y7fPhmGOtzVubNS0WCQCkh0Mt0T9unRDG/NdXa5Nxn25VjoygHz98RXPNAbdhJ+s 2eNgAV64eE3o7qaxuAkHghgw33+LYnT+K4wQcxVjNcMj4LN0ycSCKhprjK2pSeQ5dch4 KPDkwXdXsCSF69oY1mR0TP+Ff0wh7zImKLZJrn/RlcdvpnL0Fqihp3kdvTXjy8QXhA1h fLCCUTmcR2SBFvCIvwREBh9vjg/lYcOC2X2OBqKQhnpMlNfMp15Mu8G0AeCZhDfEv/D9 02hqEOGgjPq92LjTT6nbn262DpEN6u6CemZPJyXhSpeTRMwo78ki1LNNgCUoUcCmiRRG Lcvg== Original-Received: by 10.14.198.67 with SMTP id u43mr26552142een.7.1354459785469; Sun, 02 Dec 2012 06:49:45 -0800 (PST) Original-Received: from localhost ([217.55.84.46]) by mx.google.com with ESMTPS id z8sm24905238eeo.11.2012.12.02.06.49.41 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Dec 2012 06:49:44 -0800 (PST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RIuCNJiO - 3d6d399dca59 - 20121202 (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:79711 Archived-At: And how many of them do it right? None, not even Pango, not even Firefox, all are broken in some subtle ways. I'm not saying it is hard, though, I'm saying it is complex. Regards, Khaled On Sun, Dec 02, 2012 at 03:32:49PM +0100, Steve White wrote: > Determinig the script from the text is not hard. > > It has been done in many projects. > > > > On Sun, Dec 2, 2012 at 2:12 PM, Khaled Hosny wrote: > > > On Sun, Dec 02, 2012 at 10:58:56AM +0100, Steve White wrote: > > > Hi all, > > > > > > I finally got something like Pablo's test working on my system. It > > doesn't > > > show much new. As had already been established, with the right ConTeXt > > > switches, OpenType features of kerning and ligatures work correctly with > > > FreeSerif. > > > > > > Find attached. If there's a better way to do this, please comment: I may > > > put some of this in the FreeFront usage notes. (Hm... I may tighten the > > > italic y a bit.) > > > > > > A question remains: Why does ConTeXt (like some other TeX derivatives > > that > > > use OpenType) not determine the OpenType script of runs of text from the > > > Unicode (or other encoding) character range? All other font layout > > systems > > > I know of do this. (Remember- a run of text in the OpenType sense is not > > > the same as the scope of a TeX environment, it is typically a word, > > > separated by white space or punctuation.) > > > > Determining the script of a run of text is not that simple, take > > "english (ARABIC.)"; to which script should the parenthesis and the > > period be classified? (they have a "common" script property in Unicode > > and not assigned to any given script). Unicode annex #24 provides an > > algorithm for to handle this that an engine should implement: > > http://www.unicode.org/reports/tr24/ > > > > Regards, > > Khaled > > > > ___________________________________________________________________________________ > > 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 > > > > ___________________________________________________________________________________ > > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________