process glyphs in reverse order so that ligatures table match always the longest string