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 #101 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: Alan Third <alan <at> idiocy.org>, 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: Mon, 14 Oct 2019 16:59:58 -0300
Ok, while working on this I bumped into a new problem and I'm stuck again.

In order to scale things "upstream" I need the scaling factor, but the
functions that compute the scaling factor are static functions defined
"downstream" in each backend: x_get_scale_factor in w32term.c, in
xterm.c. Or, in other places, some code that is conditional to GTK
simply calls xg_get_scale.

Do you know of any backend-agnostic way to get the scaling factor for
a frame? I don't want to replicate complex backend dependant code in
fringe.c.




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

Previous Next


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