Fixed squished text in pdf upload

[fixes #60524202]