Error: Requesting object that isn't resolved yet on PDF even with disableFontFace
See original GitHub issueFailing 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:
- Run the demo code found in https://github.com/mozilla/pdf.js/blob/master/examples/node/pdf2png/pdf2png.js
- 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:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
#4244 has been there for 4 years, AND THERE IS STILL NO SOLUTION PROVIDED
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