Print Page | Close Window

Embed a "subset" of a font for ANSI characters

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=947
Printed Date: 17 May 24 at 6:05AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Embed a "subset" of a font for ANSI characters
Posted By: elife
Subject: Embed a "subset" of a font for ANSI characters
Date Posted: 11 Sep 08 at 12:53PM
Hi, all.

I use dll edition of ised quick pdf.

I know the iSEDAddSubsettedFont function in dll edition works for UNICODE characters only, Is there a way to embed a "subset" of a font for ANSI characters?

Can anyone help?

Thanks



Replies:
Posted By: elife
Date Posted: 11 Sep 08 at 1:04PM
For example, I would like to embed ANSI "ABCD" characters to pdf (not embed all characters within the font to pdf due to the size of font file is too large)
can anyone let me know how to do this? Thanks.



Posted By: elife
Date Posted: 11 Sep 08 at 1:26PM
convert "ABCD" to UNICODE characters 0A0B0C0D, pass it to AddSubsettedFont, does not take effect
function AddSubsettedFont(FontName As String,
CharSet As Long,
SubsetChars As String) As Long

I think that maybe issue caused due to the function returns directly when it read the first 0 and think this is the end of UNICODE characters 0A0B0C0D

any idea?



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