Retrieves the character code for a given Unicode string.
A Unicode string representing one or more characters.
A promise that resolves to a number representing the character code.
Retrieves the embedded font.
The document in which to create the embedded font.
The path to the font file.
The array of Unicode characters to embed.
A promise that resolves to a PDFFont instance representing the embedded font.
Destroys the PDFFont object.
A promise that resolves when the object is destroyed.
Retrieves the document associated with the font.
A promise that resolves to a Doc instance or null if not found.
Retrieves the font dictionary.
A promise that resolves to a PDFObjectType instance or null if not found.
Retrieves the font list.
A promise that resolves to a WideStringArrayType instance containing the font list.
Retrieves the font type.
A promise that resolves to a number representing the font type.
Retrieves the name of the font type.
A promise that resolves to a string containing the name of the font type.
Retrieves the standard font from the document.
The document from which to retrieve the font.
The name of the font to retrieve.
Checks if the font is a standard font.
A promise that resolves to a boolean indicating whether the font is a standard font.
StaticcreateCreates an instance of PDFFont.
Optionaloptions: OptionsThe configuration options required for creation, containing necessary initialization information.
A Promise object containing an instance of PDFFont.
Creates an instance of PDFFont. Instead of creating an instance in new mode, use create to create an instance.