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!
![]() |
Font Character Mapping |
Post Reply ![]() |
Author | |
chandy21 ![]() Team Player ![]() ![]() Joined: 23 Sep 09 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
|
chandy21 ![]() Team Player ![]() ![]() Joined: 23 Sep 09 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
Does anyone have any ideas or direction on this?
Anyone know how to find the Character Mapping? |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
chandy21 ![]() Team Player ![]() ![]() Joined: 23 Sep 09 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
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