<div dir="ltr"><div><div><div>(Sorry about that empty message with one attachment--clicked the wrong button.)<br><br></div>The following example attempts to use language-specific glyphs from Scheherazade, but does not work with Scheherazade 2.0 or 2.01. The example *does* work with Scheherazade 1.005 (see attachments arabic-test-1.005.pdf and arabic-test-2.01.pdf)<br>
<br></div>However, when I use TypeTuner to produce language-specific fonts for each of the three languages (last three lines of each test file), XeLaTeX properly shows the correct contextual forms. Since XeLaTeX reads the glyphs properly from the tuned fonts, it appears to me that the language information is not being interpreted properly in the base font. I am using XeLaTeX 0.9999.3, fontspec v. 2.3c, and bidi v14 on an iMac.<br>
<br></div>Minimal working example follows:<br><div><div><br>%!TEX TS-program = xelatex<br>%!TEX encoding = UTF-8 Unicode<br><br>\documentclass{memoir}<br>\chapterstyle{bianchi}<br><br>\usepackage[no-math]{fontspec}<br>\usepackage{bidi}<br>
<br>\newfontfamily\arabic[Renderer=Graphite,Script=Arabic]{Scheherazade}<br>\newfontfamily\kurdish[Renderer=Graphite,Script=Arabic,Language=Kurdish]{Scheherazade}<br>\newfontfamily\sindhi[Renderer=Graphite,Script=Arabic,Language=Sindhi]{Scheherazade}<br>
\newfontfamily\urdu[Renderer=Graphite,Script=Arabic,Language=Urdu]{Scheherazade}<br>\newfontfamily\kurdishsel[Renderer=Graphite,Script=Arabic]{Scheherazade LngKur}<br>\newfontfamily\sindhisel[Renderer=Graphite,Script=Arabic]{Scheherazade LngSin}<br>
\newfontfamily\urdusel[Renderer=Graphite,Script=Arabic]{Scheherazade LngUrd}<br>\newcommand{\arabicfnt}{\arabic\fontsize{22}{26pt}\selectfont}<br>\newcommand{\kurdishfnt}{\kurdish\fontsize{22}{26pt}\selectfont}<br>\newcommand{\sindhifnt}{\sindhi\fontsize{22}{26pt}\selectfont}<br>
\newcommand{\urdufnt}{\urdu\fontsize{22}{26pt}\selectfont}<br>\newcommand{\kurdishselfnt}{\kurdishsel\fontsize{22}{26pt}\selectfont}<br>\newcommand{\sindhiselfnt}{\sindhisel\fontsize{22}{26pt}\selectfont}<br>\newcommand{\urduselfnt}{\urdusel\fontsize{22}{26pt}\selectfont}<br>
<br>\newcommand\arabtext{م ممم - ه ههه  -   ◌ٍّ   ◌ِّ   }<br><br>\begin{document}<br><br>default: \par \RL{\arabicfnt\arabtext}<br><br>Kurdish: \par \RL{\kurdishfnt\arabtext}<br><br>Sindhi: \par \RL{\sindhifnt\arabtext}<br>
<br>Urdu: \par \RL{\urdufnt\arabtext}<br><br>Languages implemented with TypeTuner:<br><br>Kurdish: \par \RL{\kurdishselfnt\arabtext}<br><br>Sindhi: \par \RL{\sindhiselfnt\arabtext}<br><br>Urdu: \par \RL{\urduselfnt\arabtext}<br>
<br>\end{document}<br><br></div><div>*** end of example<br><br>Richard<br><br><br></div><div><div><div><div><div class="gmail_extra">-- <br><div dir="ltr">

<p><font><a name="SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_132a70531658647d_132a703e"><span style="color:navy">Rev. Richard A. Lammert<span>           </span>e-mail:
richard.lammert@ctsfw.edu<br>
Technical Services Librarian<span>       </span>mail: </span></a><span style="color:navy">6600
  N. Clinton St.</span><br><span style="color:navy">Systems Librarian<span>                     </span>Fort Wayne, IN 46825-4916<br>
Walther Library<span>                         </span>phone:
260-452-3148<br>
Concordia Theological Seminary</span>
</font><font><span></span></font></p>

</div>
</div></div></div></div></div></div></div>