New Tool Radar

AI Design Workflows

How to Check Text in an AI-Generated PDF Export Is Selectable

Try to select and copy the text in an AI-generated PDF export, because text baked in as an image cannot be searched or read aloud.

Schematic with three steps: Try to select a paragraph of text; Paste the copied text and read it; Re-export with real text if the selection.

An AI design tool can export a PDF in which the text is a picture rather than real text, and the result looks identical on screen but cannot be searched, copied, or read by a screen reader. Adobe InDesign documents that exporting to Adobe PDF for print supports presets such as High Quality Print and PDF/X, and that accessibility options sit under the Advanced tab of the export dialog. Check the text is selectable before the PDF goes to a client or a printer.

What you need

  • The exported PDF file
  • A PDF reader with a text selection tool
  • The text the PDF should contain

Step 1: Try to select a paragraph of text

Open the PDF, drag the text selection tool across a paragraph, and copy it. If the selection highlights the words, the text is real text. If the whole page selects as one block, the text is an image.

Step 2: Paste the copied text and read it

Paste the copied text into a text editor and read it. Confirm the words are correct and in the right order, and that no characters are missing or replaced.

Step 3: Re-export with real text if the selection fails

If the text cannot be selected, re-export the PDF from the source file with a preset that keeps text as text, and check the selection again. Do not send a PDF whose text is only an image.

Worked example: synthetic text-selection check of one PDF

The table below is a synthetic example. It shows the expected result of checking one exported PDF; no PDF was sent.

Page Text selectable? Pasted text correct? Verdict
Page 1 Yes Yes Pass
Page 2 Yes Yes Pass
Page 3 No – selects as image No Fail
Page 4 Yes Yes Pass

Expected result (UNTESTED). 3 of 4 pages have selectable text, and page 3 selects as a single image block, so the PDF must be re-exported with real text on page 3. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • Selectable text is not proof the text is correct, so read the pasted text as well.
  • A PDF can have selectable text and still use a font that is not embedded, so check font embedding separately.
  • Scanned pages in a PDF are images by nature, so this check applies to exported PDFs, not scans.
  • A text layer added by OCR is selectable but can contain errors, so read it before relying on it.

Sources

See all