pub fn new_true_type_from_bytes(
        document: PdfDocument<'a>,
        font_data: &[u8],
        is_cid_font: bool,
    ) -> Result<Self, PdfiumError> {
        Self::new_font_from_bytes(document, font_data, FPDF_FONT_TRUETYPE, is_cid_font)
    }
/// Attempts to load the given byte data as a TrueType font file.
///
/// Set the `is_cid_font` parameter to `true` if the given font is keyed by
/// 16-bit character ID (CID), indicating that it supports an extended glyphset of
/// 65,535 glyphs. This is typically the case with fonts that support Asian character sets
/// or right-to-left languages.
Attempts to load the given byte data as a TrueType font file.
Set the `is_cid_font` parameter to `true` if the given font is keyed by
16-bit character ID (CID), indicating that it supports an extended glyphset of
65,535 glyphs. This is typically the case with fonts that support Asian character sets
or right-to-left languages.
Attempts to load the given byte data as a TrueType font file . Set the ` is_cid_font ` parameter to ` true ` if the given font is keyed by 16 - bit character ID ( CID ) indicating that it supports an extended glyphset of 65 535 glyphs . This is typically the case with fonts that support Asian character sets or right - to - left languages .
pub fn new_true_type_from_bytes(
        document: PdfDocument<'a>,
        font_data: &[u8],
        is_cid_font: bool,
    ) -> Result<Self, PdfiumError> {
        Self::new_font_from_bytes(document, font_data, FPDF_FONT_TRUETYPE, is_cid_font)
    }
pub fn new_true_type_from_bytes ( document : PdfDocument < ' a > , font_data : & [ u8 ] , is_cid_font : bool , ) -> Result < Self , PdfiumError > { Self :: new_font_from_bytes ( document , font_data , FPDF_FONT_TRUETYPE , is_cid_font ) }
Attempts to load the given byte data as a TrueType font file.
Attempts to load the given byte data as a TrueType font file .
document
PdfDocument<'a>
font_data
&[u8]
is_cid_font
bool
document
PdfDocument<'a>
font_data
&[u8]
is_cid_font
bool