Print Page | Close Window

GetSubsetString Missing from 8.13 ActiveX

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2167
Printed Date: 26 Aug 25 at 11:32PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: GetSubsetString Missing from 8.13 ActiveX
Posted By: jpbro
Subject: GetSubsetString Missing from 8.13 ActiveX
Date Posted: 22 Feb 12 at 5:22AM
Hi,

I just upgraded to QPDF8.13, and it appears the GetSubsetString function is missing from the ActiveX DLL - has it been deprecated?

Thanks in advance for any information.



Replies:
Posted By: AndrewC
Date Posted: 22 Feb 12 at 2:25PM
Yes. 

QP.AddTrueTypeSubsettedFont() is a preferred way to create a subsetted font and it also works with Unicode characters.

            string subset = "ФЫВАABCDEF123456";

            int fid1 = QP.AddTrueTypeSubsettedFont("Arial MS Unicode", subset, 0);
            QP.SelectFont(fid1);
            QP.DrawText(50, 50, subset);

Andrew.


Posted By: jpbro
Date Posted: 22 Feb 12 at 2:40PM
Thanks Andrew, I've switched to using AddTrueTypeSubsettedFont instead.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk