hyprcursor icon indicating copy to clipboard operation
hyprcursor copied to clipboard

Cursor is blurry for smaller sizes when using svgs. And blurry for big sizes when scaling with pngs.

Open JonathanSteininger opened this issue 7 months ago • 6 comments

A recent issue about blurry cursors when compared to the xcursor counterpart has come up in catppucin-cursors.

Issue

The issue revolves around using svgs for the hyprcursor. Setting a small cursor sizes below 30 pixels causes the cursor to become blurry compared to the xcursor counterpart.

A way to address it is to use the xcursor pngs for the hyprcursor. However, this will cause any large or non regular xcursor scales to become blurry.

So we are stuck at a roadblock.

  • Use svgs and have small cursors become blurry. or
  • Use pngs and have large and non standard sizes become blurry.

Possible solutions.

  1. We could allow for both options to be built. But this seems counter intuitive for what hyprcursor is meant to achieve.
  2. Allow for small sized pngs to be used in conjunction with svgs. Where it would use the png version when the cursor size reaches a certain threshold.
  3. Allow multiple svgs to be used for the hyprcursor and have size thresholds assigned to each of them.

Dislaimer

I am not sure if some of these are in place already. I could not find it in the documentation.

JonathanSteininger avatar Jul 21 '24 08:07 JonathanSteininger