From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84186 Path: news.gmane.org!not-for-mail From: Peter Graif Newsgroups: gmane.comp.tex.context Subject: Re: devanagari rendering (2 errors) Date: Tue, 10 Sep 2013 00:43:37 -0400 Message-ID: <7FE3820F-56A9-4628-9447-E2C1DE305C72@gmail.com> References: <522E4A21.2090905@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1378788220 22100 80.91.229.3 (10 Sep 2013 04:43:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2013 04:43:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 10 06:43:44 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VJFnk-0006yr-FF for gctc-ntg-context-518@m.gmane.org; Tue, 10 Sep 2013 06:43:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3715610204; Tue, 10 Sep 2013 06:42:02 +0200 (CEST) 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 GGcapJoQRKnJ; Tue, 10 Sep 2013 06:42:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 57BCF101EB; Tue, 10 Sep 2013 06:42:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2ADE6101EB for ; Tue, 10 Sep 2013 06:41:59 +0200 (CEST) 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 5bgcTObectN8 for ; Tue, 10 Sep 2013 06:41:57 +0200 (CEST) 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 D408E101E8 for ; Tue, 10 Sep 2013 06:41:57 +0200 (CEST) Original-Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8A4hb8P030107 for ; Tue, 10 Sep 2013 06:43:37 +0200 Original-Received: by mail-ob0-f179.google.com with SMTP id fb19so6621436obc.24 for ; Mon, 09 Sep 2013 21:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=rCOY9E8PTn1nv4NDLGi35hZieR8+l+ZwBwiWmWfusXY=; b=yGjk28LHKfG8fQ8F1J0q+0cWD5nfqlt8xM3zH5vlJCMpN2yDbQDIkTWzBHiRfC9hYO lqpllvo8oqHAyYSF9FYRHRbdYYc8KtVVY4zI/IENBi5G3h5go1GULTRclW+DiHHQItXB wRIX+jAm6RcMF9WB01PUGOHZr+jWwIYnP01C+SQ5yYcceMSHG+S6HyGCnob2h7rrqIdM CVepvJRmVuDU1Hv6tsnpte0/9iGvKMELGm2TEKh1EoOGaHbNbq+1uGvUxhdwEnEeKo6W cEC8zfETGkrahzF9MTPDIHpRdb9tFiuLvDMfc/fo1U++yu1g0MRGeKfL32CEtENLAjVa Q6sg== X-Received: by 10.60.44.240 with SMTP id h16mr14017586oem.2.1378788216738; Mon, 09 Sep 2013 21:43:36 -0700 (PDT) Original-Received: from [192.168.1.81] (75-39-97-39.lightspeed.bcwdoh.sbcglobal.net. [75.39.97.39]) by mx.google.com with ESMTPSA id bq4sm17314616obb.1.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Sep 2013 21:43:36 -0700 (PDT) In-Reply-To: <522E4A21.2090905@wxs.nl> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4003:c01::233; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TKngHBjb - 2219362e0a80 - 20130910 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:84186 Archived-At: > > Can you make a as-small-as-possible test file? > > Preferable with proper utf-8 sequences (+ comment mentioning numbers/classes), good and wrong. > > I can probably figure it out but I cannot read or input easily this kind of scripts. > > Hans > Sure thing. I don't understand how opentype features are represented nor how the ligature logic is dividd up between the font and the engine, so I'm not quite sure what information is helpful or relevant. But, here's a minimal document that contains all the problem sequences I've identified. As a rough guide, here's another image with the current ConTeXt rendering in black and the desired rendering in red: http://i.imgur.com/MyvMneg.png Is that the information you need? Or is there something else I can do? -Peter ----------------- \definefont [DevaOne] [file:chandas.ttf*devanagari-one at 16pt] \starttext \DevaOne % The following combinations render incorrectly. % They are all of the following form: % {consonant(s)} + U+094D + U+0930 \char"0915 \char"094D \char"0930 ~ \char"0916 \char"094D \char"0930 ~ \char"0917 \char"094D \char"0930 ~ \char"0918 \char"094D \char"0930 ~ \char"0919 \char"094D \char"0930 ~ \char"091A \char"094D \char"0930 ~ \char"091B \char"094D \char"0930 ~ \char"091C \char"094D \char"0930 ~ \char"091D \char"094D \char"0930 ~ \char"091E \char"094D \char"0930 ~\crlf \char"091F \char"094D \char"0930 ~ \char"0920 \char"094D \char"0930 ~ \char"0921 \char"094D \char"0930 ~ \char"0922 \char"094D \char"0930 ~ \char"0923 \char"094D \char"0930 ~ \char"0924 \char"094D \char"0930 ~ \char"0925 \char"094D \char"0930 ~ \char"0926 \char"094D \char"0930 ~ \char"0927 \char"094D \char"0930 ~ \char"0928 \char"094D \char"0930 ~\crlf \char"0929 \char"094D \char"0930 ~ \char"092A \char"094D \char"0930 ~ \char"092B \char"094D \char"0930 ~ \char"092C \char"094D \char"0930 ~ \char"092D \char"094D \char"0930 ~ \char"092E \char"094D \char"0930 ~ \char"092F \char"094D \char"0930 ~ \char"0930 \char"094D \char"0930 ~ \char"0931 \char"094D \char"0930 ~ \char"0932 \char"094D \char"0930 ~\crlf \char"0933 \char"094D \char"0930 ~ \char"0934 \char"094D \char"0930 ~ \char"0935 \char"094D \char"0930 ~ \char"0936 \char"094D \char"0930 ~ \char"0937 \char"094D \char"0930 ~ \char"0938 \char"094D \char"0930 ~ \char"0939 \char"094D \char"0930 ~ \char"0958 \char"094D \char"0930 ~ \char"0959 \char"094D \char"0930 ~ \char"095A \char"094D \char"0930 ~ \char"095B \char"094D \char"0930 ~ \char"095C \char"094D \char"0930 ~ \char"095D \char"094D \char"0930 ~ \char"095E \char"094D \char"0930 ~ \char"095F \char"094D \char"0930 ~ \crlf \crlf \crlf % The following cominations also render incorrectly. % The problem occurs at the end of words with sequences: % {consonant(s)} + U+094D + [end of word] \char"0915 \char"094D ~ \char"0916 \char"094D ~ \char"0917 \char"094D ~ \char"0918 \char"094D ~ \char"0919 \char"094D ~ \char"091A \char"094D ~ \char"091B \char"094D ~ \char"091C \char"094D ~ \char"091D \char"094D ~ \char"091E \char"094D ~\crlf \char"091F \char"094D ~ \char"0920 \char"094D ~ \char"0921 \char"094D ~ \char"0922 \char"094D ~ \char"0923 \char"094D ~ \char"0924 \char"094D ~ \char"0925 \char"094D ~ \char"0926 \char"094D ~ \char"0927 \char"094D ~ \char"0928 \char"094D ~\crlf \char"0929 \char"094D ~ \char"0929 \char"094D ~ \char"092A \char"094D ~ \char"092C \char"094D ~ \char"092D \char"094D ~ \char"092E \char"094D ~ \char"092F \char"094D ~ \char"0930 \char"094D ~ \char"0931 \char"094D ~ \char"0932 \char"094D ~\crlf \char"0933 \char"094D ~ \char"0934 \char"094D ~ \char"0935 \char"094D ~ \char"0936 \char"094D ~ \char"0937 \char"094D ~ \char"0938 \char"094D ~ \char"0939 \char"094D ~ \char"0958 \char"094D ~ \char"0959 \char"094D ~ \char"095A \char"094D ~ \char"095B \char"094D ~ \char"095C \char"094D ~ \char"095D \char"094D ~ \char"095E \char"094D ~ \char"095F \char"094D ~ \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________