Struct afm::FontMetrics
[−]
[src]
pub struct FontMetrics { pub metric_sets: i32, pub font_name: String, pub full_name: String, pub family_name: String, pub weight: String, pub font_bbox: Bbox<f64>, pub font_version: String, pub notice: String, pub encoding_scheme: String, pub mapping_scheme: u32, pub esc_char: u32, pub character_set: String, pub characters: u32, pub is_base_font: bool, pub v_vector: (f64, f64), pub is_fixed_v: bool, pub cap_height: f64, pub x_height: f64, pub ascender: f64, pub descender: f64, pub comments: Vec<String>, pub underline_position: f64, pub underline_thickness: f64, pub italic_angle: f64, pub char_width: (f64, f64), pub is_fixed_pitch: bool, pub standard_horizontal_width: f64, pub standard_vertical_width: f64, pub char_metrics: Vec<CharMetric>, pub char_metrics_map: HashMap<String, CharMetric>, pub track_kern: Vec<TrackKern>, pub composites: Vec<Composite>, pub kern_pairs: Vec<KernPair>, pub kern_pairs0: Vec<KernPair>, pub kern_pairs1: Vec<KernPair>, }
Fields
metric_sets: i32
font_name: String
full_name: String
family_name: String
weight: String
font_bbox: Bbox<f64>
font_version: String
notice: String
encoding_scheme: String
mapping_scheme: u32
esc_char: u32
character_set: String
characters: u32
is_base_font: bool
v_vector: (f64, f64)
is_fixed_v: bool
cap_height: f64
x_height: f64
ascender: f64
descender: f64
comments: Vec<String>
underline_position: f64
underline_thickness: f64
italic_angle: f64
char_width: (f64, f64)
is_fixed_pitch: bool
standard_horizontal_width: f64
standard_vertical_width: f64
char_metrics: Vec<CharMetric>
char_metrics_map: HashMap<String, CharMetric>
track_kern: Vec<TrackKern>
composites: Vec<Composite>
kern_pairs: Vec<KernPair>
kern_pairs0: Vec<KernPair>
kern_pairs1: Vec<KernPair>
Trait Implementations
impl PartialEq for FontMetrics
[src]
fn eq(&self, __arg_0: &FontMetrics) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FontMetrics) -> bool
[src]
This method tests for !=
.
impl Debug for FontMetrics
[src]
impl Default for FontMetrics
[src]
fn default() -> FontMetrics
[src]
Returns the "default value" for a type. Read more