emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display scaling?


From: Po Lu
Subject: Re: Display scaling?
Date: Tue, 01 Feb 2022 09:05:39 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:

> I rather think it makes sense to make it opt-out: we should strive for
> consistent looks of fringes between ports, HiDPI included.

I tend to agree.

> Or to make it opt-in for all ports (NS and PGTK included), and then
> decide on the default based on the collective user feedback.

That interferes with GTK and NS's own device scaling, which this feature
is trying to replicate.

> Regarding fringes, I was going to suggest providing different scaled
> versions of bitmaps (which was already mentioned in this thread) --
> having even two versions, 1x and 2x, should cover a lot of users --
> but it seems like a half-measure that requires extra work from the
> bitmap authors.
>
> Before going to vector formats, could we try tweaking the scaling
> algorithm first? E.g. when the scaling is 2x (which seems popular
> enough), the bitmap could be "zoomed up" without any fuzziness.

There wouldn't be any fuzziness on HiDPI displays, since it would look
identical to such a bitmap on a normal display.

> It could also be made customizable.

Indeed.

> Or if we were trying to pick an algorithm which can be found in some
> library, perhaps choose from one of these?
> https://en.wikipedia.org/wiki/Pixel-art_scaling_algorithms
>
> Starting with "nearest neighbor". I'm curious how it would look on the
> built-in bitmaps.

I'll give that a try some time.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]