From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79707 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 15:12:04 +0200 Message-ID: <20121202131204.GA15717@khaled-laptop> References: 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 1354453950 18947 80.91.229.3 (2 Dec 2012 13:12:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2012 13:12:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 02 14:12:39 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 1Tf9LZ-0000yA-LF for gctc-ntg-context-518@m.gmane.org; Sun, 02 Dec 2012 14:12:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 822FB10230; Sun, 2 Dec 2012 14:12:25 +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 xXlYhXik8ptx; Sun, 2 Dec 2012 14:12:19 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AD9E210210; Sun, 2 Dec 2012 14:12:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02E6310210 for ; Sun, 2 Dec 2012 14:12:18 +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 JXC4TNQdjujP for ; Sun, 2 Dec 2012 14:12:14 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 2D2C810209 for ; Sun, 2 Dec 2012 14:12:13 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qB2DCC86018375 for ; Sun, 2 Dec 2012 14:12:12 +0100 Original-Received: by mail-ee0-f41.google.com with SMTP id d41so1367963eek.14 for ; Sun, 02 Dec 2012 05:12:12 -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=q/NH0GCUHseQRebMiRWTK4JM6+Udh4mdyHX1u06ZPOk=; b=XFhhoRQ0IRtvrNFT0yO/6qijaSY0gfyj8rJH9cy5LiS5LB7E+QiIagQdlQMCTd/AfK Ft5OtDrkVvuiwzgZoziHcbgl5E/9y33hbYhWLAIvbb6BRHTBixvMbyB3rRRum9bTAwAm PoZSvaYPNl4Yx4z2K8g7umdDYpEud65uHNMdPwtfmBGWGO7cenMVcx+3Bdrv956d0I/f 7yzOF1QrsbQJPkpCgK4chMrCXFXdW0yg32mUPJA2O5vkVbj9nO4OiM60RJubZF9HmAT2 z5ChldNatFmzER4uZMJGfb+JqyapRULD6l0mIAYZvqluDcm+eVGMnuAYknpfc+r8LKz9 L1jQ== Original-Received: by 10.14.173.65 with SMTP id u41mr25605296eel.13.1354453931991; Sun, 02 Dec 2012 05:12:11 -0800 (PST) Original-Received: from localhost ([217.55.84.46]) by mx.google.com with ESMTPS id n7sm24394716eeo.2.2012.12.02.05.12.08 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Dec 2012 05:12:10 -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=74.125.83.41; 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: 0TIuBcc33 - cddcf035ba47 - 20121202 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:79707 Archived-At: 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 ___________________________________________________________________________________