VpeSetEmbedAllFonts

<< Click to Display Table of Contents >>

Navigation:  PDF Export >

VpeSetEmbedAllFonts

Previous pageReturn to chapter overviewNext page

[Not supported by the Community Edition]

Sets the current mode for font embedding. Embedded fonts are stored inside the PDF document. Some fonts can not be embedded, because they have a copy-protection bit set. In this case, VPE will not embed the font.

void VpeSetEmbedAllFonts(

VpeHandle hDoc,

int yes_no

)

VpeHandle hDoc

Document Handle

int yes_no

Value

Description

True

the True-Type fonts that are used in the document are embedded

False

the True-Type fonts that are used in the document are not embedded

Default:

False

Remarks:

This property controls the default behaviour of VPE. You can override this property individually for each font by using the method VpeSetFontControl().

 

VPE does only embed True-Type fonts, it will not embed PostScript fonts.

 

You can also subset embedded fonts. Subsetting means that VPE builds and embeds on-the-fly a new font, which does only contain the characters used in the current document. This creates in regular smaller fonts and therefore smaller PDF files. See VpeSetSubsetAllFonts for details.