/// Returns the PostScript name of this built-in PDF font, as listed on page 416
/// of the PDF 1.7 specification.
Returns the PostScript name of this built-in PDF font, as listed on page 416
of the PDF 1.7 specification.
Returns the PostScript name of this built - in PDF font as listed on page 416 of the PDF 1 . 7 specification .
pub fn to_pdf_font_name(&self) -> &str {
        match self {
            PdfFontBuiltin::TimesRoman => "Times-Roman",
            PdfFontBuiltin::TimesBold => "Times-Bold",
            PdfFontBuiltin::TimesItalic => "Times-Italic",
            PdfFontBuiltin::TimesBoldItalic => "Times-BoldItalic",
            PdfFontBuiltin::Helvetica => "Helvetica",
            PdfFontBuiltin::HelveticaBold => "Helvetica-Bold",
            PdfFontBuiltin::HelveticaOblique => "Helvetica-Oblique",
            PdfFontBuiltin::HelveticaBoldOblique => "Helvetica-BoldOblique",
            PdfFontBuiltin::Courier => "Courier",
            PdfFontBuiltin::CourierBold => "Courier-Bold",
            PdfFontBuiltin::CourierOblique => "Courier-Oblique",
            PdfFontBuiltin::CourierBoldOblique => "Courier-BoldOblique",
            PdfFontBuiltin::Symbol => "Symbol",
            PdfFontBuiltin::ZapfDingbats => "ZapfDingbats",
        }
    }
pub fn to_pdf_font_name ( & self ) -> & str { match self { PdfFontBuiltin :: TimesRoman => " " , PdfFontBuiltin :: TimesBold => " " , PdfFontBuiltin :: TimesItalic => " " , PdfFontBuiltin :: TimesBoldItalic => " " , PdfFontBuiltin :: Helvetica => " " , PdfFontBuiltin :: HelveticaBold => " " , PdfFontBuiltin :: HelveticaOblique => " " , PdfFontBuiltin :: HelveticaBoldOblique => " " , PdfFontBuiltin :: Courier => " " , PdfFontBuiltin :: CourierBold => " " , PdfFontBuiltin :: CourierOblique => " " , PdfFontBuiltin :: CourierBoldOblique => " " , PdfFontBuiltin :: Symbol => " " , PdfFontBuiltin :: ZapfDingbats => " " , } }
Returns the PostScript name of this built-in PDF font, as listed on page 416
of the PDF 1.7 specification.
Returns the PostScript name of this built - in PDF font as listed on page 416 of the PDF 1 . 7 specification .
&self