paint tool: add basic pdf support