GNU bug report logs - #37752
Scaling factor inconsistencies between X with and without GTK

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Tue, 15 Oct 2019 00:23:01 UTC

Severity: normal

Done: Carlos Pita <carlosjosepita <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Carlos Pita <carlosjosepita <at> gmail.com>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 37752 <at> debbugs.gnu.org
Subject: Re: bug#37752: Scaling factor inconsistencies between X with and
 without GTK
Date: Tue, 15 Oct 2019 05:09:04 -0300
>     Carlos> int scale = 1;
>     Carlos> #ifdef USE_GTK
>     Carlos>   scale = xg_get_scale (f);
>     Carlos> #endif
>     Carlos> FRAME_CR_SURFACE (f) =
>     Carlos>     cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
>     Carlos>       scale * FRAME_PIXEL_WIDTH (f),
>     Carlos>       scale * FRAME_PIXEL_HEIGHT (f));
>
> I canʼt find that code in master.

You're right, this and other xg_get_scale usages were removed wrt
emacs-26. Just one of them remains.

> Sure, that makes sense. Do you have a test case showing a display
> difference, or is this just code cleanup?

It's just code cleanup.

Best regards
--
Carlos




This bug report was last modified 5 years and 215 days ago.

Previous Next


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