Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Exported PDF font size reduced for reports post upgrade

SA-71250

Summary



On exporting a report to PDF, the font size is reduced and text does not wrap in the PDF. This occurs after upgrading PRPC 6.3 to Pega 7.4.


Error Messages



Not Applicable


Steps to Reproduce



Configure a report in Pega 7.4.
  1. Launch the Case Manager portal.
  2. Navigate to the My Reports tab.
  3. Select any report from any category.
  4. Open the chart and click drilldown for reports.
  5. On the drilldown results from the Actions tab, select Export to PDF.


Root Cause



During PDF generation, the font size was reduced such that all the repeat grid columns displayed in a single line. The PDF report font size depended on the number of columns that in the report. 

For more information, refer to: https://community.pega.com/support/support-articles/htmltopdf-font-size-becomes-smaller-generated-pdf



Resolution



Perform the following local-change:

To wrap the column content, perform the below steps.
  1. Navigate to UseCompactStylesforPDF Dynamic System Setting (DSS) and set the value as True.
  2. Navigate to pyCompactStylesforPDF CSS text file and add the below line,

                    td.gridCell
                                       word-wrap:break-word!important;
                                       white-space:normal!important;
                                   }

  3. Navigate to the drilldown report for which the changes must be applied.
  4. Navigate to the Data Access tab in that report.
  5. Check the 'Ignore application skin for PDF' checkbox. 

Published March 1, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us