Struct pdf_writer::writers::FontDescriptor [−][src]
pub struct FontDescriptor<'a> { /* fields omitted */ }
Expand description
Writer for a font descriptor.
This struct is created by PdfWriter::font_descriptor
.
Implementations
impl<'a> FontDescriptor<'a>
[src]
impl<'a> FontDescriptor<'a>
[src]pub fn font_flags(&mut self, flags: FontFlags) -> &mut Self
[src]
pub fn font_flags(&mut self, flags: FontFlags) -> &mut Self
[src]Write the /Flags
attribute.
pub fn italic_angle(&mut self, angle: f32) -> &mut Self
[src]
pub fn italic_angle(&mut self, angle: f32) -> &mut Self
[src]Write the /ItalicAngle
attribute.
pub fn cap_height(&mut self, cap_height: f32) -> &mut Self
[src]
pub fn cap_height(&mut self, cap_height: f32) -> &mut Self
[src]Write the /CapHeight
attribute.
pub fn font_file2(&mut self, true_type_stream: Ref) -> &mut Self
[src]
pub fn font_file2(&mut self, true_type_stream: Ref) -> &mut Self
[src]Write the /FontFile2
attribute.