to_pdf: fix Prawn CannotFit exception