Justified TextField not justified in PDF generated with Jasper report
search cancel

Justified TextField not justified in PDF generated with Jasper report

book

Article ID: 257014

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Justified TextField not properly justified in PDF generated with Jasper report.

Steps to replicate:

  1. Write down two lines of bulleted text that has special characters in it
  2. Create a studio report with “justified” text aligned field for the above

Preview report via Jaspersoft studio 7.9
Export report to PDF via Jaspersoft studio
 

Expected result:

The PDF export of the bulleted text as per how it appeared in studio preview

Actual result:

The PDF export shows overlapped text

 

Environment

Clarity 16.1 and Jaspersoft 7.8

Cause

Special characters breaking the bulleted text in PDF export

Resolution

Tibco recommends workaround to use left, right or center formatting in the report as an alternate to justified, OR  to manually adjust the spacial characters, i.e. For example: Notepad ++ >> View setting show symbols> show all characters removing tab character key fallowed by spaces.