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 - Unicode characters from VFP9
  FAQ FAQ  Forum Search   Register Register  Login Login

Unicode characters from VFP9

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


Joined: 25 Feb 16
Location: Czech Republic
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Cerceris Quote  Post ReplyReply Direct Link To This Post Topic: Unicode characters from VFP9
    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



Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 25 Feb 16 at 10:35PM
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

Back to Top
Cerceris View Drop Down
Beginner
Beginner


Joined: 25 Feb 16
Location: Czech Republic
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Cerceris Quote  Post ReplyReply Direct Link To This Post Posted: 26 Feb 16 at 6:47AM
I tried, but again unsuccessfully.
I will use your advice with two small images.

Thank you for the quick reply,

Cerceris
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