Recent

Author Topic: Problem with TlrPdfExportFilter  (Read 990 times)

ginoo

  • Jr. Member
  • **
  • Posts: 78
Problem with TlrPdfExportFilter
« on: August 08, 2024, 11:31:22 am »
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

  • Hero Member
  • *****
  • Posts: 1188
Re: Problem with TlrPdfExportFilter
« Reply #1 on: August 08, 2024, 02:47:03 pm »
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
Best regards / Pozdrawiam
paweld

ginoo

  • Jr. Member
  • **
  • Posts: 78
Re: Problem with TlrPdfExportFilter
« Reply #2 on: August 09, 2024, 11:08:25 am »
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

  • Hero Member
  • *****
  • Posts: 1188
Re: Problem with TlrPdfExportFilter
« Reply #3 on: August 09, 2024, 11:14:51 am »
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.
« Last Edit: August 09, 2024, 11:17:14 am by paweld »
Best regards / Pozdrawiam
paweld

ginoo

  • Jr. Member
  • **
  • Posts: 78
Re: Problem with TlrPdfExportFilter
« Reply #4 on: August 09, 2024, 11:54:53 am »
Other small problem, does not go correctly dashed borders with frames and framesstyle. I attach image with TfrTNPDFExportFilter and with TlrPdfExportFilter

paweld

  • Hero Member
  • *****
  • Posts: 1188
Best regards / Pozdrawiam
paweld

 

TinyPortal © 2005-2018