<div dir="ltr"><font face="comic sans ms,sans-serif">looks okay by me.</font><div><font face="comic sans ms,sans-serif">miktex 2.8 (windows 7x64)</font></div><div><font face="comic sans ms,sans-serif">This is XeTeX, Version 3.1415926-2.2-0.9995.1 (MiKTeX 2.8)</font></div>
<div><font face="comic sans ms,sans-serif"><br></font></div><div><font face="comic sans ms,sans-serif"><br></font></div><div><font face="comic sans ms,sans-serif"><br></font></div><div><font face="comic sans ms,sans-serif"><br>
</font></div><div><font face="comic sans ms,sans-serif">Avi<br></font><br><div class="gmail_quote">On Sun, Jun 13, 2010 at 4:51 PM, David Purton <span dir="ltr">&lt;<a href="mailto:dcpurton@marshwiggle.net">dcpurton@marshwiggle.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
Just wondering if this is a possible bug:<br>
<br>
I was looking through the SBL Hebrew manual<br>
(<a href="http://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf" target="_blank">http://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf</a>) and noticed<br>
that one of the tricky combinations mentioned in the manual is not<br>
rendered correctly. The particular character in question is the alef on<br>
page 7 of the manual. The SBL Hebrew font is available from<br>
<a href="http://www.sbl-site.org/Fonts/SBL_Hbrw.ttf" target="_blank">http://www.sbl-site.org/Fonts/SBL_Hbrw.ttf</a><br>
<br>
No combinations I entered gave the correct rendering. Looking at the<br>
font, it looks like there are some unmapped glyphs designed to cater for<br>
this and similar cases. Initially I wondered if the ZWJ was a kludge,<br>
but it does seem to appear in at least some copies of the WLC codex<br>
online. Others use the same character ordering, but without the ZWJ.<br>
<br>
My file versions:<br>
<br>
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)<br>
xltxtra: 2009/09/02 v0.5<br>
xunicode: 2008/02/08 v0.91<br>
fontspec: 2008/08/09 v1.18<br>
bidi: v1.1.1, &lt;commit 54&gt;, 2010/07/25<br>
<br>
<br>
Minimal sample file showing various character orderings possible,<br>
incuding the one with the ZWJ mentioned in the manual.<br>
<br>
<br>
\documentclass{article}<br>
\usepackage{xltxtra}<br>
\usepackage{bidi}<br>
\newfontfamily\hebrewfont[Script=Hebrew,Contextuals=Alternate,Ligatures=Required]{SBL Hebrew}<br>
\begin{document}<br>
\hebrewfont\setRL<br>
אֲ‍ֽ֭\quad % alef + hataf patah + ZWJ + meteg + dehi (From SBL Hebrew manual)<br>
אֲֽ֭\quad % alef + hataf patah + meteg + dehi<br>
אֲֽ֭\quad % alef + hataf patah + dehi + meteg<br>
אֲֽ֭\quad % alef + meteg + hataf patah + dehi<br>
אֲֽ֭\quad % alef + meteg + dehi + hataf patah<br>
אֲֽ֭\quad % alef + dehi + hataf patah + meteg<br>
אֲֽ֭      % alef + dehi + meteg + hataf + meteg<br>
\end{document}<br>
<br>
<br>
Questions:<br>
<br>
Is there a fontspec option I am missing to enable correct rendering in<br>
this case?<br>
<br>
Can others confirm that this is a problem (in case some of my files are<br>
too old)?<br>
<br>
Any comments on how XeLaTeX/fontspec should behave? It would make sense<br>
to me for at least the first two options in the minimal file above to<br>
render correctly, since I do not understand why the ZWJ would be<br>
necessary other than as a kludge... but I am very ignorant, so they may<br>
be a good reason. Other parts of the SBL Hebrew manual talk about the<br>
font being able to render correctly pointing and cantilation in any<br>
order. However, I don&#39;t understand how and when normalisation should<br>
occur.<br>
<br>
<br>
cheers<br>
<br>
David<br>
<font color="#888888"><br>
--<br>
David Purton<br>
<a href="mailto:dcpurton@marshwiggle.net">dcpurton@marshwiggle.net</a><br>
<br>
For the eyes of the LORD range throughout the earth to<br>
strengthen those whose hearts are fully committed to him.<br>
                                 2 Chronicles 16:9a<br>
</font><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iD8DBQFMFOJ1FtfqMu4ICewRAmr4AKCUwPbSbJGCQ6bfwTYuMizr/4+1fwCfd2Nq<br>
1k7Hnk0FlLXnwrU0vqt16sw=<br>
=2QFF<br>
-----END PGP SIGNATURE-----<br>
<br><br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>--------------------------------------------------------<br>Avi Wollman אבי וולמן<br><a href="http://www.google.com/profiles/avi.wollman">http://www.google.com/profiles/avi.wollman</a><br>
--------------------------------------------------------<br><br>
</div></div>