Skip to main content

Crate zng_wgt_material_icons

Crate zng_wgt_material_icons 

Source
Expand description

Material icons for the Icon! widget.

A map from name to icon codepoint is defined in a module for each font. The extension also registers ICONS handlers that provide the icons.

The icons are from the Material Design Icons project.

§Crate

This crate is part of the zng project.

§Cargo Features

This crate provides 7 feature flags, 0 enabled by default.

§"embedded"

Embedded font files.

§"outlined"

Outlined icon set.

§"filled"

Filled icon set.

§"rounded"

Rounded icon set.

§"sharp"

Sharp icon set.

§"usage_recorder"

Compile with usage profile recorder.

After recording build with "embedded_subset" to embed only the icons used.

Saves to ZNG_MATERIAL_ICONS_PROFILE_FILE if set to a .rec.subset path Or "res/optimization-profiles/zng-wgt-material-icons.rec.subset" by default

§"embedded_subset"

Use recorded usage profile to subset icon fonts on build for embedding.

See "usage_recorder" for how to set the file.

Modules§

filled
Filled icons.
outlined
Outline icons.
rounded
Rounded icons.
sharp
Sharp icons.