Print Page | Close Window

Is it possible to use OTF-Fonts

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=1934
Printed Date: 22 Nov 24 at 1:56PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Is it possible to use OTF-Fonts
Posted By: Abensberger
Subject: Is it possible to use OTF-Fonts
Date Posted: 18 Aug 11 at 9:42AM
I need to use OpenType fonts (*.OTF) within my PDFs.
 
How can I add and use OpenType fonts with QuickPDFLib?
 
In the reference I only found:
 
AddCYKFont
AddStandardFont
AddSubsettedFont
AddTrueTypeFont
AddTrueTypeFontFromFile
AddType1Font
 
Sorry, if this question sounds silly to somebody, but I am a newbie in the fields of "fonts"
 
Kind regards
Abensberger



Replies:
Posted By: jpbro
Date Posted: 22 Feb 12 at 4:31PM
Sorry to open an old topic, but I'm interested in an answer to this question as well - Are embedded OTF fonts supported with QuickPDF 8.13? What if they have Type1 outlines instead of TrueType outlines?


Posted By: Ingo
Date Posted: 22 Feb 12 at 7:20PM
Hi!

Do you know what you can do with the reference guide ... ;-)

AddOpenTypeFontFromFile

Cheers (and sorry ;-)
Ingo




Posted By: jpbro
Date Posted: 22 Feb 12 at 7:35PM
Sorry, you are right Ingo, but I guess I should have been clear that I meant a subsetted font.

What isn't 100% clear to me is that if I try to subset a font by name (e.g. "Tahoma", will QuickPDF handle it regardless of whether it is a TTF, OTF with TT outlines, or OTF with PS outlines?

Or do I need to manually check whether the font that my users have chosen is an OTF or TTF and add it accordingly using the *FromFile methods.

I've done some experimenting myself, but as you can see from my previous thread, I'm having trouble proving that even TTF fonts are being embedded as I require (my unfortunate suspicion is that text rendered to the CanvasDC isn't using the font when I subset it afterwards). I had hoped perhaps that some other user had more experience in this area and could clarify for me.

I've been using QPDF for over 2 years, and I've only posted a few questions here, so you can be sure I typically do all my own experiments and research unless I am truly stuck!



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