Macro zng_ext_font::font_features::font_variations

source ·
macro_rules! font_variations {
    [$(
        $name:tt : $value: expr
    ),* $(,)?] => { ... };
}
Expand description

Initialize a FontVariations map.

§Examples

let variations = font_variations! {
    b"SKLA": 1000.0,
    b"TRMG": 750.0
};