New Tool Radar

OCR & Text Layers

How to Check Bold Headings in a Scanned PDF After OCR

Check whether bold headings in a scanned PDF are recognised as headings and read in the right order, not merged into the body text.

Schematic illustration of a scanned PDF with bold headings: after OCR the heading Methods highlights alone and stays on its own line when the page is copied.

Bold headings carry the document’s structure, and OCR can merge a short bold line into the paragraph below it. Adobe’s extraction guide warns that multicolumn layouts can be read in the wrong sequence and tables can flatten into unstructured text, so headings need a check of their own.

Use the practice file

A practice document, practice-bold-headings.pdf. The file is fictional.

Page Content
1 Title in bold, “Harvest Report”
2 Section heading “Methods” in bold, then 2 paragraphs
3 Section heading “Results” in bold, then a table

Page 2 is the check page: the heading “Methods” appears there once, in bold.

Check the bold headings

Expected result. We checked the Tesseract manual and the Adobe Acrobat. We did not run any tool. The checks below are what to expect if the work is done correctly; run them yourself on the practice file.

1. Select the heading

Drag across “Methods” on page 2.

Expected result: “Methods” highlights as one word, not joined to the paragraph below.

2. Search for the heading

Use Find for “Methods”.

Expected result: 1 hit, on page 2.

3. Copy the heading and the first paragraph

Select from the heading through the end of the first paragraph and paste into a text file.

Expected result: The heading appears on its own line, above the paragraph, in the pasted text.

4. Check the second heading

Repeat the selection test for “Results” on page 3.

Expected result: “Results” also highlights on its own line.

Verdict table

Check Expected result Pass?
Select the heading “Methods” highlights as one word, not joined to the paragraph below. —
Search for the heading 1 hit, on page 2. —
Copy the heading and the first paragraph The heading appears on its own line, above the paragraph, in the pasted text. —
Check the second heading “Results” also highlights on its own line. —

Related guides: How to Use OCR Confidence Scores to Target Proofreading — How to Add a Searchable Text Layer to a Scanned PDF.

Limits

  • Bold type alone does not make a heading in the text layer: the words may be correct while the structure is lost, so check line breaks, not just spelling.
  • OCR does not repair a bad scan: blur, skew and low contrast still produce errors, so check the words that matter against the visible page.
  • UNTESTED — no OCR tool was run; all results above are expected results. The practice file is fictional.

Sources

See all