Click or drag to resize

FontCreateCIDTrueTypeFont 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 CreateCIDTrueTypeFont(
	PDFDoc doc,
	string font_path
)

Parameters

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

Return Value

Type: Font
the font
See Also