Hi! I just found out that installing libfreetype6_2.10.4+dfsg-1+deb11u1_amd64.deb solves the problem. I assume that "Bitstream Vera Sans 345593.26171875" tries to create a font of size 345593, which is a bit strange. Looks like a overflow or division by zero to me.
I have a lot of old TTF fonsts installed + mscorefonts + bitmap fonts (enabled for Xorg). Desktop Environment is TDE. Anyway, the affectd Bitstream Vera Sans is from ttf-bitstream-vera 1.10-8.2 Special settings for GDK/GTK: GDK_DPI_SCALE=1.25 GTK_CSD=0 LD_PRELOAD=libgtk3-nocsd.so.0 Nik Anno domini 2022 Thu, 22 Sep 21:53:16 +0200 Philippe SWARTVAGHER scripsit: > Hello, > > I cannot reproduce the bug on a up-to-date Debian Sid with XFCE. > > Your version of dia is not the latest available (0.97.3+git20220525-4 is > available in unstable), but that shouldn't be the origin of the bug > since the difference between -3+b1 and -4 is only a change in the > recommended packages. > > Can you try to provide more context, so I can reproduce the issue? What > is your desktop environment? Do you have any specific fonts installed? > > Philippe. > > Le 22/09/2022 à 20:56, Dr. Nikolaus Klepp a écrit : > > Package: dia > > Version: 0.97.3+git20220525-3+b1 > > Severity: important > > X-Debbugs-Cc: off...@klepp.biz > > > > Dear Maintainer, > > > > Creating a text element breaks all GUI fonts in dia. Steps to reproduce: > > - open dia > > - create a text element > > - right click on the text element > > > > --> all GUI fonts are invisible. > > > > Console log: > > (dia:15743): Pango-WARNING **: 20:52:08.861: failed to create cairo scaled > > font, expect ugly output. the offending font is 'Bitstream Vera Sans > > 345593.26171875' > > (dia:15743): Pango-WARNING **: 20:52:08.862: font_face status is: error > > occurred in libfreetype > > (dia:15743): Pango-WARNING **: 20:52:08.862: scaled_font status is: error > > occurred in libfreetype > > > > -- System Information: > > Debian Release: bookworm/sid > > merged-usr: no > > Architecture: amd64 (x86_64) > > > > Kernel: Linux 5.19.0-1-amd64 (SMP w/4 CPU threads; PREEMPT) > > Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE > > Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), > > LANGUAGE=de_AT:de > > Shell: /bin/sh linked to /bin/dash > > Init: sysvinit (via /sbin/init) > > LSM: AppArmor: enabled > > > > Versions of packages dia depends on: > > ii dia-common 0.97.3+git20220525-3 > > ii gir1.2-gtk-2.0 2.24.33-2 > > ii libc6 2.34-8 > > ii libcairo2 1.16.0-6 > > ii libgcc-s1 12.2.0-2 > > ii libgdk-pixbuf-2.0-0 2.42.9+dfsg-1 > > ii libglib2.0-0 2.74.0-1 > > ii libgraphene-1.0-0 1.10.8-1 > > ii libgtk2.0-0 2.24.33-2 > > ii libpango-1.0-0 1.50.10+ds-1 > > ii libpangocairo-1.0-0 1.50.10+ds-1 > > ii libpoppler123 22.08.0-2.1 > > ii libpython3.10 3.10.7-1 > > ii libstdc++6 12.2.0-2 > > ii libxml2 2.9.14+dfsg-1+b1 > > ii zlib1g 1:1.2.11.dfsg-4.1 > > > > Versions of packages dia recommends: > > ii dia-shapes 0.6.0-4 > > ii gsfonts-x11 2:20200910-4 > > > > dia suggests no packages. > > > > -- no debconf information > -- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...