Hi Paul, On Fri, 29 Oct 2021 at 21:21, Paul Wise wrote: > > Not sure if this issue is a bug in sm or freetype, please reassign. > > Since the upgrade of freetype from 2.10.4+dfsg-1 to 2.11.0+dfsg-1, > whenever I attempt to display a string in sm containing letter e, > either via the command-line or by typing it into the text input, > the entire string does not display, I get errors in the terminal > and I cannot type any more input except for pressing Esc twice. > > $ sm e > (sm:2529177): Gtk-WARNING **: 13:23:34.553: drawing failure for widget > 'GtkDrawingArea': error occurred in libfreetype > > (sm:2529177): Gtk-WARNING **: 13:23:34.574: drawing failure for widget > 'GtkBox': error occurred in libfreetype > > (sm:2529177): Gtk-WARNING **: 13:23:34.574: drawing failure for widget > 'GtkWindow': error occurred in libfreetype > > The problem stops happening if I downgrade freetype to 2.10.4+dfsg-1. > > The problem happens with some fonts but not every single font.
With which fonts are you seeing the problem? > The problem happens for rotating 180° or 360° but not 90° or 270°. > > The problem happens with "e" "ea" "eaa" "eaaa" but not "eaaaa". > > The problem happens for me with GNOME Wayland and if I force X11. I'm not seeing any issues or warnings using Cinnamon and X11 on Debian Sid on these letter combinations or rotations. I'll spin up a GNOME VM and report back. > The problem only happens with my existing user account, not a new one. > > The problem still happens if I delete my fontconfig cache files. > > Folks on IRC say this does not happen in X11 KDE/MATE/Xfce/openbox/dwm > and Wayland/X11 GNOME. One person found it does happen in X11 LXQt. > > When I compare the ltrace output, when the issue occurs, the function > pango_cairo_show_layout returns 40 while it returns 0 otherwise. > > I tried recompiling freetype with support for the FT2_DEBUG environment > variable but I can't find the error in the log output.