Skip to content
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

Unicode rendering/CJK input issues #329

Closed
ghost opened this issue May 2, 2022 · 3 comments
Closed

Unicode rendering/CJK input issues #329

ghost opened this issue May 2, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented May 2, 2022

All wide characters get cut off in the top side

pic-selected-220502-1756-25
As you can see, all multibyte characters' tops get cut off, such as emojis or CJK characters. I don't think this is a font related issue, and this isn't related to #223 too, since that already got fixed.

Flags overlap with the country code

pic-selected-220502-1759-51
The country flag emojis somehow overlap with their country code, as shown in the screenshot, and the characters tend to mush together if written side by side.

CJK Input creates a secondary small window

pic-selected-220502-1832-10
This is not that big of an issue, since the input still works correctly. This happens because the input method is using GTK/Qt but st doesn't use any toolkit out there, so the input method basically emulates the multibyte input sequence with a small pre-window(as I like to call it) before the input actually gets registered. I'm pretty sure this problem won't go away unless an incredible amount of bloat is added, so I don't think it deserves a fix. However I'm leaving it up here so people can confirm the issue does exist and it's not only them that's having the issue.

@ghost ghost changed the title Unicode redering/CJK input issues Unicode rendering/CJK input issues May 2, 2022
@ghost
Copy link
Author

ghost commented May 2, 2022

Seems like the characters are not cut off when the font size is very small. Maybe dynamically increasing the height of a single line could be the solution to the first problem.

@askfiy
Copy link

askfiy commented May 30, 2022

Well, won't this problem be fixed? Is there a viable solution?

@LukeSmithxyz
Copy link
Owner

This is a library issue apart from this repo. Have fontconfig or st lessen the size of emojis to compensate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants