Skip to content

Not working with PDF output from chromium 136 #389

@robross0606

Description

@robross0606

With chromium 135 on Linux, I am able to save a simple PDF file then parse it with pdf2json. The content show up in each page's Texts property.

With the same simple PDF content saved from chromium 136, parsing with pdf2json results in all Texts being an empty array.

{
  "Transcoder": "pdf2json@3.1.5 [https://github.com/modesty/pdf2json]",
  "Meta": {
    "PDFFormatVersion": "1.4",
    "IsAcroFormPresent": false,
    "IsXFAPresent": false,
    "Title": "tmp-34722-xETce7Wa4bRR-.html",
    "Creator": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/136.0.0.0 Safari/537.36",
    "Producer": "Skia/PDF m136",
    "CreationDate": "D:20250519171424+00'00'",
    "ModDate": "D:20250519171424+00'00'",
    "Metadata": {}
  },
  "Pages": [
    {
      "Width": 38.25,
      "Height": 49.5,
      "HLines": [],
      "VLines": [],
      "Fills": [],
      "Texts": [],
      "Fields": [],
      "Boxsets": []
    }
  ]
}

Here is the simple PDF saved from chromium 136.

test.pdf

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions