# Fix pixelated custom cursors on Retina and high-DPI screens · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/3b238019059976a12383b87baceeb14ad213eb80)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 3b238019059976a12383b87baceeb14ad213eb80

Requested commit: 3b238019059976a12383b87baceeb14ad213eb80

Commit: 3b238019059976a12383b87baceeb14ad213eb80

Tree: 664bc7ca09f25277fcdc4d77780498846b92bca1

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Fix pixelated custom cursors on Retina and high-DPI screens

Vendor custom_mouse_cursor 1.1.3 with two patches (upstream is dormant):
- macOS: render at the real devicePixelRatio and set the NSImage point
  size in the plugin, instead of upstream's hardcoded 1.0-DPR clamp
  that shipped blurry cursors on every Retina display.
- All platforms: rasterize icon glyphs at 4x and downscale with
  high-quality filtering so tiny cursor bitmaps get smooth edges.

```

## Parents

- [07c8cb7bda9df66e68f4c1decbcc0c18afcb2df5](https://git.cafe/dara/icarus/commit/07c8cb7bda9df66e68f4c1decbcc0c18afcb2df5?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/3b238019059976a12383b87baceeb14ad213eb80?format=markdown)
