Lines are cut off in the generated PDF