FontObject EmbedFont Function. Search for and embed a font file into this font object. ABCpdf .NET PDF Library.

ABCpdf .net

 
   

Search for and embed a font file into this font object

 

   
Syntax  

[C#]
bool EmbedFont()

[Visual Basic]
Function EmbedFont() As Boolean

 

   

Params
 
Name Description
return Whether the font was embedded successfully.

 

   

Notes
 

Search for and embed a font file into this font object.

If an existing font file is already embedded it will be replaced. If you wish to subset the font you will need to call the Subset method after embedding the font.

Calling this function on Identity encoded fonts should be done with great caution as these types of fonts rely on glyph indexes and are thus specific to a particular font file.

 

   

Example
 

None.