Only Cairo renderer set when begin pdf called, otherwise there is garbage in the pdf from the gl renderer