Three demo variants · 30 October 2026 · full test run
Three variants of the Lucid CV demo résumé (one column on two pages, one column on one page, two columns on one page) were built fresh and read back by seventeen text-extraction engines, simulating the process that an applicant tracking system (ATS) uses before parsing a CV. Four of the engines read the PDF’s tags instead of the page, as screen readers do. All three variants pass every test: every engine expected to handle the layout returns every phrase, in order, with ordinary spaces between words, and every file is valid PDF/A-2B and PDF/UA-1. The only shortfalls come from engines with known limitations: three that cannot separate two columns lose about a third of the two-column variant’s phrases, and OCR misreads 1–5 phrases per variant.
All three variants present the same fictional Senior Software Engineer résumé
shipped with the template in resources/demos/. The number before
c is the number of columns and the number before p the
number of pages, so 1c1p is one column on one page.
1c2p is the full text, identical to the template’s sample
contents.tex, whereas the one-page variants are condensed versions of it.
| 1c2p | 1c1p | 2c1p | |
|---|---|---|---|
| columns × pages | 1 × 2 | 1 × 1 | 2 × 1 |
| compressed style | no | yes | yes |
| other layout changes | none | margins 1.2/1.1 cm, name 32 pt, tagline 13 pt, section 12 pt, tighter gaps | none |
| photo | 4.0 cm | none | 3.6 cm |
| PDF size | 235,697 bytes | 143,059 bytes | 220,530 bytes |
| phrases checked (body + header) | 111 (102 + 9) | 77 (68 + 9) | 89 (80 + 9) |
A phrase is one piece of text that must survive extraction intact: a heading, an entry, a bullet, a contact field. Each variant is checked against its own phrases.
Before an ATS can recognize a name, a job title or a date, it has to pull the text out of the PDF, and extraction software differs in how it does that. Every PDF is therefore read by seventeen engines: the libraries behind common PDF viewers and Linux tools (poppler, MuPDF, PDFium, pdf.js, Ghostscript), Python and Java document pipelines (pdfminer, PDFBox, Tika, iText), several in more than one mode, and Tesseract, an OCR engine that reads the rendered page like a scanner.
Four of them, marked -struct, read the PDF differently. A tagged
PDF carries a hidden outline (its tags) that marks the document’s elements
and defines its reading order. Most engines ignore it and infer the order from
where text is drawn on the page; poppler-struct,
pdfjs-struct, tika-struct and itext-struct
follow the outline instead, as screen readers and tag-aware parsers do. They
therefore test the tagging itself: untagged text never reaches them, and
decorative elements such as icons and dotted leaders are skipped.
Each engine is either strict or advisory for a given layout.
Tesseract is advisory everywhere: it reads pixels, not the PDF’s text, so its errors measure the OCR rather than the document. In two columns, the engines that rebuild lines across the full page width merge the columns, so they are advisory there, and two engines that sort text by position are advisory for reading order only. The four tag readers are strict everywhere: they never look at where text is drawn, so the layout cannot affect them. In one column, every engine except Tesseract is strict.
| Engines | 1c2p | 1c1p | 2c1p |
|---|---|---|---|
| tesseract | advisory | advisory | advisory |
| poppler-layout, ghostscript, pdfbox-sorted | strict | strict | advisory |
| poppler, pdfminer | strict | strict | strict for phrases, advisory for order |
| the other eleven, incl. the four tag readers | strict | strict | strict |
Eight tests can fail a résumé; the word-gap test only reports. Every variant was built and tested from scratch.
| Test | 1c2p | 1c1p | 2c1p |
|---|---|---|---|
| real word spaces | pass | pass | pass |
| word-gap characters | report clean | report clean | report clean |
| icons as whitespace | pass | pass | pass |
| PDF/A-2B conformance | pass | pass | pass |
| PDF/UA-1 conformance | pass | pass | pass |
| XMP metadata | pass | pass | pass |
| hidden text | pass | pass | pass |
| text extraction | pass | pass | pass 3 advisory losses |
| reading order | pass | pass | pass 4 advisory < 1.00 |
What it tests. Whether each gap between words is stored in the PDF as an actual space character, not just as extra distance between letters. Without one, an extractor has to guess where words end, and some guess wrong and run words together. The table counts space characters per text font.
| Font | 1c2p | 1c1p | 2c1p |
|---|---|---|---|
| Inter-Light (body text) | 516 | 283 | 325 |
| Inter-LightItalic | 5 | — | 5 |
| Inter-SemiBold | 17 | 6 | 7 |
| SourceSans3-Light | 128 | 126 | 110 |
| SourceSans3-Semibold | 57 | 43 | 44 |
| SourceCodePro-Light | 2 | 2 | 2 |
| total, all text fonts | 725 | 460 | 493 |
| result | pass | pass | pass |
Discussion. All three variants store every word gap as a real space
character, so no extractor has to guess where words end. The totals only follow
the amount of text, and 1c1p simply has no italic text. Neither the
compressed style nor two columns changes how gaps are stored, since that is set by
the typesetting engine and the template, not by the layout.
What it tests. Test 1 checks how word gaps are stored in the PDF; this one checks what each engine returns for them. It lists any gap that comes back as something other than an ordinary space, above all the no-break space, which Java-based parsers do not treat as a separator and so read the two words as one. It only reports and never fails.
| 1c2p | 1c1p | 2c1p | |
|---|---|---|---|
| engines with only U+0020 gaps | 17/17 | 17/17 | 17/17 |
| gaps that would join words in Java | 0 | 0 | 0 |
| result | report clean | report clean | report clean |
Discussion. All seventeen engines, Tesseract and the four tag readers included, return a plain space for every word gap in all three variants, consistent with test 1: a real space character leaves nothing an engine could turn into a no-break space. No Java-based parser would run two words together.
What it tests. The contact line marks each field with a small icon (an envelope, the LinkedIn logo). Every icon must extract as a blank space, not as a stray letter or icon name that would corrupt the email or link next to it.
| Icon font | 1c2p | 1c1p | 2c1p |
|---|---|---|---|
| FontAwesome5Brands-Regular | 2 ok | 2 ok | 2 ok |
| FontAwesome5Free-Solid | 6 ok | 5 ok | 5 ok |
| result | pass | pass | pass |
Discussion. All three variants share the same contact block (two brand icons for LinkedIn and GitHub, five solid icons for the other fields), and every icon extracts as a plain space (or is skipped for tagged PDF readers) in every build.
What it tests. PDF/A is the archival PDF standard: every font embedded, no outside dependencies, a file that opens the same everywhere. The reference validator veraPDF confirms that each file really conforms to PDF/A-2B, since the PDF/A label in the metadata proves nothing on its own.
| Check | 1c2p | 1c1p | 2c1p |
|---|---|---|---|
| identification | PDF/A-2B | PDF/A-2B | PDF/A-2B |
| fonts embedded | all | all | all |
| output intent | present | present | present |
| embedded files / forbidden actions / encryption | none | none | none |
| 1.7, tagged | 1.7, tagged | 1.7, tagged | |
| veraPDF 1.30.2 | pass | pass | pass |
What it tests. PDF/UA is the accessibility standard for PDF: the file must be tagged, so that screen readers and other assistive software can follow its structure, its links must carry a description, and its images an alternative text. As with PDF/A, the PDF/UA label proves nothing on its own, so veraPDF checks every machine-checkable rule of the standard.
| Check | 1c2p | 1c1p | 2c1p |
|---|---|---|---|
| identification | PDF/UA-1 | PDF/UA-1 | PDF/UA-1 |
| tagged (structure tree) | yes | yes | yes |
| tab order follows the structure | yes | yes | yes |
| links, with a description | 6 of 6 | 6 of 6 | 5 of 5 |
| images, with alternative text | 1 of 1 | none | 1 of 1 |
| veraPDF 1.30.2 | pass | pass | pass |
What it tests. A PDF stores its title, author, subject and keywords twice: in a legacy dictionary that most viewers display, and in an XMP packet that PDF/A and PDF/UA require. A gap between the two goes unnoticed in a viewer, so the test checks that every field reached the XMP with the same value, that its language matches the document’s, and that viewers show the title rather than the file name.
| Field | 1c2p | 1c1p | 2c1p |
|---|---|---|---|
| XMP packet | present | present | present |
| title | Adrian Castellanos -- Curriculum Vitae | ||
| author | Adrian Castellanos | ||
| subject | Senior Software Engineer | ||
| keywords | 6, matching the legacy dictionary | ||
| language | en-US | en-US | en-US |
| viewer shows the title | yes | yes | yes |
| result | pass | pass | pass |
Discussion. All three variants carry identical, complete metadata. The template fills the title, author and subject from the résumé header, so a two-column layout does not affect the result.
What it tests. Hidden (visually invisible) text is a common method for keyword stuffing, i.e., including keywords beyond the visible text to increase search engine ranking. It is often achieved by placing white words on white background, tiny font sizes, or pusing the text off the page. Some screening tools already detect and flag the whole document, discarding the candidate with such a resume from the process entirely. This test checks that every character other than whitespace is visible: drawn, in a colour distinguishable from white, opaque, at least 4 pt, on the page, and not hidden under other text or an image.
| Check | 1c2p | 1c1p | 2c1p |
|---|---|---|---|
| characters (of which whitespace) | 5,917 (736) | 3,882 (467) | 3,717 (500) |
| faintest text, contrast on white | 1.51:1 | 1.51:1 | 1.51:1 |
| invisible / faint / transparent / tiny | 0 | 0 | 0 |
| off-page / stacked / under an image | 0 | 0 | 0 |
| result | pass | pass | pass |
Discussion. No variant has a single hidden character. The faintest text is the light grey dotted leader before each date, at 1.51:1 against white, still above the 1.25:1 limit. The only invisible characters are whitespace: the real word spaces of test 1 and a few zero-width spaces the template adds so that separators extract cleanly. Whitespace carries no keywords and is allowed.
What it tests. The core test: every phrase must appear, complete, in each engine’s text. Differences that do not change the meaning (dash and quote styles, ligatures, letter case) are ignored.
| Engine | 1c2p | 1c1p | 2c1p |
|---|---|---|---|
| poppler | 111/111 | 77/77 | 89/89 |
| poppler-raw | 111/111 | 77/77 | 89/89 |
| poppler-layout | 111/111 | 77/77 | 61/89 advisory |
| poppler-struct | 111/111 | 77/77 | 89/89 |
| mupdf | 111/111 | 77/77 | 89/89 |
| pdfium | 111/111 | 77/77 | 89/89 |
| pdfminer | 111/111 | 77/77 | 89/89 |
| ghostscript | 111/111 | 77/77 | 60/89 advisory |
| pdfjs-old | 111/111 | 77/77 | 89/89 |
| pdfjs-new | 111/111 | 77/77 | 89/89 |
| pdfjs-struct | 111/111 | 77/77 | 89/89 |
| pdfbox | 111/111 | 77/77 | 89/89 |
| pdfbox-sorted | 111/111 | 77/77 | 63/89 advisory |
| tika | 111/111 | 77/77 | 89/89 |
| tika-struct | 111/111 | 77/77 | 89/89 |
| itext-struct | 111/111 | 77/77 | 89/89 |
| tesseract (OCR) | 106/111 advisory | 76/77 advisory | 86/89 advisory |
The three engines that lose phrases in 2c1p rebuild each printed
line across the full page width, so a phrase that wraps in one column gets the
other column’s text inserted where it breaks. Accordingly, the missing
phrases are the long, wrapping ones, spread over every section.
poppler-layout extracts from 2c1p, verbatimSenior Software Engineer | Nimbravo Systems — Los Angeles, kubectl-pulse | Kubernetes CLICA ........................................................... 03/2023 – Present tool .................................. 2021• Lead a 6-engineer team owning the multi-region control plane for
An Experience entry (left column) and an Open-Source Projects entry
(right column) merged line by line; ghostscript and
pdfbox-sorted do the same.
| Engine (2c1p) | Lost | By section |
|---|---|---|
| poppler-layout | 28 | experience 10, open-source projects 6, technical skills 3, certifications 3, talks & languages 3, education 2, about 1 |
| ghostscript | 29 | experience 11, open-source projects 6, technical skills 3, certifications 3, talks & languages 3, education 2, about 1 |
| pdfbox-sorted | 26 | experience 9, open-source projects 6, technical skills 3, talks & languages 3, education 2, certifications 2, about 1 |
Discussion: two columns. Every strict engine returns every phrase in all
three variants, so the text stored in the PDF is complete whatever the layout.
The only difference comes from two columns: in 2c1p,
poppler-layout, ghostscript and pdfbox-sorted
recover only 67–71% of the phrases. This is not a fault in the PDF: these
engines cannot separate side-by-side columns, and they return 100% of both
one-column variants. The compressed style causes no losses.
Discussion: the tag readers. All four return every phrase in every
variant, which also confirms that every visible phrase is tagged. Ignoring the page
layout, they read 2c1p as cleanly as a one-column résumé.
| Cause | 1c2p | 1c1p | 2c1p |
|---|---|---|---|
phone digit groups run together (+1 3105550142) | 1 | 1 | 1 |
capital I read as l (CI/CD → Cl/CD, Idempotent → ldempotent) | 2 | 0 | 1 |
other misread letter (gRPC → JRPC) | 1 | 0 | 0 |
stray character (Verilog – → Verilog -—) | 1 | 0 | 0 |
wrapped date read as two blocks (09/2012 – / 06/2018) | 0 | 0 | 1 |
| total | 5/111 | 1/77 | 3/89 |
Discussion: Tesseract OCR. Tesseract reads a rendered image of the page,
not the stored text, so its misses are mostly character errors. The phone number
fails everywhere because OCR drops the narrow gaps between its digit groups; the
rest are scattered misreads, mostly a capital I taken for
l. In 2c1p, the education date wraps after its dash and
OCR splits the halves into separate blocks. Rendering at 600 dpi does not
help: 8 / 3 / 7 misses against 5 / 1 / 3 at 300 dpi, with new misreads such
as net/htto.
Possible fix. The I/l errors have one cause: in
the Inter font, the capital I and the lowercase l are both a plain vertical stroke,
so OCR has to guess. The fix is a body typeface whose capital I and lowercase l
differ in their regular shapes, for example an I with serifs or an l with a tail.
The wrapped date in 2c1p could be kept on one line by shortening the
entry or widening the left column.
Practical relevance. In practice, the OCR errors matter little. ATS parsers work primarily with the text stored in the PDF, and since this file is tagged, PDF/A-2B- and PDF/UA-1-compliant and its text reads back completely, a fallback to pure OCR is unlikely. The OCR results are therefore for informational purposes only.
What it tests. Finding every phrase is not enough if they come back scrambled: an ATS that reads a date after the wrong employer files it under the wrong job. The test scores how much of each engine’s output keeps the order the text is stored in, from 0 to 1 (perfect). The tag readers are scored against the order the tags declare instead, which in turn must match the stored order. The body must score 1.00 in every strict engine; the contact header is only reported, since the order of contact fields carries no meaning.
| Engine — body order score | 1c2p | 1c1p | 2c1p |
|---|---|---|---|
| poppler | 1.00 (104/104) | 1.00 (69/69) | 0.95 (78/82) advisory |
| poppler-raw | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) |
| poppler-layout | 1.00 (104/104) | 1.00 (69/69) | 0.56 (30/54) advisory |
| poppler-struct | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) |
| mupdf | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) |
| pdfium | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) |
| pdfminer | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) advisory |
| ghostscript | 1.00 (104/104) | 1.00 (69/69) | 0.57 (30/53) advisory |
| pdfjs-old | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) |
| pdfjs-new | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) |
| pdfjs-struct | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) |
| pdfbox | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) |
| pdfbox-sorted | 1.00 (104/104) | 1.00 (69/69) | 0.55 (31/56) advisory |
| tika | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) |
| tika-struct | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) |
| itext-struct | 1.00 (104/104) | 1.00 (69/69) | 1.00 (82/82) |
| tesseract (OCR) | 1.00 (100/100) | 1.00 (69/69) | 1.00 (80/80) |
| header, all engines | 1.00 | 1.00 except poppler 0.80 report | 1.00 |
In brackets: phrases in order / phrases found, so an engine that lost
phrases is scored on fewer of them; a phrase listed twice is counted at each place.
The stored order comes from poppler-raw, which outputs the text exactly
as stored. The tag order comes from itext-struct, which walks the
whole tag outline; it is itself scored against the stored order.
linkedin.com/in/… and github.com/…, the
second contact line, before US citizenship and
adriancastellanos.dev, the end of the first. Every field is complete,
only in a different order. Since this is a header and the text is not garbled,
this does not affect ATS performance.poppler-raw): section headings in 2c1pAboutExperienceEducationOpen-Source ProjectsTechnical SkillsCertificationsTalks & Languages
The left column first, then the right one, as the PDF stores them and as the tags declare them.
poppler extracts from 2c1p, verbatim (abridged)About Open-Source Projects Senior software engineer with 8+ years of experience designing and… (rest of the About paragraph) quill-kv | Embedded storageengine .................. 2022 – Present Experience
The right column’s first heading and entry (highlighted) come out next to About, level with it at the top of the page, so an ATS would see a project before any experience. These are all four of poppler’s out-of-order phrases; every other section keeps its order.
Discussion. In both one-column variants every engine returns the body in
document order, so order is a problem only in two columns. There, the eleven
engines that output text as stored or as tagged keep a perfect 1.00: the seven
that output the stored text (poppler-raw, mupdf,
pdfium, both pdf.js builds, pdfbox,
tika) because the template stores each column as one continuous
block, and the four tag readers because the tags declare that same order. The
engines that re-sort text by position depart from it to different degrees:
pdfminer still reaches 1.00, poppler moves one block
(0.95), and the three side-by-side engines also scramble what they recover
(0.55–0.57).
Two columns on one page. The tags and the stored text agree in
2c1p because it fits on one page. In a two-column résumé that runs on
to a second page, the tags finish the column that continues before starting the
other, while the stored text, pdf.js and Tika take page 1 and then page 2; the
test holds the tag readers strictly and fails such a document. A two-column résumé
is meant to fit on one page.
| Test | Passes in all three? | Where variants differ |
|---|---|---|
| real word spaces | yes | no difference: 725 / 460 / 493 real space characters |
| word-gap characters | report | no difference: U+0020 only, 17 of 17 engines |
| icons as whitespace | yes | no difference: 8 / 7 / 7 icon glyphs, all as spaces |
| PDF/A-2B | yes | no difference |
| PDF/UA-1 | yes | no difference: every link described, every image with alternative text |
| XMP metadata | yes | no difference |
| hidden text | yes | no difference: nothing hidden, faintest text 1.51:1 |
| text extraction | yes | 2c1p: 3 side-by-side engines lose 26–29 phrases (advisory); Tesseract misses 5 / 1 / 3 everywhere (advisory) |
| reading order | yes | 2c1p: 4 position-sorting engines at 0.55–0.95 (advisory); 1c1p: poppler reorders the header (reported) |
poppler also reorder the body. An ATS using one of them would receive
merged columns, yet the PDF is sound: the eleven engines that keep the stored or
tagged order read it perfectly.poppler-raw, which therefore always scores 1.00). However, this
order is cross-checked against the tags produced by itext-struct.| lualatex | LuaHBTeX 1.24.0 (TeX Live 2026) |
|---|---|
| python | 3.14.6 (env/python) |
| pymupdf | 1.28.2 |
| pypdfium2 | 5.13.0 |
| pdfminer.six | 20260107 |
| poppler | pdftotext / pdfinfo 26.01.0 |
| ghostscript | 10.06.0 |
| tesseract | 5.5.3 |
| java | OpenJDK 25.0.3 |
| pdfbox / tika | 3.0.5 / 3.2.3 |
| tika (tika-struct) | 4.2.0 |
| itext | 9.8.0 |
| node | v20.18.1 |
| pdf.js | 2.5.207 (old), 4.10.38 (new, struct) |
| veraPDF | 1.30.2 |
From tests/, one command per variant:
| 1c2p | ./pipeline.sh ../resources/demos/1c2p/main.tex |
|---|---|
| 1c1p | ./pipeline.sh ../resources/demos/1c1p/main.tex |
| 2c1p | ./pipeline.sh ../resources/demos/2c1p/main.tex |
Each run generates phrases.txt, builds
<label>.pdf, runs run.sh and writes
run.log and pipeline.json to
tests/out/<variant>/. The 600 dpi
pass renders each built PDF with pdftoppm -r 600 -gray -png, runs
tesseract on every page, and scores the output with the same
check.py and order.py.