I am using qpdf to check if Encoding
and ToUnicode
is properly set up (encoded) for a PDF file by using the following command and look for 'ToUnicode' word in the text file. The purpose is to make sure that ligatures within a file can be decoded properly on a PDF viewer such as Adobe Acrobat Reader, pdf.js, pdfium etc.
qpdf --stream-data=uncompress input.pdf output.txt
Is this the right way? What is recommended?