I am trying to create a TikZ figure as below, but the compilation is problematic when one adds some Arabic text.
\documentclass[tikz, border=5pt, multi]{standalone}
\usepackage{polyglossia}
\usepackage [utf] {arabxetex}
\usepackage{fontspec}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{fourier}
\setmainlanguage[variant=british]{english}
\newfontfamily\arabicfont{Amiri}[Script=Arabic]
\usetikzlibrary{arrows.meta,calc}
\usepackage{color}
\usepackage{tikz,pgfornament,tikzrput} % altermundus.com/pages/tkz/tikzrput/
\usetikzlibrary{decorations,decorations.text} % altermundus.com/pages/tkz/ornament/
\begin{document}
\begin{tikzpicture}
\node[circle, minimum size=7cm, draw, fill=yellow] (a) {};
\node[circle, minimum size=6cm, draw, fill=green] (b) {};
\draw [decorate, decoration={text along path, text =\textarabic{المنزل العربي الكبير يحب الخير} }]
(150:3.1) arc (150:30:3.1cm);
%\draw [decorate, decoration={text along path, text =XXXXX YYYYY XXXXX}]
%(150:3.1) arc (150:30:3.1cm);
\end{tikzpicture}
\end{document}
unicode-math
andlibertinus-otf
as an alternative to legacy NFSS fonts. Libertinus Math and Amiri were created by the same person, Khaled Hosny, and complement each other very well.