question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Requesting object that isn't resolved yet on PDF even with disableFontFace

See original GitHub issue

Failing PDF: 15240917076692yt54e2iickoemgikbw486w29.pdf

Configuration:

  • Version: node v6.9.5

  • Operating system and its version: Ubuntu 16.04LTS

  • PDF.js version: 2.0.0

Steps to reproduce the problem:

  1. Run the demo code found in https://github.com/mozilla/pdf.js/blob/master/examples/node/pdf2png/pdf2png.js
  2. Console outputs:
# PDF document loaded.
(node:1211) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Requesting object that isn't resolved yet Verdana_path_C

What is the expected behavior?

A successful conversion

What went wrong?

# PDF document loaded.
(node:1211) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Requesting object that isn't resolved yet Verdana_path_C

This is happening even though the disableFontFace: true flag has been set, which seems wrong.

Thanks for any insight. Best regards, Rafa.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
diego-lipinski-de-castrocommented, Jun 4, 2018

#4244 has been there for 4 years, AND THERE IS STILL NO SOLUTION PROVIDED

0reactions
gustawdanielcommented, Jun 11, 2020

But I have this error in my project.

I was using this file as example:

https://github.com/mozilla/pdf.js/blob/master/examples/node/pdf2png/pdf2png.js

Read more comments on GitHub >

github_iconTop Results From Across the Web

when blocking document fonts, exempt PDFs - Bugzilla@Mozilla
Note: the problem does not occur with all PDFs. Warning: getPathGenerator - ignoring character: "Error: Requesting object that isn't resolved yet Times_path_U." ...
Read more >
Resolve damaged document error when opening PDF files
The product now refuses to open the small fraction of PDFs that do not correctly start with the '%PDF-' header and an error...
Read more >
Matplotlib cannot find basic fonts - Stack Overflow
No matter how many fonts I had already installed, matplotlib was having a problem with the "system" font name "sans-serif". I fixed it...
Read more >
JSDoc: Source: display/api.js
When range requests are enabled PDF.js will automatically keep; * fetching more data even if it isn't needed to display the current page....
Read more >
Safari Technology Preview Release Notes - Apple Developer
Note: Shared Tab Groups and syncing for Tab Groups, Website Settings, and Web Extensions are not enabled in this release. WebAssembly. Fixed error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found