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

Document doesn't show scanned image, also fonts are ugly #3591

Closed
yurivict opened this issue Aug 18, 2013 · 1 comment
Closed

Document doesn't show scanned image, also fonts are ugly #3591

yurivict opened this issue Aug 18, 2013 · 1 comment

Comments

@yurivict
Copy link

Here is the page: http://harpers.org/wp-content/uploads/HarpersMagazine-1989-09-0059029.pdf

Acrobat shows it as scanned image. Pdfjs doesn't. What makes it worse, font displayed is very messy. Letters 'i' and 'l' are thicker then the rest, spaces are unreasonable.

@brendandahl
Copy link
Contributor

[09:25:08.714] "Warning: JPX error: Unknown codestream code: ff55. Trying to recover"
[09:25:09.714] "Warning: Unhandled rejection: TypeError: codingStyleParameters is undefined
transformTile@resource://pdf.js/build/pdf.worker.js:34262
transformComponents@resource://pdf.js/build/pdf.worker.js:34333
JpxImage_parseCodestream@resource://pdf.js/build/pdf.worker.js:33663
JpxImage_parse@resource://pdf.js/build/pdf.worker.js:33415
JpxStream_ensureBuffer@resource://pdf.js/build/pdf.worker.js:31503
DecodeStream_getBytes@resource://pdf.js/build/pdf.worker.js:30760
PDFImage_getImageBytes@resource://pdf.js/build/pdf.worker.js:26951
PDFImage_fillRgbaBuffer@resource://pdf.js/build/pdf.worker.js:26883
PDFImage_getImageData@resource://pdf.js/build/pdf.worker.js:26946
PartialEvaluator_buildPaintImageXObject/<@resource://pdf.js/build/pdf.worker.js:14082
PDFImage_buildImage/<@resource://pdf.js/build/pdf.worker.js:26599
runHandlers@resource://pdf.js/build/pdf.worker.js:782
"

fkaelberer added a commit to fkaelberer/pdf.js that referenced this issue Apr 30, 2014
joelkuiper added a commit to joelkuiper/pdf.js that referenced this issue Jun 16, 2014
* 'master' of https://github.com/mozilla/pdf.js: (41 commits)
  Add larger zoom values to zoom dropdown box
  Prevent rendering unnecessary pages when the HOME/END keys are pressed
  Refactoring error reporting in JPX
  Adds test case for JPX COC marker
  Fix mozilla#3591 / list unsupported options
  SHA512 optimizations
  Added support for decrypting PDF 1.7/2.0 Algorithm 5 revision 5 and 6. *Added AES128 Encryption *Added AES258 Encryption/Decryption *Added SHA256 *Added SHA512 *Added class to handle 8 byte integers and associated bit operations *Added SHA384 *Added routines to handle new algorithm and perform PDF2.0 hashing.
  Fix PageView cache re-insertions.
  Halve the size of the PageView cache.
  Fix mishandling of incomplete, inverted masks.
  Cache pages at the start of drawing, not the end.
  Limit the size of canvases to 5MP (iOS restriction)
  Re-add Attachment strings to the Swedish l10n
  Imports most recent l10n files
  Reverting back disableWebGL preferences check
  Removes statcmp.py
  Protects PDFJS.disableXXX == true from change
  Fixes drawImage for thumbs
  Return ErrorFont in loadFont when the fontRef is undefined
  Zero the height and width of the PageView canvas before deleting.
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants