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 - Font Character Mapping
  FAQ FAQ  Forum Search   Register Register  Login Login

Font Character Mapping

 Post Reply Post Reply
Author
Message
chandy21 View Drop Down
Team Player
Team Player
Avatar

Joined: 23 Sep 09
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote chandy21 Quote  Post ReplyReply Direct Link To This Post Topic: Font Character Mapping
    Posted: 20 Apr 10 at 3:09AM
Hi all,
    I have a document I would like to add some content to.
    I have selected the Font, but this is a Subsetted Font.

    When I try to do a DrawText(), my characters come out all wrong, as the character mapping for the Font is not matched. For example, the Font has T = p, R = x, Y = s. When I try to DrawText("TRY");, I get "pxs" on the page.

    I have tried QP.GetSubsetString("TRY") after selecting the Font, but it returns "TRY". I am guessing this function works only with subsetted fonts I have added. I haven't added this Font, it was already in the Document.

    If I "GetPageText", I read the correct text, so QuickPDF must know the mapping somewhere.

    How can I get the character codes I wish to use in my DrawText() so that I get the correct characters out??

Thanks in advance,
Ando.
Back to Top
chandy21 View Drop Down
Team Player
Team Player
Avatar

Joined: 23 Sep 09
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote chandy21 Quote  Post ReplyReply Direct Link To This Post Posted: 25 Apr 10 at 1:12PM
Does anyone have any ideas or direction on this?

Anyone know how to find the Character Mapping?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 25 Apr 10 at 2:42PM
Hi!

Have a look in the font section of the online reference.
Some of the Add...-functions...?
Perhaps AddSubsettedFont?

BTW: I think you don't know the search-function above???
Do the time-unlimited search with AddSubsettedFont.
Here are the first results (and there are a lot more):
http://www.quickpdf.org/forum/forum_posts.asp?TID=1407&KW=AddSubsettedFont&PID=6367&title=cbuilder-2009-with-activex-not-working#6367
http://www.quickpdf.org/forum/forum_posts.asp?TID=1301&KW=AddSubsettedFont&PID=5984&title=chinese-font-and-output#5984
http://www.quickpdf.org/forum/forum_posts.asp?TID=1247&KW=AddSubsettedFont&PID=5712&title=greek-characters-support#5712
http://www.quickpdf.org/forum/forum_posts.asp?TID=1183&KW=AddSubsettedFont&PID=5458&title=problem-with-russian-text#5458
http://www.quickpdf.org/forum/forum_posts.asp?TID=1094&KW=AddSubsettedFont&PID=5415&title=support-chinese#5415


Cheers, Ingo



Edited by Ingo - 25 Apr 10 at 2:46PM
Back to Top
chandy21 View Drop Down
Team Player
Team Player
Avatar

Joined: 23 Sep 09
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote chandy21 Quote  Post ReplyReply Direct Link To This Post Posted: 26 Apr 10 at 3:26AM
Hi Ingo, I had not actually noticed the "Any Date" option before in the advanced search.
Thanks for the tip. I will go through the results.

Regards,
Ando.
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