[XeTeX] Invalid fontname

Philip Taylor (Webmaster, Ret'd) P.Taylor at Rhul.Ac.Uk
Sun Sep 5 13:28:31 CEST 2010


Yes, that solves my problem, Will, and removing the
second \newfont{instan|fa}ce solves the original
problem, I think :

\documentclass[12pt,letterpaper]{report}
\usepackage{fontspec}
\newfontface\dhivehifontA{Mv Elaaf Normal}
\newcommand{\dhiA}[1]{{\dhivehifontA #1}}
\begin{document}
\dhiA{ޓީވީއެމް އާއި ދިވެހިރާއްޖޭގެ އަޑުގެ ނަން ބަދަލުކޮށްފިއެވެ.}
\end{document}

Philkip Taylor
--------
Will Robertson wrote:

> This command is deprecated; please use \newfontfamily or \newfontface instead.


More information about the XeTeX mailing list