Forum > LazReport

Problem with TlrPdfExportFilter

(1/2) > >>

ginoo:
I have a problem with TlrPdfExportFilter, I have a report with memo with blue background, as you can see from the attached examples, with TfrTNPDFExportFilter the blue background is shown, while with TlrPdfExportFilter it is not.
Can this be solved?

paweld:
There is a problem in the export filter. I fixed the error and reported for developers. You can apply a fix to the lr_e_fclpdf.pas file on your own and rebuild the component - you can find the fix here: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/41061

ginoo:
With the patch it works. Now I'm going to try it with all the prints I have. What do you think are the advantages of using TlrPdfExportFilter instead of TfrTNPDFExportFilter?

paweld:
For me, these are the following advantages:
- native - does not require additional components (TfrTNPDFExportFilter requires PowerPDF component) or libraries (TlrCairoExport requires additional libraries to be able to export to PDF)
- supports all characters without any problems - last time I checked, PowerPDF had problems with diacritical characters of other code pages than cp1252 (my native language is Polish, so after export the reports were not complete)

PS. The fix has been added to Lazarus, so in the trunk version the problem is already solved.

ginoo:
Other small problem, does not go correctly dashed borders with frames and framesstyle. I attach image with TfrTNPDFExportFilter and with TlrPdfExportFilter

Navigation

[0] Message Index

[#] Next page

Go to full version