update to extract segmented glyphs