setup programs for text drawing