Side note, looking at your subject: the PDF library doesn't "grab the viewport", ie. it doesn't magically take a high resolution screenshot of the screen. All drawing operations done by Processing must be (also) done on the PDF drawing surface. Hence the issue with OpenGL.
↧