Skip to content

[FEATURE] Better image scaling with SVG (on Wayland) #761

@davidheiss

Description

@davidheiss

Description of the requested feature

As for now, when I use the image widget with an SVG and an integer scaling on Wayland of 2, they appear blurry. That's probably the case because the Scalable vector graphic is scaled up the same way as any other raster-based image (JPEG, PNG, etc.). The feature I had in mind is to implement a scaling method for any vector-based image without loosing on quality.

Proposed configuration syntax

It could automatically be detected or explicit stated.

(image :path "icon.svg" :vector true)

Additional context

I use Hyprland with Wayland and an integer scaling of 2 on a 2880×1440 monitor with HiDPI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions