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. Copy the bulleted text from word document into any source system. Example: Used here is description field of Investment object
    •	CME for.TP.site
    •	NMS Power Integration for existing sites
    
  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

 https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=vnJkDD9EccK6MX2Qot5Hdw==

Environment

Clarity 16.1 and Jaspersoft 7.8

Cause

Special characters from the source word document 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.

 

Attachments

1672638058187__Report_text_source.docx get_app