pdf.py: truncate only in any2pdf, after the image2pdf_gm probe