[XeTeX] Two fontspec (v2.1b) problems

Lammert, Richard A. richard.lammert at ctsfw.edu
Sun Nov 7 23:29:03 CET 2010


The following two minimal XeLaTeX examples (using TeXShop 2.37) produce the indicated problems:

*** Example 1, minimal example:

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode

\documentclass[draft]{memoir}
\usepackage[no-math]{fontspec}

\newfontfamily\myGeor[Script=Georgian]{BPG Paata Ingiri Vera Unicode}

\begin{document}

\end{document}

*** End of example 1

This example produces the following console output:

 fontspec warning: Font 'BPG Paata Ingiri Vera Unicode' does not contain script
 'Georgian'.
(fontspec)  'Latin' script used instead.

 fontspec warning: Font 'BPG Paata Ingiri Vera Unicode' does not contain script
 'Latin'.
(fontspec)  'Latin' script used instead.

..... [repeating the preceeding warning numerous times, and then one final one:]

 fontspec warning: Font 'BPG Paata Ingiri Vera Unicode' does not contain script
 'Latin'.
(fontspec)  'Latin' script used instead.

./r10n-test.tex:7: TeX capacity exceeded, sorry [parameter stack size=10000].
\use_i:nn #1#2->
                #1
l.7 ...pt=Georgian]{BPG Paata Ingiri Vera Unicode}

*** end of console output

The same problem occurs with other fonts that contain neither the requested script nor Latin script.

*** Example 2, minimal example

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode

\documentclass[draft]{memoir}
\usepackage[no-math]{fontspec}

\newfontfamily\mytaml[Renderer=AAT]{InaiMathi}
\newfontfamily\mytamlalt[Renderer=AAT,Ligatures=Rare]{InaiMathi}

\begin{document}

\end{document}

*** End of example 2

This example stops with the following console output:

./r10n-test2.tex:8: Undefined control sequence.
<argument> \intexpr_if_even:nTF 
                                {4}{\tl_set:Nx \l_tmpb_tl {\XeTeXselectornam...
l.8 ...alt[Renderer=AAT,Ligatures=Rare]{InaiMathi}
                                                  
? 

*** end of console output

Note that the first \newfontfamily command runs OK, but XeLaTeX stops on the second one.

Specifics: using fontspec 2.1b and XeTeX 0.9997.4 (TeX Live 2010) running on Mac OS 10.6.4.

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.

Thanks!
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20101107/2bdd127f/attachment.html>


More information about the XeTeX mailing list