<div dir="ltr"><div>I ran into a problem with XeLaTeX when using SBL Hebrew, which is my font of choice.  When I switch to NewJerusalemU or Ezra SIL, the problem disappears. I'm not sure however the problem is due to SBL Hebrew, as it renders perfectly in Mellel.</div>
<div><br></div><div>The case involves the unusual combination in the Hebrew writing of Jerusalem, namely a pair of vowels combined with one single base consonant. The particular case is the word "Jerusalem" in Isaiah 44:28 (Leningrad Codex). It happens elsewhere (I mean, this spelling/writing of Jerusalem, as well as the combination of two vowels and a single base consonant in very few other words). In this case, the two vowels "a" (pataḥ) and "i" (ḥiriq) are joined to lamed or L of yerūšālaĭm. </div>
<div><br></div><div>The word is correctly rendered in Mellel, as I said, with such fonts as SBL Hebrew, Ezra SIL, or NewJerusalemU, which I am told use special contextual rules for such cases. See attachment Jerusalem_Mellel_SBLHebrew.png</div>
<div><br></div><div>When I transfer the text to my TeX editor (TextMate), the order and direction of consonants is correct but the order of the pair of vowels mentioned above (pataḥ and ḥiriq) is switched: לִירוּשָׁלִַם</div>
<div>This is also true of my browser's rendition of the text (Safari 7.0) in <a href="http://www.stepbible.org/#!__/0/passage/2/OHB/Isa%2044/VNU/__/1/passage/0/ESV/Isa%2044/NHV">http://www.stepbible.org/#!__/0/passage/2/OHB/Isa%2044/VNU/__/1/passage/0/ESV/Isa%2044/NHV</a> (see attachmt: Jerusalem_safari.png)</div>
<div><br></div><div>Typesetting it via XeLaTeX and using SBL Hebrew font, the lamed and final mem are jumbled and the pair of vowels attached to the lamed are in the reverse order: see attachment Jerusalem_XeLaTeX_SBLHebrew.png.</div>
<div><br></div><div>If I use NewJerusalemU or Ezra SIL and XeLaTeX, however, I get the correct result: see attchmt Jerusalem_XeLaTeX_EzraSIL.png.</div><div><br></div><div>Yet, as I said above, the word renders correctly in Mellel when using SBL Hebrew (or the other two fonts mentioned above). I also wrote separately to John Huston, who created this SBL set of fonts. He is on a business trip and cannot investigate the matter until this coming weekend. I decided to ask the question on XeTeX.org in case someone has an answer to the problem, and suggestions about how to tell SBL Hebrew to use the contextual rules it clearly uses in Mellel.</div>
<div><br></div><div>--Gildas</div></div>