[XeTeX] Invalid fontname

Philip Taylor (Webmaster, Ret'd) P.Taylor at Rhul.Ac.Uk
Sun Sep 5 11:16:04 CEST 2010


I agree that the code is weird (and it looks to me
as if it is actually wrong), but I cannot see any
reason to believe that it leads to iteration or
recursion.

Philip Taylor
--------
Peter Dyballa wrote:

> The cause is that your code is faulty:
>
>> \newfontinstance\dhivehifontA{Mv Elaaf Normal}
> ^^^^^^^^^^^^^
>> \newcommand{\dhiA}[1]{{\newfontinstance\dhivehifontA #1}}
> ^^^^^^^^^^^^^
>
> By reusing a name in this manner it's like creating an endless loop.


More information about the XeTeX mailing list