emacs-devel
[Top][All Lists]
Advanced

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

Re: "Fix" sag scaling for hidpi


From: Stefan Monnier
Subject: Re: "Fix" sag scaling for hidpi
Date: Thu, 04 Feb 2021 17:07:11 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> 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.


        Stefan




reply via email to

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