Insert_textbox incorrectly splits English words in CJK-mixed text #4972
Unanswered
yinghao-xue
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
You did not share any code. So I do not know which font you were using. What your post looks like to me, it seems that the Chinese text part does not contain spaces. The algorithm uses the standard space character |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using Page.insert_textbox()to insert mixed Chinese and English text
“Van Dyke等人进行的一项回顾性病例系列研究强调了三份独立病例中Elevess引起的严重急性局部反应和结节性无菌性脓肿的形成。”
the automatic line-breaking logic treats English as words and CJK as characters. This causes premature line breaks after English words. It looks like this:
Van Dyke
等人进行的一项回顾性病例系列研究强调了三份独立病
例中 Elevess
引起的严重急性局部反应和结节性无菌性脓肿的形成。
we tried add or remove space between Chinese and English characters, but none looks normal. How can we achieve proper line breaking?
Beta Was this translation helpful? Give feedback.
All reactions