emacs-devel
[Top][All Lists]
Advanced

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

Re: What is the proper way to scale fringe-bitmaps for high-DPI displays


From: Eli Zaretskii
Subject: Re: What is the proper way to scale fringe-bitmaps for high-DPI displays?
Date: Thu, 21 Mar 2019 16:32:21 +0200

> From: Yuri Khan <address@hidden>
> Date: Thu, 21 Mar 2019 20:33:33 +0700
> Cc: Eli Zaretskii <address@hidden>, Clément Pit-Claudel <address@hidden>, 
>       emacs-devel <address@hidden>
> 
> * Migrate everything to SVG. Teach developers SVG is good, bitmaps are
> bad. Package developer provides a single vector image. Failure mode:
> developer is on a high DPI screen, makes a high-detail image, low DPI
> users complain “image is blurry”.

The failure mode that bothers me much more is that Emacs without SVG
support will be unable to show the standard fringe indicators.

In general, having the basic Emacs functionality depend on image
libraries is a non-starter, IMO.

> * Keep bitmaps and upscale them for high DPI. Package developer
> provides a single bitmap image. Failure mode 1: Nearest neighbor
> upscaling looks ugly at non-integer factors. Failure mode 2: all other
> upscaling algorithms look ugly pretty much always.

Is this worse than the current situation?

> * Keep bitmaps and downscale them for low DPI. Package developer
> provides a single, fairly large bitmap image. Failure mode: small
> details get lost on low resolutions, image looks blurry.

Is this worse than the current situation?

> * Migrate to multi-resolution bitmaps. Package developer has to
> provide multiple bitmaps. Failure mode 1: Nobody knows what sizes they
> need. Failure mode 2: Some will only include one for the low DPI. This
> can be combined with up/downscaling, trading the corresponding failure
> modes around.

Is this worse than the current situation?



reply via email to

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