Hello,
I am using the RenderTo function when generating my report, and I noticed that the line breaks for Chinese text produced by RenderTo are different from those produced by normal WordWrap.
The normal WordWrap result is correct, while the RenderTo result has different line-breaking positions.
I have attached an MRT sample file containing two sections for comparison: one using RenderTo and the other using normal WordWrap.
I have also attached a comparison image. Different colors are used to highlight the corresponding text in the two results. For example, the first paragraph generated by RenderTo is highlighted in yellow, and the corresponding text in the normal WordWrap result is also highlighted in yellow. The second paragraph is highlighted in green, the third in blue, and so on. This makes the differences in the line-breaking positions easier to identify.
Could you please help check whether there is an issue with the Chinese text measurement or word-wrapping calculation specifically when using RenderTo?
Thank you.
Different Line Breaks Between RenderTo and WordWrap for Chinese Text
Different Line Breaks Between RenderTo and WordWrap for Chinese Text
- Attachments
-
- RenderTo_Chinese_WordWrap.png (49.37 KiB) Viewed 20 times
-
- RenderTo_Chinese_WordWrap_Test.mrt
- (6.44 KiB) Downloaded 4 times
-
Max Shamanov
- Posts: 1158
- Joined: Tue Sep 07, 2021 10:11 am
Re: Different Line Breaks Between RenderTo and WordWrap for Chinese Text
Hello,
We need some additional time to investigate the issue.
We will let you know about the result as soon as possible.
Thank you.
We need some additional time to investigate the issue.
We will let you know about the result as soon as possible.
Thank you.