1 //! TrueType hinting. 2 3 mod code_state; 4 mod engine; 5 mod error; 6 mod graphics_state; 7 mod math; 8 mod value_stack; 9 10 use read_fonts::{ 11 tables::glyf::PointFlags, 12 types::{F26Dot6, F2Dot14, Point}, 13 }; 14 15 /// Outline data that is passed to the hinter. 16 pub struct HintOutline<'a> { 17 pub unscaled: &'a mut [Point<i32>], 18 pub scaled: &'a mut [Point<F26Dot6>], 19 pub original_scaled: &'a mut [Point<F26Dot6>], 20 pub flags: &'a mut [PointFlags], 21 pub contours: &'a [u16], 22 pub phantom: &'a mut [Point<F26Dot6>], 23 pub bytecode: &'a [u8], 24 pub is_composite: bool, 25 pub coords: &'a [F2Dot14], 26 } 27