render_text now resolution independent