{"version":"2.1.334","anchor":"pdf-text-extraction-detects-missing-fonts","canonical_anchor":"pdf-text-extraction-detects-missing-fonts","heading":"Reading a PDF can now fail clearly when a font is missing","tier":"notice","area":"File Reading","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/pdf-text-extraction-detects-missing-fonts","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Reading a PDF can now fail clearly when a font is missing\n\nWhen set to refuse lost text, PDF reading treats a missing font as a failure with the reason \"a font did not load\"\n\n**What**\n\nTo read text from a PDF, Claude Code can use pdftotext, a separate program that pulls the text out of a PDF file. It used to be run in quiet mode every time, so its warnings were hidden.\n\nWhen a read is set to refuse text that may have been lost, Claude Code now runs pdftotext without quiet mode and watches its warnings. If pdftotext reports that a font is missing, the read counts as a failure, and the reason given is \"a font did not load\".\n\n**Why**\n\nA PDF whose fonts cannot be loaded can produce blank or missing text. This makes that case show up as a failure instead of quietly handing back empty text.\n\n- Area: File Reading\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}