When compiling the document
\documentclass{article}
\usepackage{polyglossia}
\newfontfamily\arabicfont[Script=Arabic]{Scheherazade}
\setmainlanguage{arabic}
\begin{document}
ل
\end{document}
using xelatex
I obtain the error
xdvipdfmx:fatal: Cannot proceed without the font: /usr/share/font/woff/scheherazade/Scheherazade-Regular.woff
Apparently the fonts are not part of TeXLive 2016, so I downloaded Scheherazade-2.100.zip
from SIL International, unpacked it into /usr/local/texlive/texmf-local/fonts/truetype
, and ran mktexlsr
. According to Installing TeX fonts I am now supposed to run updmap
on a .map
file, but there is none.
So my questions are:
- How does this
.map
look like, where do I get it from? - Is there anything else missing for setting up the font correctly?
Edit: Apparently my Ubuntu installation already contained the Scheherazade fonts from installing the package fonts-sil-scheherazade
, which puts them at /usr/share/fonts/woff/scheherazade/
. When adding the link /usr/share/font -> /usr/share/fonts
(there was no font
before), xelatex
/xdvipdfmx
somehow takes notice since it corrects the path in the error message from font
to fonts
, but otherwise still the same.
{Scheherazade-Regular.ttf}
.woff
version is a different version of the font that XeTeX can't really work with. P.S. as a bonus, I recommend scaling scheherazade as I find it's very small in its default size. Play around with\newfontfamily{\AR}[Script=Arabic,Scale=1.7]{Scheherazade-Regular.ttf}
and see if it suits your taste