ZIm/gpui/src/fonts.rs
Antonio Scandurra 0f6927eb4b Re-export font_kit primitives from a new fonts module
...also, rename the old `fonts` to `font_cache`.
2021-03-25 10:58:33 +01:00

7 lines
195 B
Rust

pub use font_kit::metrics::Metrics;
pub use font_kit::properties::{Properties, Weight};
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
pub struct FontId(pub usize);
pub type GlyphId = u32;