Posted 17 June 2024, 9:34 am EST
Problem:
Text truncated from right when a report is exported to PDF format.
PDF document generated by Active Reports truncates some text.
The problem occurs when the control contains a longer string of characters without spaces, so that the text is split into two or more lines.
I attached sample testing application ARExport2PDF that creates AR report which consists of 3 controls with the same text, but different width. On the preview the text is displayed correctly, but on exported PDF report we see that for first and second control text extends beyond the control area and for the third control (this is the worst behavior) text is truncated.
I have tested it in AR11 and AR15 with the same results.
See attached screenshots.
Attachments:
- TEXT_CUTTING.rtf – input file with sample text
- TEXT_CUTTING.pdf – output file - report exported to PDF (here is the problem)
- ARExport2PDF.png – screenshot: report on preview vs report in pdf
- ARExport2PDF.7z – source code of test application