From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79709 Path: news.gmane.org!not-for-mail From: Steve White Newsgroups: gmane.comp.tex.context Subject: Re: 'kern': TrueType table and GPOS lookup feature Date: Sun, 2 Dec 2012 15:32:49 +0100 Message-ID: References: <20121202131204.GA15717@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1699668362==" X-Trace: ger.gmane.org 1354458788 23285 80.91.229.3 (2 Dec 2012 14:33:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Dec 2012 14:33:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 02 15:33:17 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 1TfAbc-00079u-1N for gctc-ntg-context-518@m.gmane.org; Sun, 02 Dec 2012 15:33:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3492A10239; Sun, 2 Dec 2012 15:33:04 +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 BEBEqJ8k0ZeI; Sun, 2 Dec 2012 15:32:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9EA7E10215; Sun, 2 Dec 2012 15:32:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5854D10215 for ; Sun, 2 Dec 2012 15:32:57 +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 OKIxKP1lWeXg for ; Sun, 2 Dec 2012 15:32:52 +0100 (CET) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 6687210213 for ; Sun, 2 Dec 2012 15:32:52 +0100 (CET) Original-Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qB2EWoP5011780 for ; Sun, 2 Dec 2012 15:32:50 +0100 Original-Received: by mail-ob0-f169.google.com with SMTP id lz20so2239588obb.14 for ; Sun, 02 Dec 2012 06:32:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fF6IeM4swsTJZCdBbpnZJYybEULVnG+ab1n1TZooL/M=; b=qDbKSGqkoSKvvp3CCGX5AvF+oIbHtBNygy405HQjS9TMFO4QbQ4L9IByx/RRmCbzhl 8IHmVKSS82Rz+Q4k1xIykR1usRVu41g0ndCl3jJ7BLYYgTdYMnbScclCroV45flfci3P yvwqqZdU7tKx4Vdk5iATn+K+u3oQB0Er+oC+K+SZlwmWpc2KwQucVWHQlpSUmaqe58KY DIj8BDD/ZidwilNll0Sd1ygxhtdkKLlgi1kJGfLWilT1HIlroHE6SRhpxgWocO7/87xs 9sUeDl9VBmEGscXqoEhWZD+vxOBJZAWnqBTIWxRZa0r7KT+LEeiBmbX4pmZuVLe1en+D wqTA== Original-Received: by 10.60.31.195 with SMTP id c3mr5930549oei.57.1354458769845; Sun, 02 Dec 2012 06:32:49 -0800 (PST) Original-Received: by 10.60.78.162 with HTTP; Sun, 2 Dec 2012 06:32:49 -0800 (PST) In-Reply-To: <20121202131204.GA15717@khaled-laptop> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 04IuCwOnE - 3693f1d45264 - 20121202 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:79709 Archived-At: --===============1699668362== Content-Type: multipart/alternative; boundary=e89a8fb1ebc0d6eefc04cfdf81ac --e89a8fb1ebc0d6eefc04cfdf81ac Content-Type: text/plain; charset=ISO-8859-1 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 > > ___________________________________________________________________________________ > --e89a8fb1ebc0d6eefc04cfdf81ac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 &l= t;khaledhosny@eg= lug.org> 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. = =A0It doesn't
> show much new. =A0As had already been established, with the right ConT= eXt
> switches, OpenType features of kerning and ligatures work correctly wi= th
> FreeSerif.
>
> Find attached. =A0If there's a better way to do this, please comme= nt: I may
> put some of this in the FreeFront usage notes. =A0(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 t= he
> Unicode (or other encoding) character range? =A0All other font layout = systems
> I know of do this. =A0(Remember- a run of text in the OpenType sense i= s 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 t= he
period be classified? (they have a "common" script property in Un= icode
and not assigned to any given script). Unicode annex #24 provides an
algorithm for to handle this that an engine should implement:
http://w= ww.unicode.org/reports/tr24/

Regards,
=A0Khaled
___________________________________= ________________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--e89a8fb1ebc0d6eefc04cfdf81ac-- --===============1699668362== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1699668362==--