fn accumulate_glyphs( gids: &mut Vec<u16>, gid_to_text: &mut BTreeMap<u16, String>, source: &str, glyphs: &[ShapedGlyph], )