Closed seloumi closed 2 years ago
For this pgfpicture drawing with tikz package the result is fine but without it (just with pgf pkg) we obtain an incorrect result.
tikz
pgf
\documentclass{book} \usepackage[showframe]{geometry} \usepackage{pgf} %\usepackage{tikz} % uncomment this \usepackage[bidi=basic,layout=graphics]{babel} \babelprovide[import,main]{arabic} \babelfont{rm}{Amiri} \begin{document} A{\begin{pgfpicture} \color{red} \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{10cm}{2cm}} \pgfusepath{stroke} \end{pgfpicture}}B% \end{document}
For this pgfpicture drawing with
tikz
package the result is fine but without it (just withpgf
pkg) we obtain an incorrect result.