viewer: options to render pdf, text and glyphs