Get PDF rendering working