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
khaled salemSoftware DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aikimarkCommented:
You are probably going to need a software change, either a Delphi version bump or QR change.

From http://www.quickreport.co.uk/ProductInfo.aspx

QuickReport and Unicode
Programmers working in RAD studio 6 or 7 have a default unicode string type, so code written using these IDEs can be made unicode compatible. QR5042 has been adapted to take advantage of this and reports with unicode are supported. In earlier versions of Delphi and C++Builder, QR502 has two extra controls that support the wide character format, which can store UTF-16. The PDF functionality in Quickreport Pro does not use Unicode. We recommend developers needing this to purchase additional software from Gnostice
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Geert GOracle dbaCommented:
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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.