PDF show question marks for some languages
When I have something in languages like Russian or Chinese, all I get in
the PDF file is question marks. If I preview or print to paper, these languages
look great. It’s only the PDF file that has a problem.
I’m using Delphi XE4 and ReportBuilder 15.05.
Here’s my code:
rptReport.AllowPrintToFile := true;
rptReport.ShowPrintDialog := false;
rptReport.DeviceType := dtPDF;
rptReport.TextFileName := aPath + '\ClientReport.pdf';
rptReport.PDFSettings.Author := sAppName;
rptReport.PDFSettings.Title := sAppName + ' Client Report';
rptReport.PDFSettings.OpenPDFFile := true;
rptReport.Print;
Please Help!! I’m desperate and my client is very frustrated.
Thanks,
Mike
This discussion has been closed.
Comments
In order to export Unicode characters to PDF you need to set the
PDFSettings.FontEncoding to feUnicode.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com