Repository navigation
Blurry font in Linux fractional scaling #15077
What do you want to change?I would like to fix the blurry rendering that happens at fractional scaling, see #13911. I was able to reproduce the issue, and test the fix that is mentioned in this comment #13911 (reply in thread). Inside of if (flip) {
snap.translate(&.{ .f_x = 0, .f_y = css_h });
snap.scale(1, -1); // <- flips the coordinate system, and negates the y axis
// misses inverting of origin.y, we should add for example: origin.y = -origin.y;
}
snap.appendTexture(texture, &.{
.f_origin = .{ .f_x = @floatCast(origin.x), .f_y = @floatCast(origin.y) },
.f_size = .{ .f_width = css_w, .f_height = css_h },
}); // renders half a pixel off, and text ends up being blurry Why do you want to make this change?I use ghostty every day, and I would get very bothered if the text is blurry! :) I acknowledge that:
|
Answered by
jcollie
Nov 11, 2026
Replies: 2 comments 1 reply
|
My understanding is that this would be caused by OpenGL having opposite Y direction to GTK. I wonder if this can also be fixed on the shader/render path instead |
1 reply
|
!vouch |
0 replies
Answer selected by
jcollie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
!vouch