I have TeX Live 2017 installed on a macOS Sierra.

I get an error when I compile this simple document.

%% XeLaTeX



% Setting a font


Hello, and this is an Arabic Hello \textarabic{ﻡﺮﺤﺑﺍ}


The Error;

! fontspec error: "font-not-found"
! The font "Amiri" cannot be found.
! See the fontspec documentation for further information.
! For immediate help type H <return>.

l.8 ...fontfamily\arabicfont[Script=Arabic]{Amiri}


How can I install fonts in Polyglossia?


XeLaTeX uses system fonts, so, if you don't have Amiri on your computer, then you need to download it and put it into your computer's font folder.

Also, shouldn't it be مرحبا, not ﻡﺮﺤﺑﺍ?

  • 'Also, shouldn't it be مرحبا, not ﻡﺮﺤﺑﺍ?' this is becuase It have copied from the terminal. – Taha Magdy Apr 23 '18 at 15:10
  • But, but it is as you have just said, Thank You So Much – Taha Magdy Apr 23 '18 at 15:10

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.