prevent duplicate redraw
capture the viewport in the renderer as soon as it is available
started converting to existing pdf directive parameters