Revert "Attempt to fix pdf encoding"

This reverts commit f81438aa08dec339995cd90080d73153e46b513d.