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 #14 received at 37752 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Carlos Pita <carlosjosepita <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 11:37:02 +0200
>>>>> On Tue, 15 Oct 2019 05:09:04 -0300, Carlos Pita <carlosjosepita <at> gmail.com> said:

    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.

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

If thatʼs in code thatʼs independent of GTK3 usage, then by all means
fix it.

Robert




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.