Click or drag to resize

FontCreateType1Font Method (PDFDoc, String)

Embed an external TrueType font in the document as a CID font. By default the function selects "Identity-H" encoding that maps 2-byte Character codes ranging from 0 to 65,535 to the same Unicode value. Other predefined encodings are listed in Table 5.15 'Predefined CMap names' in PDF Reference Manual.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static Font CreateType1Font(
	PDFDoc doc,
	string font_path
)

Parameters

doc
Type: pdftron.PDFPDFDoc
The document in which the external font should be embedded.
font_path
Type: SystemString
The path to the external font file.

Return Value

Type: Font
A newly created font.
See Also