I prototyped GtkTextView using double-precision for internal coordinates so I could make it scroll on logical half-pixels (physical pixels at 2x scaling) in response to touchpad input. Makes GTK's already smooth scrolling of text feel even better!
https://blogs.gnome.org/chergert/2023/02/08/smoother-scrolling-of-text-views/