adding to glyphs-shared.c