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

From: Juri Linkov <juri <at> linkov.net>
To: Carlos Pita <carlosjosepita <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.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: Sun, 20 Oct 2019 21:52:32 +0300
>> I guess it should be possible to do the same to provide x2 scaled bitmaps:
>>
>>   (define-fringe-bitmap 'light-down-arrow [32 32 32 32 32 32 168 112 32] nil nil 'bottom)
>
> This is indeed a cool workaround if you can override the builtin
> bitmaps.

Actually, this doesn't override the builtin bitmaps.
The name of the builtin bitmap is 'down-arrow',
but this defines a new bitmap 'light-down-arrow'.
You can use any name you want, e.g. 'down-arrow-2x'.

> But anyway it won't address the problem of having different
> frames with different dpis nor the need to expose a "scale factor api"
> to fix not only this but other hidpi-related issues.

Maybe the value of 'fringe-indicator-alist' should be frame-local?
Then depending on the exposed scale-factor, each frame could use
own set of bitmaps defined by frame-local 'fringe-indicator-alist'.

>> Funnily enough, the current fringe bitmaps are too big for me,
>
> Too big as in "twice as big as expected" or in "too big for my taste"?

I use a small 10px font, so the customized bitmaps fit the font size.
So maybe fridge bitmap size should depend on the font size, not scale?




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.