Extract plain text from a PDF using client-side PDF.js. Output accuracy depends on the PDF’s internal layout.