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

incorrect Chinese alignment #53

Closed
YiZhangCUG opened this issue Dec 17, 2018 · 3 comments
Closed

incorrect Chinese alignment #53

YiZhangCUG opened this issue Dec 17, 2018 · 3 comments

Comments

@YiZhangCUG
Copy link

If the input has Chinese words, the alignment is not right. Looks like this:
//
/
This is a test string. 这是一个测试段落 /
/
/

@tsjensen
Copy link
Member

Yup, boxes is still on single-byte character sets.

This is actually our most requested feature, but also a lot of work to change.

I'm closing this in favor of #1 and #49, which mostly describe the problem in detail.

@tsjensen
Copy link
Member

Actually, looking at your example, I noticed that you use a proportional font.
This is unlikely to work with boxes, which assumes a monospace font (like Courier or Consolas). You'd still need a monospace font, even if the MBCS support was implemented.

@tsjensen
Copy link
Member

FYI, #1 was implemented (finally!). It will take some time to update the distribution packages, but starting with v2.0.0, this will work. 😊

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

No branches or pull requests

2 participants