support glob in remove_unused_glyphs