Print Page | Close Window

form fields and Hebrew

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=463
Printed Date: 26 Nov 24 at 5:02AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: form fields and Hebrew
Posted By: almog
Subject: form fields and Hebrew
Date Posted: 13 Jul 06 at 1:31AM

I need to add form fields to Pdf document and set the language

of the selected form field for setting hebrew characters inside .

i have done that but i see garbage like the font i use is the wrong one .

The Code :

  Font4 := QuickPDF1.AddSubsettedFont('Arial',10,all_heb_letters);
  Font3 := QuickPDF1.AddTrueTypeFont('Arial', 1);
  Done  := QuickPDF1.AddFormFont(Font4);
  Done  := QuickPDF1.AddFormFont(Font3);

  QuickPDF1.SetFormFieldFont(1,1);
  QuickPDF1.SetFormFieldValue(1, hebstr );

  QuickPDF1.SetFormFieldFont(2,2);
  QuickPDF1.SetFormFieldValue(2,hebstr );

when i insert hebrew letters i will see garbage

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk