Render text and graphics to a buffer usable by libg15.