Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Hebrew letters |
Post Reply ![]() |
Author | |
SorinH ![]() Beginner ![]() Joined: 06 Mar 12 Location: Israel Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 06 Mar 12 at 3:47PM |
Hello
I try to evaluate the library with the Delphi XE2 Ver. I've notice that the library can't create a pdf file with hebrew letters. I've seen that this issue was raise in the past but I can't figure where the things stay by now? Thanks Sorin |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
The following code will generate Hebrew text in QPL 8.xx. // Hebrew int fid2 = QP.AddTrueTypeSubsettedFont("Arial MS Unicode", "ABCDEF123456אבגדה", 0); QP.SelectFont(fid2); QP.DrawText(50, 80, "אבגדה ABCDEF123456"); // Russian int fid1 = QP.AddTrueTypeSubsettedFont("Arial MS Unicode", "ФЫВАABCDEF123456", 0); QP.SelectFont(fid1); QP.DrawText(50, 50, "ФЫВА ABCDEF123456"); // Korean int fid3 = QP.AddTrueTypeSubsettedFont("Gulim", "안녕하세요ABCDEF123456", 0); QP.SelectFont(fid3); QP.DrawText(50, 110, "안녕하세요 ABCDEF123456"); NOTE : This forum converts the Hebew charaters to 'x x x ' Replace the 'x x x ' with actual Hebrew characters and they will output correctly. Andrew. Edited by AndrewC - 07 Mar 12 at 3:27AM |
|
![]() |
|
SorinH ![]() Beginner ![]() Joined: 06 Mar 12 Location: Israel Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Thanks Andrew
I try this code on Delphi XE2: uses ComObj; procedure printPdf var QP: Variant; fid2: Integer; begin QP := CreateOleObject('QuickPDFLite0812.PDFLibrary'); fid2 := QP.AddTrueTypeSubsettedFont('Arial MS Unicode', 'ABCDEF123456×בגדה', 0); ..... It raise the error: "Method AddTrueTypeSubsettedFont not supported by automation object" What I'm missing now? Thanks Sorin |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
It is not possible to draw Hebrew characters using the Lite version of the library. The AddTrueTypeSubsettedFont function is only available in the full version or the trial version. Andrew.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store