0

I have installed a new font "MCS Diwany1 S_U adorned." with xelatex there is no problem but with lualatex a file like this

\documentclass[11pt]{report} 
\usepackage{fontspec}

\setmainfont[Script=Arabic]{MCS Diwany1 S_U adorned.}

\begin{document}
\pardir TRT \textdir TRT     
أهلا  

\end{document}

Produces an error ! fontspec error: "font-not-found". I tried to execute in the command line

luaotfload-tool --update --force  

Without effect, and the result is

luaotfload | db : Unknown format: "", skipping.
  • FontForge complains loudly that the font name is invalid. I’ve seen it complain about other fonts that luatex manages to use, but there are lots of complaints when I open this font in FontForge. – Thérèse Nov 2 '18 at 18:39
  • I can't use this font with xelatex but at least the system can find the font. – Salim Bou Nov 2 '18 at 18:56
  • Maybe renaming the font in FontForge would help? – Thérèse Nov 2 '18 at 18:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.