Text implementation in viewer