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