add_glyph_to_atlas

Function add_glyph_to_atlas 

Source
pub fn add_glyph_to_atlas(
    font_atlases: &mut Vec<FontAtlas>,
    texture_atlases: &mut Assets<TextureAtlasLayout>,
    textures: &mut Assets<Image>,
    font_system: &mut FontSystem,
    swash_cache: &mut SwashCache,
    layout_glyph: &LayoutGlyph,
    font_smoothing: FontSmoothing,
) -> Result<GlyphAtlasInfo, TextError>
Expand description

Adds the given subpixel-offset glyph to the given font atlases