Order confirmation: attached PDF broken

I see, but what is the solution?