pub enum Font {
Show 14 variants
Helvetica,
HelveticaBold,
HelveticaOblique,
HelveticaBoldOblique,
TimesRoman,
TimesBold,
TimesItalic,
TimesBoldItalic,
Courier,
CourierBold,
CourierOblique,
CourierBoldOblique,
Symbol,
ZapfDingbats,
}Expand description
Standard PDF fonts (Type 1 base 14 fonts).
These fonts are guaranteed to be available in all PDF readers and don’t need to be embedded in the document.
Variants§
Helvetica
Helvetica (sans-serif)
HelveticaBold
Helvetica Bold
HelveticaOblique
Helvetica Oblique (italic)
HelveticaBoldOblique
Helvetica Bold Oblique
TimesRoman
Times Roman (serif)
TimesBold
Times Bold
TimesItalic
Times Italic
TimesBoldItalic
Times Bold Italic
Courier
Courier (monospace)
CourierBold
Courier Bold
CourierOblique
Courier Oblique
CourierBoldOblique
Courier Bold Oblique
Symbol
Symbol font (mathematical symbols)
ZapfDingbats
ZapfDingbats (decorative symbols)
Implementations§
Trait Implementations§
impl Copy for Font
impl Eq for Font
impl StructuralPartialEq for Font
Auto Trait Implementations§
impl Freeze for Font
impl RefUnwindSafe for Font
impl Send for Font
impl Sync for Font
impl Unpin for Font
impl UnwindSafe for Font
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more