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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - add arabic text
  FAQ FAQ  Forum Search   Register Register  Login Login

add arabic text

 Post Reply Post Reply
Author
Message
hany View Drop Down
Beginner
Beginner


Joined: 12 Oct 14
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote hany Quote  Post ReplyReply Direct Link To This Post Topic: add arabic text
    Posted: 12 Oct 14 at 9:22AM
< ="text/" ="" ="/B1D671CF-E532-4481-99AA-19F420D90332etdefender/huidhui.js?0=0&0=0&0=0">(I work with delphi xe2 update4
 Quick PDF Library 11.11)

hi i try to add arabic text (as unicode) but the result not correct the letter not appear correct
here is the code
drawstr := 'يحول الى المسئول عن الاجازات';
fontID2:=PDFLibrary.AddTrueTypeSubsettedFont('Arial MS Unicode',drawstr,0);
PDFLibrary.SelectFont(fontID2);
//substr := PDFLibrary.GetSubsetstring(drawstr);( when i use this the complier told me Undeclared identifier: 'GetSubsetstring')
PDFLibrary.DrawText(100, 650,  drawstr);
// Save the new document to the output folder.
PDFLibrary.SaveToFile('embedded_fonts.pdf');
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store