GNU bug report logs - #54040
29.0.50; Text becomes blurry on PGTK/Wayland

Previous Next

Package: emacs;

Reported by: Thomas Jost <schnouki <at> schnouki.net>

Date: Thu, 17 Feb 2022 12:08:01 UTC

Severity: normal

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 54040 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Thomas Jost <schnouki <at> schnouki.net>
Cc: 54040 <at> debbugs.gnu.org
Subject: Re: bug#54040: 29.0.50; Text becomes blurry on PGTK/Wayland
Date: Sat, 19 Feb 2022 08:59:13 +0800
Thomas Jost <schnouki <at> schnouki.net> writes:

> Sadly that doesn't seem to be it: scale is 1 on my external monitor, and
> 2 on the internal one.
>
> I've tried to log many other things (src_rect and dst_rect size and
> positions, frame pixel_width and text_width, pgtk_output preferred_width
> and _height, cr_surface_desired_width and _height, gdk_window width and
> height)... and there's no difference between before I resize the frame,
> and after I resize it. Yet, once I've resized it, the problem
> disappears.

What happens if you replace:

  scale = gtk_widget_get_scale_factor (FRAME_GTK_WIDGET (f));
  cairo_surface_set_device_scale (surface, scale, scale);

With:

  cairo_surface_set_device_scale (surface, 1, 1);

But aside from that stab in the dark, I'm really clueless as to what
might be happening.  Thanks.




This bug report was last modified 3 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.