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!
Right-align form field text gets overflowed |
Post Reply |
Author | |
sugi
Beginner Joined: 09 Feb 20 Location: Japan Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 10 Feb 20 at 2:25AM |
Hi, I'm using DebenuPDFLibrary64AX1711 on Windows 10. My PDF file has a form field with a right-aligned text, and its font is Meiryo. 1. Setting new text(like "abcdefg") to the form field by SetFormFieldValue method. 2. Updating appearance and flattening the form field by UpdateAndFlattenFormField method. 3. Then I get flatten text with unexpected position! I expected that the right side of the flatten text fits to the right side of the existed form field. But the flatten text gets overflowed and a part of it gets disappeared. How can I fix it? Thank you. |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Sugi, internally supported are only less fonts and these fonts all are readable from western world. https://www.debenu.com/docs/pdf_library_reference/AddStandardFont.php Using different fonts (like Meiryo) will activate to search a similar internal font treating the new font the same way. This can result to the described issue. Make a test with "Meiryo UI". It should match better. For good quality it's better to add the truetypefontfile to the pdf, select the font... and then draw with it: https://www.debenu.com/docs/pdf_library_reference/Fonts.php Here you can read about how to add a CJK-font (should be interesting for you): https://www.debenu.com/docs/pdf_library_developer_guide/foxit_quick_pdf_library_15_developer_guide.pdf Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
sugi
Beginner Joined: 09 Feb 20 Location: Japan Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hi Ingo,
Thank you for your attentive reply. I understand deeply. Thank you so much.
|
|
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