I build a resume builder that renders PDFs with @react-pdf/renderer . Resumes are a special kind of PDF: a human reads them, but first a machine usually does. Applicant tracking systems and importers pull the text out, and if the text comes out wrong, the nicest layout in the world does not help.
So I wrote an audit: render every template, extract the text with two common open-source extractors, pdf.js and Poppler, and compare. The first run was humbling. In 28 of our 30 templates, pdf.js returned the section headings spelled out letter by letter : E X P E R I E N C E , E D U C A T I O N , and the job title under the name too. Poppler joined them correctly in all but one.
Nothing looked wrong on screen. The cause was a design choice almost every resume template makes.
PDFs don't store spaces, extractors guess them
A PDF page is a list of glyphs with positions. There is no guarantee that a space character exists between two words; often there is just a gap.…