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

Trait Implementations

impl PartialEq for FontMetrics
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for FontMetrics
[src]

[src]

Formats the value using the given formatter.

impl Default for FontMetrics
[src]

[src]

Returns the "default value" for a type. Read more