glyph_setup_data function

Prepare data for ribbon and segment glyph maps