add deprecations to glyph funcs on Document