ccsgp: fix pdf conversion