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

Korean Language Output #10

Open
kjrstory opened this issue Sep 5, 2022 · 2 comments
Open

Korean Language Output #10

kjrstory opened this issue Sep 5, 2022 · 2 comments

Comments

@kjrstory
Copy link

kjrstory commented Sep 5, 2022

I am a South Korean user. The application I use has Korean output.
In asciinema, it is displayed normally as follows.
image
However, when converting this to gif using, it is not output normally as shown below.
han
Is there anyone who can solve it?

@ku1ik
Copy link
Contributor

ku1ik commented Sep 5, 2022

From what I see all the symbols are rendered correctly but they're overlapping, there's not enough room between them. This is due to lack of support for double-width text characters. In the web player this is handled by web browser's rendering engine, while here we'd need to implement detection of such double-width chars and adjust their placement accordingly.

@tats-u
Copy link

tats-u commented Aug 17, 2024

You may want to use the unicode-width crate to get fine rendering result.
While you don't want to analyze the designated fonts directly, I think this way is the best.

https://crates.io/crates/unicode-width

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

3 participants