I would like to obtain a final result like in this post: Text spirals with TikZ
But I incur in 2 problems
-
- The solution does not work with Hebrew text
-
- It does not work with long chunks of text, even latin text (I have over 1000 words and I'm thinking of using a tiny font)
\documentclass[tikz,border=5]{standalone}
\usetikzlibrary{decorations.text}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{ebgaramond}
\setdefaultlanguage{italian}
\setotherlanguage{hebrew}
\newfontfamily{\hebrewfont}{New Peninim MT}
\begin{document}
\begin{tikzpicture}[
decoration={
reverse path,
text effects along path,
text={\texthebrew{מאימתי קורין את שמע בשחרית. משיכיר בין תכלת ללבן. רבי אליעזר אומר, בין תכלת לכרתי. וגומרה עד הנץ החמה. רבי יהושע אומר, עד שלש שעות, שכן דרך בני מלכים לעמד בשלש שעות. הקורא מכאן ואילך לא הפסיד, כאדם הקורא בתורה
}},
text effects/.cd,
text along path,
character count=\i, character total=\n,
characters={scale=1-\i/\n}
}
]
\draw [decorate] (0,0)
\foreach \i [evaluate={\r=(\i/2000)^2;}] in {0,5,...,2880}{ -- (\i:\r)};
\end{tikzpicture}
\end{document}
:)– Fran Jan 25 '24 at 00:01