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 > General Discussion
  New Posts New Posts RSS Feed - Subsetting of true type fonts
  FAQ FAQ  Forum Search   Register Register  Login Login

Subsetting of true type fonts

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


Joined: 24 Oct 11
Location: Melbourne
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote peterbh Quote  Post ReplyReply Direct Link To This Post Topic: Subsetting of true type fonts
    Posted: 26 Oct 11 at 5:58AM

In our existing postscript based product we can create a series of subset fonts based on a single true/opentype font. I can envisage doing something similar in PDF by Adding a truetype font and then creating a set of subset fonts using CreateNewObject and SetObjectFromString. Is there any way then to add the font created into the Font entry in the resources dictionary ?

TIA
Peter
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 26 Oct 11 at 7:26AM

Have you looked at the following functions that have been added in QPL 8.11 and 8.12 respectively.


Andrew.


Edited by AndrewC - 26 Oct 11 at 7:26AM
Back to Top
peterbh View Drop Down
Beginner
Beginner


Joined: 24 Oct 11
Location: Melbourne
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote peterbh Quote  Post ReplyReply Direct Link To This Post Posted: 26 Oct 11 at 11:24PM
AddOpenTypeFontFromFile doesn't appear in my version of 8.12, but that's a separate matter as it is said to be identical to AddTrueTypeFontFromFile which includes a True Type Font, but defaults to WinAnsiEncoding, presumably I can select a different encoding, but the choice is limited.
AddTrueTypeSubsettedFont is close to what I require, but I presume that the string of characters is Unicoded which will not work with some fonts that include glyphs that do not have Unicode values (some east asian and other scripts have multiple forms of a unicode character, only one of the forms can appear in the cmap)  So I actually need to be able to select the subset based on glyph ID's
Peter
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