-
Notifications
You must be signed in to change notification settings - Fork 67
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
rastertocpi does not handle chinese text properly #16
Comments
Okay, it may not be a problem of rastertocpi; its input is already truncated, it seems like. From debug info of rastertocpi:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems like that the width of Chinese text is not calculated correctly when printing.
For example, try this:
echo 我能吞下玻璃而不伤身体敏捷的棕色狐狸跨过懒狗 | lp
The first line in the output has text “我能吞下玻璃而不伤身”. Only left half of the last character is printed.
The second line has text “跨过懒狗”。
We can see that some text (“体敏捷的棕色狐狸”) is missing.
In general, it seems like that more Chinese characters than what can be printed are assigned to each line.
The text was updated successfully, but these errors were encountered: