Three demo variants · 30 October 2026 · full test run

Lucid CV demo résumé: three variants compared

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.

3 variants17 engines 111 / 77 / 89 phrases24/24 tests passed LuaHBTeX 1.24.0 (TeX Live 2026)

Introduction

The three variants

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.

1c2p1c1p 2c1p
columns × pages1 × 21 × 12 × 1
compressed stylenoyesyes
other layout changesnone margins 1.2/1.1 cm, name 32 pt, tagline 13 pt, section 12 pt, tighter gaps none
photo4.0 cmnone3.6 cm
PDF size235,697 bytes143,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.

How the résumé is read back

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.

Strict and advisory engines

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.

Engines1c2p1c1p 2c1p
tesseractadvisoryadvisoryadvisory
poppler-layout, ghostscript, pdfbox-sortedstrictstrict advisory
poppler, pdfminerstrictstrict strict for phrases, advisory for order
the other eleven, incl. the four tag readersstrictstrictstrict

Scoreboard

Eight tests can fail a résumé; the word-gap test only reports. Every variant was built and tested from scratch.

Test1c2p1c1p 2c1p
real word spacespass passpass
word-gap charactersreport clean report cleanreport clean
icons as whitespacepass passpass
PDF/A-2B conformancepass passpass
PDF/UA-1 conformancepass passpass
XMP metadatapass passpass
hidden textpass passpass
text extractionpass pass pass 3 advisory losses
reading orderpass pass pass 4 advisory < 1.00

1 · Real word spaces

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.

Font1c2p 1c1p2c1p
Inter-Light (body text)516283325
Inter-LightItalic5—5
Inter-SemiBold1767
SourceSans3-Light128126110
SourceSans3-Semibold574344
SourceCodePro-Light222
total, all text fonts725 460493
resultpass passpass

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.

2 · Word-gap characters

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.

1c2p1c1p 2c1p
engines with only U+0020 gaps17/17 17/1717/17
gaps that would join words in Java000
resultreport clean report cleanreport 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.

3 · Icons extract as whitespace

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 font1c2p 1c1p2c1p
FontAwesome5Brands-Regular2 ok2 ok2 ok
FontAwesome5Free-Solid6 ok5 ok5 ok
resultpass passpass

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.

4 · PDF/A-2B conformance

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.

Check1c2p1c1p 2c1p
identificationPDF/A-2BPDF/A-2BPDF/A-2B
fonts embeddedallallall
output intentpresentpresentpresent
embedded files / forbidden actions / encryptionnonenonenone
PDF1.7, tagged1.7, tagged1.7, tagged
veraPDF 1.30.2pass passpass

5 · PDF/UA-1 conformance

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.

Check1c2p1c1p 2c1p
identificationPDF/UA-1PDF/UA-1PDF/UA-1
tagged (structure tree)yesyesyes
tab order follows the structureyesyesyes
links, with a description6 of 66 of 65 of 5
images, with alternative text1 of 1none1 of 1
veraPDF 1.30.2pass passpass

6 · XMP metadata

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.

Field1c2p1c1p 2c1p
XMP packetpresentpresentpresent
titleAdrian Castellanos -- Curriculum Vitae
authorAdrian Castellanos
subjectSenior Software Engineer
keywords6, matching the legacy dictionary
languageen-USen-USen-US
viewer shows the titleyesyesyes
resultpass passpass

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.

7 · Hidden text

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.

Check1c2p 1c1p2c1p
characters (of which whitespace)5,917 (736)3,882 (467)3,717 (500)
faintest text, contrast on white1.51:11.51:11.51:1
invisible / faint / transparent / tiny000
off-page / stacked / under an image000
resultpass passpass

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.

8 · Text extraction

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.

Engine1c2p 1c1p2c1p
poppler111/11177/7789/89
poppler-raw111/11177/7789/89
poppler-layout111/11177/7761/89 advisory
poppler-struct111/11177/7789/89
mupdf111/11177/7789/89
pdfium111/11177/7789/89
pdfminer111/11177/7789/89
ghostscript111/11177/7760/89 advisory
pdfjs-old111/11177/7789/89
pdfjs-new111/11177/7789/89
pdfjs-struct111/11177/7789/89
pdfbox111/11177/7789/89
pdfbox-sorted111/11177/7763/89 advisory
tika111/11177/7789/89
tika-struct111/11177/7789/89
itext-struct111/11177/7789/89
tesseract (OCR)106/111 advisory76/77 advisory86/89 advisory

