[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Fix" sag scaling for hidpi
From: |
Yuan Fu |
Subject: |
Re: "Fix" sag scaling for hidpi |
Date: |
Thu, 4 Feb 2021 18:10:15 -0500 |
> On Feb 4, 2021, at 5:07 PM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>
>> And Emacs will display a crisp 100x100 image in the buffer. However, this
>> doesn’t work for sag images. If I do
>>
>> (progn
>> (require 'svg)
>> (let ((svg (svg-create 200 200)))
>> (svg-text svg "test"
>> :font-size 100
>> :y 150)
>> (insert-image (svg-image svg :scale 0.5))))
>>
>> The image is still blurry:
>
> I think it's a bug, and that even
>
> (progn
> (require 'svg)
> (let ((svg (svg-create 100 100)))
> (svg-text svg "test"
> :font-size 100
> :y 150)
> (insert-image (svg-image svg :scale 1.0))))
>
> should insert a crisp image.
Sorry, I should be more specific. This blurry problem only occurs on nsterm
with hidpi screens. (That’s because cocoa reports logical pixel sizes instead
of physical ones.)
Yuan
- "Fix" sag scaling for hidpi, Yuan Fu, 2021/02/04
- Re: "Fix" sag scaling for hidpi, Stefan Monnier, 2021/02/04
- Re: "Fix" sag scaling for hidpi,
Yuan Fu <=
- Re: "Fix" sag scaling for hidpi, Lars Ingebrigtsen, 2021/02/05
- Re: "Fix" sag scaling for hidpi, Robert Pluim, 2021/02/05
- Re: "Fix" sag scaling for hidpi, Lars Ingebrigtsen, 2021/02/06
- Re: "Fix" sag scaling for hidpi, Eli Zaretskii, 2021/02/06
- Re: "Fix" sag scaling for hidpi, Lars Ingebrigtsen, 2021/02/06
- Re: "Fix" sag scaling for hidpi, Eli Zaretskii, 2021/02/06
- Re: "Fix" sag scaling for hidpi, Lars Ingebrigtsen, 2021/02/07
- Re: "Fix" sag scaling for hidpi, Robert Pluim, 2021/02/07
- Re: "Fix" sag scaling for hidpi, Alan Third, 2021/02/09
- Re: "Fix" sag scaling for hidpi, Lars Ingebrigtsen, 2021/02/10