From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87209 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: Hebrew vowel placement in ConTeXt. Date: Fri, 02 May 2014 18:58:36 -0400 Message-ID: <5364231C.7070806@rik.users.panix.com> References: <12604_1371486185_51BF37E9_12604_399_1_op.wytzrxjlpw6hmh@ishamid-pc> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0770212826==" X-Trace: ger.gmane.org 1399071562 26518 80.91.229.3 (2 May 2014 22:59:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 May 2014 22:59:22 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat May 03 00:59:18 2014 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 1WgMQH-000878-Ob for gctc-ntg-context-518@m.gmane.org; Sat, 03 May 2014 00:59:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0FE6810295 for ; Sat, 3 May 2014 00:59:17 +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 LHMDywTLdFn0 for ; Sat, 3 May 2014 00:59:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2E7491024A for ; Sat, 3 May 2014 00:59:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56EF5101EA for ; Sat, 3 May 2014 00:59:04 +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 yDcDSAxpdZvS for ; Sat, 3 May 2014 00:59:02 +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 4CEF1101E1 for ; Sat, 3 May 2014 00:58:54 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s42MwqHR031545 for ; Sat, 3 May 2014 00:58:52 +0200 Original-Received: from [192.168.201.179] (cpe-67-240-55-150.nycap.res.rr.com [67.240.55.150]) by mailbackend.panix.com (Postfix) with ESMTP id 49EC12E751 for ; Fri, 2 May 2014 18:58:51 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TLVaWQWz - 8324f8d25eaa - 20140503 (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:87209 Archived-At: This is a multi-part message in MIME format. --===============0770212826== Content-Type: multipart/alternative; boundary="------------050007010203070005090505" This is a multi-part message in MIME format. --------------050007010203070005090505 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2014-05-02 14:36, Michael Ash wrote: > May I bump? > > The following code used to work, but now it gives an error: > > \usemodule[simplefonts] > \definefontfeature[hebrew][default][mode=node,script=hebr,language=dflt,mark=yes,ccmp=yes] > \setmainfont[Ezra SIL SR][features=hebrew] > \setupdirections[bidi=on] > \starttext > ?????????? ?????? ????????? ???? ?????????? ?????? ???????? > \stoptext > > The following variant (without "script=hebr") compiles but the vowels > are misplaced (not centered below the letters), which "ccmp=yes" (see > http://www.microsoft.com/typography/otspec/features_ae.htm#ccmp) is > supposed to request: > > \usemodule[simplefonts] > \definefontfeature[hebrew][default][mode=node,language=dflt,mark=yes,ccmp=yes] > \setmainfont[Ezra SIL SR][features=hebrew] > \setupdirections[bidi=on] > \starttext > ?????????? ?????? ????????? ???? ?????????? ?????? ???????? > \stoptext > > The problem in definefontfeature seems to be that the feature > "ccmp=yes" is not taking effect, and the feature "script=hebr" > generates an error. > > Thank you very much for your advice. > > Michael Michael, Sorry to say, no problem here with your example, and trimming the second line even further to \definefontfeature[hebrew][default][script=hebr,ccmp=yes] still produces results with no errors and proper nikkud alignment (run on a system running Windows 8.1 x64 and ConTeXt standalone 2014-04-28 standard and jit). Similarly, no problem with traditional font definition without simplefonts. What platform are you using, what version of Ezra SIL SR (likely 2.51, but worth asking)? -- rik kabel --------------050007010203070005090505 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 2014-05-02 14:36, Michael Ash wrote:
May I bump?

The following code used to work, but now it gives an error:

\usemodule[simplefonts]
\definefontfeature[hebrew][default][mode=node,script=hebr,language=dflt,mark=yes,ccmp=yes]
\setmainfont[Ezra SIL SR][features=hebrew]
\setupdirections[bidi=on]
\starttext
בְרֵאשִ֖ית בָרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָמַ֖יִם וְאֵ֥ת הָאָֽרֶץ
\stoptext

The following variant (without "script=hebr") compiles but the vowels are misplaced (not centered below the letters), which "ccmp=yes" (see http://www.microsoft.com/typography/otspec/features_ae.htm#ccmp) is supposed to request:

\usemodule[simplefonts]
\definefontfeature[hebrew][default][mode=node,language=dflt,mark=yes,ccmp=yes]
\setmainfont[Ezra SIL SR][features=hebrew]
\setupdirections[bidi=on]
\starttext
בְרֵאשִ֖ית בָרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָמַ֖יִם וְאֵ֥ת הָאָֽרֶץ
\stoptext

The problem in definefontfeature seems to be that the feature "ccmp=yes" is not taking effect, and the feature "script=hebr" generates an error.

Thank you very much for your advice.

Michael

Michael,

Sorry to say, no problem here with your example, and trimming the second line even further to

\definefontfeature[hebrew][default][script=hebr,ccmp=yes]

still produces results with no errors and proper nikkud alignment (run on a system running Windows 8.1 x64 and ConTeXt standalone 2014-04-28 standard and jit).

Similarly, no problem with traditional font definition without simplefonts.

What platform are you using, what version of Ezra SIL SR (likely 2.51, but worth asking)?

--
rik kabel

--------------050007010203070005090505-- --===============0770212826== 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 ___________________________________________________________________________________ --===============0770212826==--