Two-column splicing in 2c1p

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.

What poppler-layout extracts from 2c1p, verbatim
Senior 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-layout28experience 10, open-source projects 6, technical skills 3, certifications 3, talks & languages 3, education 2, about 1
ghostscript29experience 11, open-source projects 6, technical skills 3, certifications 3, talks & languages 3, education 2, about 1
pdfbox-sorted26experience 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é.

Tesseract: OCR misses by cause

Cause1c2p 1c1p2c1p
phone digit groups run together (+1 3105550142)111
capital I read as l (CI/CD → Cl/CD, Idempotent → ldempotent)201
other misread letter (gRPC → JRPC)100
stray character (Verilog – → Verilog -—)100
wrapped date read as two blocks (09/2012 – / 06/2018)001
total5/1111/773/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.

9 · Reading order

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 score1c2p 1c1p2c1p
poppler1.00 (104/104)1.00 (69/69)0.95 (78/82) advisory
poppler-raw1.00 (104/104)1.00 (69/69)1.00 (82/82)
poppler-layout1.00 (104/104)1.00 (69/69)0.56 (30/54) advisory
poppler-struct1.00 (104/104)1.00 (69/69)1.00 (82/82)
mupdf1.00 (104/104)1.00 (69/69)1.00 (82/82)
pdfium1.00 (104/104)1.00 (69/69)1.00 (82/82)
pdfminer1.00 (104/104)1.00 (69/69)1.00 (82/82) advisory
ghostscript1.00 (104/104)1.00 (69/69)0.57 (30/53) advisory
pdfjs-old1.00 (104/104)1.00 (69/69)1.00 (82/82)
pdfjs-new1.00 (104/104)1.00 (69/69)1.00 (82/82)
pdfjs-struct1.00 (104/104)1.00 (69/69)1.00 (82/82)
pdfbox1.00 (104/104)1.00 (69/69)1.00 (82/82)
pdfbox-sorted1.00 (104/104)1.00 (69/69)0.55 (31/56) advisory
tika1.00 (104/104)1.00 (69/69)1.00 (82/82)
tika-struct1.00 (104/104)1.00 (69/69)1.00 (82/82)
itext-struct1.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 engines1.001.00 except poppler 0.80 report1.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.

poppler in 1c1p: the second contact line comes first. poppler outputs 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.
Reference order (poppler-raw): section headings in 2c1p
AboutExperienceEducationOpen-Source ProjectsTechnical SkillsCertificationsTalks & Languages

The left column first, then the right one, as the PDF stores them and as the tags declare them.

What 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.

Summary

TestPasses in all three? Where variants differ
real word spacesyesno difference: 725 / 460 / 493 real space characters
word-gap charactersreportno difference: U+0020 only, 17 of 17 engines
icons as whitespaceyesno difference: 8 / 7 / 7 icon glyphs, all as spaces
PDF/A-2Byesno difference
PDF/UA-1yesno difference: every link described, every image with alternative text
XMP metadatayesno difference
hidden textyesno difference: nothing hidden, faintest text 1.51:1
text extractionyes2c1p: 3 side-by-side engines lose 26–29 phrases (advisory); Tesseract misses 5 / 1 / 3 everywhere (advisory)
reading orderyes2c1p: 4 position-sorting engines at 0.55–0.95 (advisory); 1c1p: poppler reorders the header (reported)

Limits

Appendix

Environment

lualatexLuaHBTeX 1.24.0 (TeX Live 2026)
python3.14.6 (env/python)
pymupdf1.28.2
pypdfium25.13.0
pdfminer.six20260107
popplerpdftotext / pdfinfo 26.01.0
ghostscript10.06.0
tesseract5.5.3
javaOpenJDK 25.0.3
pdfbox / tika3.0.5 / 3.2.3
tika (tika-struct)4.2.0
itext9.8.0
nodev20.18.1
pdf.js2.5.207 (old), 4.10.38 (new, struct)
veraPDF1.30.2

Reproduce

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.