add size keyword argument to pdf_render_page