Inconsistent Line Break Between PDF and HTML Outputs¶
When a user adds a font extension, runs the report and exports it to PDF, at times it is observed that the PDF and HTML outputs don't display text with the same line breaks.
To ensure consistent text display in PDF exports and HTML report preview, it's recommended to use font extensions for all text. This is because the system assumes the same font is available during both report generation and PDF creation.
Inconsistent Line Break Between PDF and HTML Outputs |
||
|---|---|---|
Configuration File |
||
|
||
Property |
Description |
|
net.sf.jasperreports.export.pdf.use.saved.line.breaks |
Use the line breaks computed during report generation. Set the value to |
|