I making a presentation which contains some Arabic words, I use polyglossia, but the following code gives me that error Package polyglossia Error: The current roman font does not contain the Arabic script!(polyglossia) define \arabicfont with \newfontfamily.
In my search I figured out that it is a bug in polyglossia. How to get around this?!
\documentclass[10pt]{beamer}
\usetheme[progressbar=frametitle]{metropolis}
\usepackage{appendixnumberbeamer}
\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage{pgfplots}
\usepgfplotslibrary{dateplot}
\usepackage{xspace}
\newcommand{\themename}{\textbf{\textsc{metropolis}}\xspace}
% For Arabic
\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage{arabic}
% Defining the font family
\newfontfamily\arabicfont[Script=Arabic, Scale=1.3]{Scheherazade}
\begin{document}
% First Slide :(
\begin{frame}[fragile]{A Section!}
Hello \textarabic{مرحبا}
\end{frame}
\end{document}