GNU bug report logs -
#54040
29.0.50; Text becomes blurry on PGTK/Wayland
Previous Next
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
View this message in rfc822 format
Thomas Jost <schnouki <at> schnouki.net> writes:
> Attached is a patch that seems to solve this issue for me without
> completely reverting that commit. I'm not sure if it's really a correct
> fix; please email me if you need any more details or testing!
I understand why your fix works, but please see if this change fixes the
problem, thanks:
diff --git a/src/pgtkterm.c b/src/pgtkterm.c
index 65408801cf..bc47c0471d 100644
--- a/src/pgtkterm.c
+++ b/src/pgtkterm.c
@@ -2932,9 +2932,8 @@ pgtk_copy_bits (struct frame *f, cairo_rectangle_t *src_rect,
surface =
gdk_window_create_similar_surface (window, CAIRO_CONTENT_COLOR_ALPHA,
- FRAME_CR_SURFACE_DESIRED_WIDTH (f),
- FRAME_CR_SURFACE_DESIRED_HEIGHT
- (f));
+ (int) src_rect->width,
+ (int) src_rect->height);
cr = cairo_create (surface);
cairo_set_source_surface (cr, FRAME_CR_SURFACE (f), -src_rect->x,
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.