What is Nostr?
Ivan Molodetskikh /
npub133e…7xns
2024-06-17 11:42:12
in reply to nevent1q…9uw3

Ivan Molodetskikh on Nostr: Over the past few weeks I've been working on fractional scaling for niri. A simple ...

Over the past few weeks I've been working on fractional scaling for niri. A simple implementation took about a day, but to do it *properly* I had to refactor the entire layout code to work in floating-point.

The result is well worth it though. Borders, gaps and windows are always physical-pixel aligned, and not restricted to integer logical pixel positions. There's no blur or position-dependent +-1 px jank. Fractional-scale-aware clients remain crisp at any scale.

#niri #smithay

Author Public Key
npub133ep4ushk498rheah8lm9u90u5awavlhy8h6rpfmtn74jycryu9qvm7xns