Enum pdfium_render::font::PdfFontBuiltin
source · [−]pub enum PdfFontBuiltin {
Show 14 variants
TimesRoman,
TimesBold,
TimesItalic,
TimesBoldItalic,
Helvetica,
HelveticaBold,
HelveticaOblique,
HelveticaBoldOblique,
Courier,
CourierBold,
CourierOblique,
CourierBoldOblique,
Symbol,
ZapfDingbats,
}Expand description
The 14 built-in fonts provided as part of the PDF specification.
Variants
TimesRoman
TimesBold
TimesItalic
TimesBoldItalic
Helvetica
HelveticaBold
HelveticaOblique
HelveticaBoldOblique
Courier
CourierBold
CourierOblique
CourierBoldOblique
Symbol
ZapfDingbats
Implementations
sourceimpl PdfFontBuiltin
impl PdfFontBuiltin
sourcepub fn to_pdf_font_name(&self) -> &str
pub fn to_pdf_font_name(&self) -> &str
Returns the PostScript name of this built-in PDF font, as listed on page 416 of the PDF 1.7 specification.
Trait Implementations
sourceimpl Clone for PdfFontBuiltin
impl Clone for PdfFontBuiltin
sourcefn clone(&self) -> PdfFontBuiltin
fn clone(&self) -> PdfFontBuiltin
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PdfFontBuiltin
impl Debug for PdfFontBuiltin
sourceimpl PartialEq<PdfFontBuiltin> for PdfFontBuiltin
impl PartialEq<PdfFontBuiltin> for PdfFontBuiltin
sourcefn eq(&self, other: &PdfFontBuiltin) -> bool
fn eq(&self, other: &PdfFontBuiltin) -> bool
impl Copy for PdfFontBuiltin
impl StructuralPartialEq for PdfFontBuiltin
Auto Trait Implementations
impl RefUnwindSafe for PdfFontBuiltin
impl Send for PdfFontBuiltin
impl Sync for PdfFontBuiltin
impl Unpin for PdfFontBuiltin
impl UnwindSafe for PdfFontBuiltin
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more