Restore line numbers in PDF