1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00
pdf.js/src
Jonas Jenwald 40feca12c1 Ignore line-breaks between operator and digit in Lexer.getNumber
This is consistent with the behaviour in Adobe Reader (and PDFium), and it fixes the display of page 30 in https://bug1354114.bmoattachments.org/attachment.cgi?id=8855457 (taken from https://bugzilla.mozilla.org/show_bug.cgi?id=1354114).

The patch also makes the `error` message for invalid numbers slightly more useful, by including the charCode as well. (Having that information available would have reduced the time spent on debugging the PDF file above.)
2017-05-02 20:59:42 +02:00
..
core Ignore line-breaks between operator and digit in Lexer.getNumber 2017-05-02 20:59:42 +02:00
display Rename FakeWorkerPort to LoopbackPort and export it 2017-05-02 11:33:19 -07:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Restore the URL.createObjectURL check to the createObjectURL utility function (issue 8344) 2017-04-27 20:57:15 +02:00
doc_helper.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
license_header.js Replace copyright headers; changes UMD to CommonJS. 2017-02-08 16:35:58 -06:00
main_loader.js Rename FakeWorkerPort to LoopbackPort and export it 2017-05-02 11:33:19 -07:00
pdf.js Rename FakeWorkerPort to LoopbackPort and export it 2017-05-02 11:33:19 -07:00
pdf.worker.entry.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
pdf.worker.js ES6 modules: remove UMD header validation 2017-03-04 21:43:25 +01:00
worker_loader.js Replaces RequireJS to SystemJS. 2017-02-27 08:32:39 -06:00