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
)
Public Shared Function CreateCIDTrueTypeFont (
doc As PDFDoc,
font_path As String
) As Font
public:
static Font^ CreateCIDTrueTypeFont(
[InAttribute] PDFDoc^ doc,
[InAttribute] String^ font_path
)
pdftron.PDF.Font.CreateCIDTrueTypeFont = function(doc, 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