Files
ghostty/src
Thorsten Ball ead997b5ec Fix blurry fonts by flooring padding of surface
This fixes #99 for me.

Without this fix I end up with paddings of `3.333333` because my DPI is
`125.0` on Linux. If I set it to `144.0` manually so that the `/ 72`
gives me a clean `2.0`, the blurry fonts are gone.

I do think the calculation here is correct (even though I'm not sure
whether we should use 72? Why not 96? Or another system value?), so
let's use `std.math.floor` to get us to a "clean" padding of `3.0`.

That also solves blurry fonts for me.
2023-07-18 07:02:33 +02:00
..
2023-03-24 19:39:50 -07:00
2023-07-09 12:28:48 -07:00
2023-07-06 17:46:54 -07:00
2023-02-24 07:58:29 -08:00
2023-06-30 12:15:31 -07:00
2023-07-06 17:56:19 -07:00
2023-07-10 16:48:22 -07:00
2023-06-30 12:15:31 -07:00
2022-09-12 11:28:47 -07:00
2023-07-10 16:48:22 -07:00
2022-08-18 11:42:32 -07:00
2023-06-30 12:15:31 -07:00
2022-04-26 16:18:34 -07:00