Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Object Pascal Programming Language
  • Page:
  • 1

TOPIC:

Character encoding TfrTNPDFExportFilter TlrCairoExportFilter 4 years 5 months ago #14020

  • Peter
  • Peter's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Hello Gurus,

My first Question is:
How can I get this Cairo going?
One problem is that the package does not install. I can select it to be installed but even after rebuild the IDE
it is sill not installed.

frReport1.ExportTo(TlrCairoExportFilter ,'./invoice\'+inv_no+'.pdf'); fails


My second question is :
frReport1.ExportTo(TfrTNPDFExportFilter,'./invoice\'+inv_no+'.pdf'); ok but ..

This one is doing the job, but i have an character encoding problem. The special characters in the German language show up
as gabble in the generated PDF. The preview of the report generated are alright. Any ideas how to fix that ?
I am using codetyphon 6.7 on Win10

Thanks
Peter

Please Log in or Create an account to join the conversation.

Character encoding TfrTNPDFExportFilter TlrCairoExportFilter 4 years 5 months ago #14021

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Please Sir
try and CT 6.9
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Character encoding TfrTNPDFExportFilter TlrCairoExportFilter 4 years 5 months ago #14024

  • Peter
  • Peter's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Dear Sternas Stefanos,
Thank you for your reply. I have installed 6.9 , but still the special character problem on PDFs .
Thank you for your help.

Please Log in or Create an account to join the conversation.

Character encoding TfrTNPDFExportFilter TlrCairoExportFilter 4 years 4 months ago #14177

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Visitor
  • Visitor
if frAuftrag.ExportTo(TlrCairoExportFilter, 'print.pdf') then ...

That works for me and solved all problems with german umlauts

Please Log in or Create an account to join the conversation.

Last edit: by Klaus Riesterer.
  • Page:
  • 1