I am getting this error:
Package polyglossia error. The current latin font PersianModern(0) does not contain the "Arabic" script!(polyglossia) Please define \arabicfont with \newfontfamily command.
I use the most up-to-date MiKTeX and Texmaker. This never used to be a problem for me, but with the new MikTeX version it seems to be a problem. I prefer not to revert back to the older v2.9.
I have read the following posts to no avail:
polyglossia and minted - The current roman font does not contain the Hebrew script!
polyglossia error about file name when in draft mode
MWE (un-comment %\textfarsi{را} to get the problem)
%XeLaTeX
\documentclass[]{scrbook}
\usepackage[]{geometry}
\usepackage{libertine}
\usepackage{scrlayer-scrpage}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{farsi}
\newfontfamily\englishfont[Ligatures=NoCommon]{Linux Libertine O}
\newfontfamily\englishfontsf[Ligatures=NoCommon]{Linux Biolinum O}
\newfontfamily\farsifont[Script=Arabic]{Persian Modern}
\begin{document}
English text English text
%\textfarsi{را}
English text English text
\end{document}