Print Page | Close Window

OTF Font Type

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=2237
Printed Date: 14 Aug 25 at 6:02AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: OTF Font Type
Posted By: rweetch
Subject: OTF Font Type
Date Posted: 17 Apr 12 at 5:09PM
what value does FontType return for an otf font?
 
thanks



Replies:
Posted By: Ingo
Date Posted: 17 Apr 12 at 5:33PM
Hi!

I don't understand your question but ... ;-)
QuickPDF offers support (rendering and so on) for OpenType fonts if they use CFF outlines.
As a standard there isn't the same support as it is for true type but ...
you can use AddOpenTypeFontFromFile. You'll get back an integer id (not zero)  as result.
This id you can use with SelectFont as you can do it with true type.

Cheers, Ingo



Posted By: rweetch
Date Posted: 18 Apr 12 at 9:29AM
Thanks Ingo - really I wanted to use the FontType ( http://www.quickpdflibrary.com/help/quickpdf/FontType.php - http://www.quickpdflibrary.com/help/quickpdf/FontType.php )  function to test whethet teh font was ttf or otf  and wondered which result an otf would return.


Posted By: Ingo
Date Posted: 18 Apr 12 at 11:55AM
I would expect value 1 ;-)




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