Struct truetype::postscript::PostScript2
source · pub struct PostScript2 {
pub version: q32,
pub italic_angle: q32,
pub underline_position: i16,
pub underline_thickness: i16,
pub is_fixed_pitch: u32,
pub min_memory_type42: u32,
pub max_memory_type42: u32,
pub min_memory_type1: u32,
pub max_memory_type1: u32,
pub glyph_count: u16,
pub glyph_name_indices: Vec<u16>,
pub glyph_names: Vec<String>,
}
Expand description
PostScript information of version 2.
Fields§
§version: q32
§italic_angle: q32
§underline_position: i16
§underline_thickness: i16
§is_fixed_pitch: u32
§min_memory_type42: u32
§max_memory_type42: u32
§min_memory_type1: u32
§max_memory_type1: u32
§glyph_count: u16
§glyph_name_indices: Vec<u16>
§glyph_names: Vec<String>
Trait Implementations§
source§impl Clone for PostScript2
impl Clone for PostScript2
source§fn clone(&self) -> PostScript2
fn clone(&self) -> PostScript2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PostScript2
impl Debug for PostScript2
source§impl Default for PostScript2
impl Default for PostScript2
source§fn default() -> PostScript2
fn default() -> PostScript2
Returns the “default value” for a type. Read more