TikZ library “calligraphy” doesn't work anymore [duplicate]

This question already has an answer here:

after my recent upgrades of miktex (may, 5) the tikz library calligraphy doesn't work anymore. for example, testing of cfr answer:

\documentclass[tikz,border=10pt,multi]{standalone}
\usetikzlibrary{decorations.pathreplacing,calligraphy}
\begin{document}
\begin{tikzpicture}
\draw[pen colour={red}, decorate, decoration={calligraphic brace, amplitude=6pt}, thick] (0,0) -- (0,3);
\end{tikzpicture}
\end{document}


which previously works, now gives error:

! Undefined control sequence.
<argument> \g__prg_map_int

l.707 ...igraphy pen copperplate}{\l__cal_tmpa_tl}

?


forcing compilation gives correct result.

it seems that with this upgrade is introduced a bug. do anyone can help me with workaround?

marked as duplicate by Joseph Wright♦May 6 '18 at 21:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.