[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Fix" sag scaling for hidpi
From: |
Alan Third |
Subject: |
Re: "Fix" sag scaling for hidpi |
Date: |
Sun, 14 Feb 2021 09:58:33 +0000 |
On Sun, Feb 14, 2021 at 02:02:52AM +0200, Dmitry Gutov wrote:
> On 14.02.2021 01:14, Alan Third wrote:
> > On Sun, Feb 14, 2021 at 12:50:26AM +0200, Dmitry Gutov wrote:
> > > I noticed the pgtk and the GTK3 builds render them in different size at 2x
> > > scaling. Basically, pgtk scales (and renders them kind of fuzzily) and
> > > GTK3
> > > does not. I wonder if their rendering could be standardized as well, and
> > > whether the same approach could be used to avoid fuzziness.
> >
> > Really I think we should be providing hi-res, or vector, versions of
> > the fringe bitmaps for hi-dpi screens.
> >
> > I'm not sure if we can just swap in SVG files for the fringe bitmaps
> > on systems that support them... Fringe bitmaps are special in some
> > way.
>
> But couldn't we use a non-fuzzy algorithm to scale them, at least as a
> fallback? If the bitmap is all 1s an 0s, scaling by 2x could just double the
> lattice instead of doing the linear scaling.
That depends on the implementation. They don't look fuzzy on NS at 2x
scale. I could probably change some settings so they do, but won't. I
imagine the PGTK port could be tweaked to draw them with a different
scaling algorithm.
--
Alan Third
- Re: "Fix" sag scaling for hidpi, (continued)
- Re: "Fix" sag scaling for hidpi, Yuan Fu, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Lars Ingebrigtsen, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Dmitry Gutov, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Alan Third, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Dmitry Gutov, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Yuan Fu, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Yuan Fu, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Dmitry Gutov, 2021/02/14
- Re: "Fix" sag scaling for hidpi,
Alan Third <=
- Re: "Fix" sag scaling for hidpi, Lars Ingebrigtsen, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Alan Third, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Lars Ingebrigtsen, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Alan Third, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Lars Ingebrigtsen, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Alan Third, 2021/02/13
- Re: "Fix" sag scaling for hidpi, chad, 2021/02/13
- Re: "Fix" sag scaling for hidpi, chad, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Yuan Fu, 2021/02/13
- Re: "Fix" sag scaling for hidpi, Lars Ingebrigtsen, 2021/02/13