I want to have a circular flow including persian words (employing xepersian package and xelatex compiler is necessary for persian language) using tikz picture, but latex makes characters of persian words separated. how I can fix it?
\documentclass[parskip]{scrartcl}
\usepackage[margin=15mm]{geometry}
\usepackage{tikz}
\usetikzlibrary{decorations.text}
\usepackage{xepersian}
\settextfont{XB Niloofar}
\newcommand{\arcarrow}[8]% inner radius, middle radius, outer radius, start angle, end angle, tip protusion angle, options, text
{ \pgfmathsetmacro{\rin}{#1}
\pgfmathsetmacro{\rmid}{#2}
\pgfmathsetmacro{\rout}{#3}
\pgfmathsetmacro{\astart}{#4}
\pgfmathsetmacro{\aend}{#5}
\pgfmathsetmacro{\atip}{#6}
\fill[#7] (\astart:\rin) arc (\astart:\aend:\rin) -- (\aend+\atip:\rmid) -- (\aend:\rout) arc (\aend:\astart:\rout) -- (\astart+\atip:\rmid) -- cycle;
\path[decoration={text along path, text={#8}, text align={align=center}, raise=-0.5ex},decorate] (\astart+\atip:\rmid) arc (\astart+\atip:\aend+\atip:\rmid);
}
\begin{document}
\begin{tikzpicture}
\fill[even odd rule,lime!30] circle (3.8) circle (3.2);
\arcarrow{3}{3.5}{4}{0}{118}{5}{magenta,draw=red!50!black,very thick}{کاهش ارزش آورده}
\arcarrow{3}{3.5}{4}{120}{238}{5}{green,draw=red!50!black,very thick}{{کاهش ارزش آورده}}
\arcarrow{3}{3.5}{4}{240}{358}{5}{cyan,draw=red!50!black,very thick}{{کاهش ارزش آورده}}
\end{tikzpicture}
\end{document}
kpfontspackage is necessary and it is impossible for me to install it viaTexmakeror via theMikTeXconsole. "The required filefonts\afm\public\kpfonts\jkplmne.afmis missing. It is a part of the following package:kpfontsThere's always that error: "Unfortunately, the package kpfonts could not be installed" – AndréC Sep 15 '18 at 20:17tikzto apply it to your example. – Thérèse Sep 16 '18 at 15:57