Print Page | Close Window

Embedding 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=2833
Printed Date: 28 Apr 25 at 9:48AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Embedding fonts
Posted By: BobW
Subject: Embedding fonts
Date Posted: 18 Feb 14 at 8:49PM
I'm trying to embed a font in an existing PDF but it doesn't seem to work the way I think it should.

I have an existing PDF that does not have embedded fonts.  The PDF uses OCR A Extended, which is a TrueType font.  I embed the font using LoadFromFile and AddTrueTypeFont then SaveToFile.  I get back a font ID so I know it embedded.  Also the file is quite a bit bigger.  When I view the file in Adobe Reader or Adobe Acrobat on a PC without that font, it is doing a substitution for Helvetica.  How can I get that text to display in the font I am embedding.

Thanks,
Bob



Replies:
Posted By: AndrewC
Date Posted: 20 Feb 14 at 11:23AM
Bob,

Which version of Debenu Quick PDF Library are you using ?

Would it be possible to upload the PDF and TTF file so we can see what is happening. 

Another option is to send an email to support@debenu.com

Andrew.


Posted By: BobW
Date Posted: 20 Feb 14 at 7:41PM
I am using the latest version: 10.12.

While researching this further I found a forum post that indicated what I want is not possible:
http://www.quickpdf.org/forum/how-to-do-full-font-embedding_topic2748.html?KW=font" rel="nofollow - http://www.quickpdf.org/forum/how-to-do-full-font-embedding_topic2748.html?KW=font

Rowan stated, "Currently Debenu Quick PDF Library only supports embedding fonts in PDF files when the text is being added. It is not possible to embed the font in the PDF after the PDF has been generated by a PDF printer driver such as PDFCreator, as you are trying to do."

My PDF is created by another tool and I am trying to embed the font for text that is already in the PDF.  I can upload a sample if you think it is worth the trouble.

Bob




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