-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glyph truncation fix #224
Glyph truncation fix #224
Conversation
you should push this to suckless st. tested your commits on my st build and they are working fine. |
Yeah, I guess it makes sense. I'll contact st devs. Even though, I doubt it will get accepted because this is a pretty rough solution which was written with patches compatibility in mind, so it takes more CPU time than it could have otherwise. A proper implementation would involve a complete refactoring of the drawing part which I'm definitely not up to. I successfully subscribed to |
Great patch! Now, I removed anysize patch so all is good, but just saying :D |
@Dreomite did you get any respond from suckless devs? |
Sorry for not replying to you earlier. Somehow, this message went past me. This problem could be solved by putting rectangle clipping on the drawable terminal area. Using the same method as in reverted db6f796. But instead of per character clipping, call it once to clip the whole terminal area.
Unfortunately, I was not able to contact the devs, because all my emails were automatically rejected. In the end, I unsubscribed from the dev list and called it a day. If someone can bring this [hacky] workaround to their attention, that would be great. I don't have any motivation to do this since I moved to another terminal emulator. |
Glyph truncation fix
Glyph truncation fix
Closes #223
I couldn't find any edge-cases, although some extra testing will never hurt.