glyph text can be a function