This issue is solved in dia version 0.97.3+git20220525-5 of Debian testing (trixie) with libpango 1.51.0+ds-3 and libfreetype 2.13.2+dfsg-1.
This issue is solved in dia version 0.97.3+git20220525-5 of Debian testing (trixie) with libpango 1.51.0+ds-3 and libfreetype 2.13.2+dfsg-1.