GNU bug report logs - #37689
Fringe pixmaps, widgets, etc. look ridiculously tiny in hidpi screen

Previous Next

Package: emacs;

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

Date: Thu, 10 Oct 2019 06:30:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


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

From: Carlos Pita <carlosjosepita <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Robert Pluim <rpluim <at> gmail.com>, 37689 <at> debbugs.gnu.org
Subject: Re: bug#37689: Fringe pixmaps, widgets, etc. look ridiculously tiny
 in hidpi screen
Date: Fri, 11 Oct 2019 00:48:02 -0300
If you accept to recompute the pixmap on-the-fly each time it's demanded, then

fringe.c:
   static struct fringe_bitmap *get_fringe_bitmap_data (int bn)

seems like a good place to do the transformation above.

In order to avoid rescaling it each time, the pixmap structure could
contain an extra field with its scaling factor (initially 1) that is
updated after the first rescaling so that get_fringe_bitmap_data knows
(by comparing this number to the system scaling factor) that it's not
necessary to rescale the pixmap afterwards.




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

Previous Next


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