Skip to main content

ferroui_base/media/
text_hinting_mode.rs

1/// Specifies how text glyphs are hinted.
2#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
3#[repr(u8)]
4pub enum TextHintingMode {
5    /// Hinting mode is not explicitly specified. The hinting mode will be
6    /// inherited from the parent or defaults will be used.
7    #[default]
8    Unspecified,
9    /// Text is not hinted.
10    None,
11    /// Text is lightly hinted.
12    Light,
13    /// Text is strongly hinted.
14    Strong,
15}