Yury Delendik
5cf0d8fa80
Enforces maxlen for jshint
12 years ago
vyv03354
724add2ffd
Make an effort to adhere the spec 7.6.3.2
12 years ago
Jon Buckley
b3634a3826
Issue #2008 - Fix lint errors for src/worker.js
12 years ago
Jon Buckley
e48bb8d966
Issue #2008 - Fix lint errors for src/utils/fonts_utils.js
12 years ago
Jon Buckley
3b3922764e
Issue #2008 - Fix lint errors for src/util.js
12 years ago
Jon Buckley
4a292a310f
Issue #2008 - Fix lint errors for src/stream.js
12 years ago
Jon Buckley
a1a098fbee
Issue #2008 - Fix lint errors for src/pattern.js
12 years ago
Jon Buckley
315ac3ce8c
Issue #2008 - Fix lint errors for src/parser.js
12 years ago
Jon Buckley
caaf7e8032
Issue #2008 - Fix lint errors for src/obj.js
12 years ago
Jon Buckley
9b13cbee69
Issue #2008 - Fix lint errors for src/metadata.js
12 years ago
Jon Buckley
21f0ff1dcf
Issue #2008 - Fix lint errors for src/jpx.js
12 years ago
Jon Buckley
bc94a4d353
Issue #2008 - Fix lint errors for src/jbig2.js
12 years ago
Jon Buckley
f883a1f40f
Issue #2008 - Fix lint errors for src/image.js
12 years ago
Jon Buckley
9ddb4eca95
Issue #2008 - Fix lint errors for src/function.js
12 years ago
Jon Buckley
3793ca5283
Issue #2008 - Fix lint errors for src/fonts.js
12 years ago
Jon Buckley
c281805fde
Issue #2008 - Fix lint errors for src/evaluator.js
12 years ago
Jon Buckley
d7b005a79f
Issue #2008 - Fix lint errors for src/crypto.js
12 years ago
Jon Buckley
d59e2105b1
Issue #2008 - Fix lint errors for src/core.js
12 years ago
Jon Buckley
4918c6f848
Issue #2008 - Fix lint errors for src/colorspace.js
12 years ago
Jon Buckley
98c2f96260
Issue #2008 - Fix lint errors for src/canvas.js
12 years ago
Jon Buckley
d301c1f13f
Issue #2008 - Fix lint errors for src/bidi.js
12 years ago
Jon Buckley
c67d9d40b8
Issue #2008 - Fix lint errors for src/api.js
12 years ago
Yury Delendik
9c044e2c31
Fallback when AcroForm is present
12 years ago
Yury Delendik
e5a6246f70
Fixes cmap sanitizer fro #215
12 years ago
mduan
e4c3b4501d
Sanitization of truetype fonts to fix #2537
12 years ago
mduan
0527b8bc8d
Fix invalid version number in truetype 'head' table
12 years ago
mduan
6bacb38692
Make canvas transform matrix account for devicePixelRatio
12 years ago
mduan
5bffd2e7d8
Implement 9.6.6.4 of pdf spec for truetype fonts
12 years ago
Mike Kamermans
86c6bf1a67
changed the type1font cff wrapping to use offsets 391,392... instead of 0,1... for pointing to strings in the String INDEX
12 years ago
mduan
81399ee068
Add support for GBK-EUC-H encoding for cid fonts
12 years ago
vyv03354
a8aed74431
Add Hankaku-Latin cid to Unicode mappings
12 years ago
Yury Delendik
b5a38ded4c
Fixes reading of the widths for CID fonts
12 years ago
Bill Walker
12af2f9431
fix for #2219 , "provide a better error message when file= not found/accessible"
...
summary: create a new Exception class for missing PDF's, use it in place of generic
add new MissingPDFException to util.js
handle MissingPDF in api.js
handle MissingPDF in viewer.js, using new missing_file_error message
add new missing_file_error to l10n/en-US/viewer.properties
send MissingPDF from WorkerMessageHandler's loadDocument
send MissingPDF from GetDocRequest handler
12 years ago
vyv03354
a254de86fb
CFF parser didn't count hints defined by hstem/vstem
12 years ago
vyv03354
622276ecc8
Update font name matching for Type 0 CIDFont
12 years ago
vyv03354
0df411a3da
Fixes non-Japanese characters spacing
12 years ago
Brendan Dahl
dc914fe7ce
Fix normalized CID fonts for direct write 6.1.
12 years ago
mduan
b718a3604a
Default to a built-in font if an invalid non-embedded font is encountered
12 years ago
vyv03354
38ffebc987
Supports 'H/V', 'EUC-H/V' and '90ms*' CMaps
12 years ago
mduan
317db2e7c6
Do not error when an EndOfPage segment is encountered in jbig2
12 years ago
mduan
5ab3bb1e03
Skip commands that have too few arguments
...
- Commands that have too few args will be skipped
- Commands that have too many args will generate an info, but still
execute
12 years ago
mduan
fadcb71c21
Handle missing 'FontName' entry in FontDescriptor object
12 years ago
mduan
4f1e94c9f7
Fix bug w/ exception not being passed to error callbacks of a Promise
12 years ago
mduan
48fa0172ed
Support corrupted pdfs that are encrypted but lack 'ID' in trailer
12 years ago
vyv03354
0980b4c322
Fix a problem about Japanese PDFs without embedded fonts
12 years ago
Brendan Dahl
a79f005527
Fix isDict when type is missing in dictionary.
12 years ago
Brendan Dahl
b5278c5e27
Evaluate type 1 charstrings for conversion to type 2.
12 years ago
mduan
eb8f4e8343
Handle some illegal characters in hex string
...
Do not throw exception when hex strings are in the wrong format
Currently pdf.js is throwing an exception for the following hex string:
`<7 0 2 15 5 2 2 2 4 3 2 4>`
The issue is that the 15 is not a valid hex character so pdf.js ends up
throwing an exception.
This diff changes the parser to process the above hex string as follow:
`70 21 55 2 24 32` (Note: the final 4 of the hex string is ignored)
replicating the behaviour of MuPDF, and doesn't throw an exception.
12 years ago
Brendan Dahl
2cbb35362e
Add support for more Type1 private dictionary entries.
12 years ago
Yury Delendik
aa93eac261
Fixes creation of OS/2 table
13 years ago