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!
Unicode characters from VFP9 |
Post Reply |
Author | |
Cerceris
Beginner Joined: 25 Feb 16 Location: Czech Republic Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 25 Feb 16 at 10:48AM |
I use Debenu Quick PDF Library 11.11 with Visual Foxpro 9.
I do not have the option to send directly to PDF Unicode characters. Iwant to see DrawHtmlText. Ineed to show ♀ and ♂. I used QP.NewDocument() QP.SetPageSize("A4") QP.SetOrigin(1) FontID1 = QP.AddTrueTypeFont("Times New Roman", 1) QP.SetHTMLNormalFont("Default", FontID1) QP.DrawHTMLText(20, 20, 150, "#2640 #2642") Displays "#2640 #2642” and not ♀ ♂
Is there any possibility to succeed? Thanks |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Cerceris;
i don't have experiences with DrawHTMLText but i know that your string doesn't contain the correct value for the male- and female-symbol in html-code. The correct html-code in this case is: for female: ♀ and for male: ♂ The bad thing is that DrawHTMLText supports only a subset of mainly style tags and not symbols. In your case (IDE without unicode support and there#s only need to get two signs) i would create two small images using them instead of real characters. Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
Cerceris
Beginner Joined: 25 Feb 16 Location: Czech Republic Status: Offline Points: 3 |
Post Options
Thanks(0)
|
I tried, but again unsuccessfully.
I will use your advice with two small images. Thank you for the quick reply, Cerceris |
|
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