Avatar of khaled salem
khaled salem
Flag 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
DelphiFonts TypographyAdobe Acrobat

Avatar of undefined
Last Comment
Geert G

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
aikimark

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Geert G

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
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes