RFC render pdf improve page size

this should be done in the caller of renderPageAsPdf()