Hello, I face the same bug after upgrading from Debian 11.7 to Debian 12. Removing ~/.dia/ did not solve the issue for me.
Dia became unusable with this bug for me with version 0.97.3+git20220525-5. The text elements get killed when zooming in or out of the diagram. And it runs pretty slow. The terminal gets populated with these error messages: (dia:221888): Pango-WARNING **: 08:52:55.861: font_face status is: error occurred in libfreetype (dia:221888): Pango-WARNING **: 08:52:55.861: scaled_font status is: error occurred in libfreetype (dia:221888): Pango-WARNING **: 08:52:55.927: failed to create cairo scaled font, expect ugly output. the offending font is 'Noto Sans 57995.1591796875' Downgrading to dia 0.97.3+git20160930-9 from Debian 11 solves the issue, but this is not a sustainable solution. Christian