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';

  Save_to_Pdf := (repname+'\'+Cb2.text+FormatDateTime('ddMMYYHHmm',now)+'.pdf');
  QuickRep3.Preview;  // or Print
  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.
khaled salemSoftware DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

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


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

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
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

From novice to tech pro — start learning today.