when rescaling pdf page, send surface id.
move pdfRendererMain to hoodle-render. implement genRendererMain