Link to home
Start Free TrialLog in
Avatar of khaled salem
khaled salemFlag for United States of America

asked on

Delphi 2010 Export to pdf

Hi all:
i wrote code to convert Quick report to pdf. its working perfect except on issue.
//  QuickRep3.Font.Charset:=178;
//  QuickRep3.Font.Name := 'Tahoma';

  Quickrep3.prepare;
  Save_to_Pdf := (repname+'\'+Cb2.text+FormatDateTime('ddMMYYHHmm',now)+'.pdf');
  QuickRep3.ExportToFilter(TQRPDFDocumentFilter.Create(Save_to_Pdf));
  QuickRep3.Preview;  // or Print
  QuickRep3.QRPrinter.Free;
  QuickRep3.QRPrinter := nil;

Open in new window


the arabic language appear like garbage like question mark (??????? ) as shown in attached image. i am tired to change the font quickrep but the issue is exist.
samir.png
ASKER CERTIFIED SOLUTION
Avatar of aikimark
aikimark
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you don't have that font on the pc you are printing with

if you want to print something, in a certain font, then minimally you need that specific font