doc: fix over/underfull hboxes in PDF