[#13971] - Chinese characters truncating

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

Chinese characters are getting truncated on OpenJDK_1.8.0_191. On Analysis it was found that

In Oracle JDK environment - reports are generating correctly.

In Open JDK environment we suspect below differences.

net.sf.jasperreports.engine.fill.TextMeasurer.java - LineBreakMeasurer.getPosition() is returning incorrect values.
renderParagraph While lineMeasurer.getPosition() : 41 -- Working env
renderParagraph While lineMeasurer.getPosition() : 68 -- non working env

AttachmentSize
Image icon chinese_character_issue.png364.74 KB
v3.0.0
jasper library
ramanagoud_biradar's picture
Joined: Jan 12 2022 - 11:15pm
Last seen: 1 week 6 days ago
Feedback