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!
![]() |
OTF Font Type |
Post Reply ![]() |
Author | |
rweetch ![]() Senior Member ![]() Joined: 22 Feb 11 Status: Offline Points: 173 |
![]() ![]() ![]() ![]() ![]() Posted: 17 Apr 12 at 5:09PM |
what value does FontType return for an otf font?
thanks
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3530 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
rweetch ![]() Senior Member ![]() Joined: 22 Feb 11 Status: Offline Points: 173 |
![]() ![]() ![]() ![]() ![]() |
Thanks Ingo - really I wanted to use the FontType (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.
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3530 |
![]() ![]() ![]() ![]() ![]() |
I would expect value 1 ;-)
|
|
![]() |
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