How can I embed fonts using the PDF Creator?

This is a read only forum. It contains the most frequently asked questions about Amyuni products and licensing.
Post Reply
Dany
Amyuni Team
Posts: 113
Joined: Wed Sep 11 2002
Location: Montreal.
Contact:

How can I embed fonts using the PDF Creator?

Post by Dany »

Font Embedding has been implemented since the release of version 1.09 of the PDF Creator. This is a sample code on using Font Embedding from inside your application:

EmbedFont( BaseFont As String, Option As acEmbedFontOptions )

The values for Option are :
acEmbedFontOptionNoEmbed = 0, // font is not embedded
acEmbedFontOptionPartial = 1, // font is partially embedded
acEmbedFontOptionFull = 2, // font is fully embedded.

By example, to partially embed Verdana font in VB, you can call :
EmbedFont( "Verdana", 1& )
Post Reply