Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error rendering multi-page PDF with emojis #10717

Closed
MasterOdin opened this issue Apr 9, 2019 · 0 comments · Fixed by #10727
Closed

Error rendering multi-page PDF with emojis #10717

MasterOdin opened this issue Apr 9, 2019 · 0 comments · Fixed by #10727
Labels

Comments

@MasterOdin
Copy link

MasterOdin commented Apr 9, 2019

Attach (recommended) or Link to PDF file here:
test.pdf
Document was generated using Google Docs and just copying the Balloon emoji into it from https://emojipedia.org/balloon/

Configuration:

  • Web browser and its version: Chrome 73.0.3683.86 and Firefox 66.0.2
  • Operating system and its version: Windows 10 and Mac OS X
  • PDF.js version: 2.0.943 and 2.2.129
  • Is a browser extension: No

Steps to reproduce the problem:

  1. Go to https://mozilla.github.io/pdf.js/web/viewer.html
  2. Upload test.pdf

What is the expected behavior?
Render PDF fully

What went wrong?
It renders the first page, but fails to render the second, throwing the following error:

PDF.js v2.2.129 (build: 725a6959)
Message: Requesting object that isn't resolved yet img_p0_2.
Stack: Error: Requesting object that isn't resolved yet img_p0_2.
    at PDFObjects.get (https://mozilla.github.io/pdf.js/build/pdf.js:11908:15)
    at CanvasGraphics_executeOperatorList [as executeOperatorList] (https://mozilla.github.io/pdf.js/build/pdf.js:14801:24)
    at CanvasGraphics_showType3Text [as showType3Text] (https://mozilla.github.io/pdf.js/build/pdf.js:15556:14)
    at CanvasGraphics_showText [as showText] (https://mozilla.github.io/pdf.js/build/pdf.js:15372:21)
    at CanvasGraphics_executeOperatorList [as executeOperatorList] (https://mozilla.github.io/pdf.js/build/pdf.js:14791:22)
    at InternalRenderTask._callee$ (https://mozilla.github.io/pdf.js/build/pdf.js:12149:51)
    at tryCatch (https://mozilla.github.io/pdf.js/build/pdf.js:12235:17)
    at Generator.invoke [as _invoke] (https://mozilla.github.io/pdf.js/build/pdf.js:12410:22)
    at Generator.prototype.(anonymous function) [as next] (https://mozilla.github.io/pdf.js/build/pdf.js:12278:21)
    at asyncGeneratorStep (https://mozilla.github.io/pdf.js/build/pdf.js:9788:103)
@MasterOdin MasterOdin changed the title Error rendering PDF with many emojis Error rendering multi-page PDF with emojis Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants