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!
Text Form Field - Error displaying text in hebrew |
Post Reply |
Author | |
shlomir
Beginner Joined: 17 Jan 17 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 17 Jan 17 at 12:35PM |
Hi,
I created text field form using debenu, the entered text should be in hebrew or in english. the problem is that the created field is displaying the entered text only in english, meaning that if I enter text in hebrew and focus on sometihng else inside the document (other field for example) - it doesn't display the text. If I click again on the field it shows the entered text. I created another field using acrobat reader pro with the same settings - and it does display the text correctly: https://www.dropbox.com/s/i7hkaiqckhcu7up/pdf.pdf?dl=0 the code for the field: pdflib.SelectPage(sigPosition.Page); pdflib.SetOrigin(1); pdflib.SetNeedAppearances(1); sigIndex = pdflib.NewFormField(sigPosition.Name, sigPosition.Type); pdflib.SetFormFieldAlignment(sigIndex,2); pdflib.SaveToFile(tmpFileName); Thanks in advance Shlomi
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Shlomir,
the actual QuickPDF-library deals with unicode. If your programming language deals with unicode there shouldn't be a problem. A problem can be the selected font for your text: Not all fonts supports unicode. Additionally you can try the "advanced search" option (top, right here on the page) with "hebrew" or "arabic" in the message body. Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
shlomir
Beginner Joined: 17 Jan 17 Status: Offline Points: 6 |
Post Options
Thanks(0)
|
Thank you for your answer!
I'm using C# .net 4.6.1 - and it supports unicode. Well the thing is that the field is showing correctly if the field contains only a single letter (Hebrew letter) Two letters and more and it doesn't display the text at all (not dots or anything) In english it works just fine. I tried changing the font to the one I used in Acrobat reader Pro - no success. Any Ideas? Shlomi.
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Shlomir,
here a few links to dig deeper: http://www.debenu.com/kb/appearance-streams-pdf-form-fields/ http://www.debenu.com/kb/create-pdf-form-fields-programmatically/ http://www.quickpdf.org/forum/new-user-vb6-with-quickpdf_topic1793.html Please read in the developer guide starting at page 34: http://www.debenu.com/docs/pdf_library_developer_guide/foxit_quick_pdf_library_13_developer_guide.pdf Perhaps your problem have to do with the "right alignment"? Try "left". Perhaps your problem has to do with the missing "SetFormFieldBounds"? How long is your formfield? |
|
Cheers,
Ingo |
|
shlomir
Beginner Joined: 17 Jan 17 Status: Offline Points: 6 |
Post Options
Thanks(0)
|
Thank you very much!!
Thanks again, Shlomi |
|
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