1
Corrupted PDF: Unexpected token Unknown before xxx
Problem reported by Pavan Chaudhari - 1/17/2025 at 3:51 AM
Resolved
Dear Cem / Team,
we are getting below issue and some document not render properly
kindly help asap.
Original Document


viewer Document

2 Replies

Reply to Thread
0
Cem Alacayir Replied
Employee Post
It seems your PDF document is corrupted (internal Catalog has wrong offses). In v7.x, we don't repair PDF documents when opening but maybe we should (we opted out, thinking it may have a little performance impact).
0
Cem Alacayir Replied
Employee Post Marked As Resolution
Ok, we have a fix for this:

Version 7.3.2 - February 11, 2025

  • Improved: Repair PDF documents (basic cross reference offset issues) when opening/converting, for example to prevent errors like:
    "Unexpected token Unknown before xxx"
    "Invalid Root reference"

Reply to Thread