I’m running a Wayland-only Plasma setup on Nixpkgs unstable, and all has been working well for the past few months, until suddenly I started getting really strange font rendering issues on electron-based applications. Here’s a good view of the type of thing I’m seeing (notice the uneven rendering on the “TIMELINE” and “OUTLINE” accordions):
My font config adds font packages, but doesn’t attempt to force any settings. I do use NIXOS_OZONE_WL = "1" and ELECTRON_OZONE_PLATFORM_HINT = "wayland"; to force wayland on all Chrome and Electron instances. My Plasma config does use hidpi scaling on some diplays, but I get the same results on all displays, regardless of hidpi. Changing the anti-aliasing settings in the Plasma config doesn’t seem to have any effect one way or another on this particular issue.
Same problem here running Hyprland on NixOS. I also tried a bunch of different things like changing fonts and settings. My monitor is 4k 60hz from lg. This problem only occurs in PHP storm and nowhere else. If I terminal besides it with the same font it works just fine.