<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Two fontspec (v2.1b) problems</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>The following two minimal XeLaTeX examples (using TeXShop 2.37) produce the indicated problems:<BR>
<BR>
*** Example 1, minimal example:<BR>
<BR>
%!TEX TS-program = xelatex<BR>
%!TEX encoding = UTF-8 Unicode<BR>
<BR>
\documentclass[draft]{memoir}<BR>
\usepackage[no-math]{fontspec}<BR>
<BR>
\newfontfamily\myGeor[Script=Georgian]{BPG Paata Ingiri Vera Unicode}<BR>
<BR>
\begin{document}<BR>
<BR>
\end{document}<BR>
<BR>
*** End of example 1<BR>
<BR>
This example produces the following console output:<BR>
<BR>
fontspec warning: Font 'BPG Paata Ingiri Vera Unicode' does not contain script<BR>
'Georgian'.<BR>
(fontspec) 'Latin' script used instead.<BR>
<BR>
fontspec warning: Font 'BPG Paata Ingiri Vera Unicode' does not contain script<BR>
'Latin'.<BR>
(fontspec) 'Latin' script used instead.<BR>
<BR>
..... [repeating the preceeding warning numerous times, and then one final one:]<BR>
<BR>
fontspec warning: Font 'BPG Paata Ingiri Vera Unicode' does not contain script<BR>
'Latin'.<BR>
(fontspec) 'Latin' script used instead.<BR>
<BR>
./r10n-test.tex:7: TeX capacity exceeded, sorry [parameter stack size=10000].<BR>
\use_i:nn #1#2-><BR>
#1<BR>
l.7 ...pt=Georgian]{BPG Paata Ingiri Vera Unicode}<BR>
<BR>
*** end of console output<BR>
<BR>
The same problem occurs with other fonts that contain neither the requested script nor Latin script.<BR>
<BR>
*** Example 2, minimal example<BR>
<BR>
%!TEX TS-program = xelatex<BR>
%!TEX encoding = UTF-8 Unicode<BR>
<BR>
\documentclass[draft]{memoir}<BR>
\usepackage[no-math]{fontspec}<BR>
<BR>
\newfontfamily\mytaml[Renderer=AAT]{InaiMathi}<BR>
\newfontfamily\mytamlalt[Renderer=AAT,Ligatures=Rare]{InaiMathi}<BR>
<BR>
\begin{document}<BR>
<BR>
\end{document}<BR>
<BR>
*** End of example 2<BR>
<BR>
This example stops with the following console output:<BR>
<BR>
./r10n-test2.tex:8: Undefined control sequence.<BR>
<argument> \intexpr_if_even:nTF<BR>
{4}{\tl_set:Nx \l_tmpb_tl {\XeTeXselectornam...<BR>
l.8 ...alt[Renderer=AAT,Ligatures=Rare]{InaiMathi}<BR>
<BR>
?<BR>
<BR>
*** end of console output<BR>
<BR>
Note that the first \newfontfamily command runs OK, but XeLaTeX stops on the second one.<BR>
<BR>
Specifics: using fontspec 2.1b and XeTeX 0.9997.4 (TeX Live 2010) running on Mac OS 10.6.4.<BR>
<BR>
Both examples ran to conclusion (i.e., only producing a warning message in the first case, and both examples typeset successfully) under fontspec v1.18 and XeTeX 0.9995.2 (TeX Live 2009)--although as I look at the output again, the rare ligatures were not actually produced, so I will have to look at the font again. At any rate, with fontspec v1.18, the syntax was acceptable.<BR>
<BR>
Thanks!<BR>
Richard</FONT>
</P>
</BODY>
</HTML>