Hi All,
I am trying to set some text in Hebrew with diacritical marks, and whenever there is a diacritical that's supposed to come in the middle of a letter, all the marks are coming off misaligned, right after the glyph rather than in the middle of it (or wherever they're supposed to be).
I've attached a ConTeXt and Gimp output using the same font, Ezra SIL.
Here is the code:
\definefontfeature
[hebrew] [
mode=node,
expansion=quality,
protrusion=quality,
language=dflt,
script=hebr,
liga=yes,
rlig=yes,
dlig=yes,
clig=yes,
mark=yes,
mkmk=yes,
kern=yes
]
\starttypescript [serif] [ezrasil]
\definefontsynonym [Ezra-SIL-Regular] [name:ezrasil] [features=hebrew]
\definefontsynonym [Ezra-SIL-Bold] [name:ezrasil] [features=hebrew]
\definefontsynonym [Ezra-SIL-Italic] [name:ezrasil] [features=hebrew]
\definefontsynonym [Ezra-SIL-Bold-Italic] [name:ezrasil] [features=hebrew]
\stoptypescript
\starttypescript [serif] [ezrasil] [name]
\definefontsynonym [Serif] [Ezra-SIL-Regular] [features=hebrew]
\definefontsynonym [SerifItalic] [Ezra-SIL-Italic] [features=hebrew]
\definefontsynonym [SerifBold] [Ezra-SIL-Bold] [features=hebrew]
\definefontsynonym [SerifBoldItalic] [Ezra-SIL-Bold-Italic][features=hebrew]
\stoptypescript
\definetypeface [Hebrew] [rm][serif][ezrasil] [default] [features=hebrew]
\textdir TRT\pardir TRT\bodydir TRT\pagedir TRT
\usetypescript [Hebrew]
\setupbodyfont [Hebrew, 12pt]
\starttext
בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ
\stoptext
Thanks for your help.
--
Marc Trius