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.
13 years ago
mduan
b718a3604a
Default to a built-in font if an invalid non-embedded font is encountered
13 years ago
vyv03354
38ffebc987
Supports 'H/V', 'EUC-H/V' and '90ms*' CMaps
13 years ago
mduan
317db2e7c6
Do not error when an EndOfPage segment is encountered in jbig2
13 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
13 years ago
mduan
fadcb71c21
Handle missing 'FontName' entry in FontDescriptor object
13 years ago
mduan
4f1e94c9f7
Fix bug w/ exception not being passed to error callbacks of a Promise
13 years ago
mduan
48fa0172ed
Support corrupted pdfs that are encrypted but lack 'ID' in trailer
13 years ago
vyv03354
0980b4c322
Fix a problem about Japanese PDFs without embedded fonts
13 years ago
Brendan Dahl
a79f005527
Fix isDict when type is missing in dictionary.
13 years ago
Brendan Dahl
b5278c5e27
Evaluate type 1 charstrings for conversion to type 2.
13 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.
13 years ago
Brendan Dahl
2cbb35362e
Add support for more Type1 private dictionary entries.
13 years ago
Yury Delendik
aa93eac261
Fixes creation of OS/2 table
13 years ago
Yury Delendik
7b70710565
Traces pdf.js version
13 years ago
Yury Delendik
10bb6c9ec0
Refactors font matrix operations
13 years ago
Yury Delendik
ccfa0e1972
Refactors encodeFloat and flex args
13 years ago
Yury Delendik
eca6c6cb5d
Disables *Blue* values when HINT_ENABLED == false
13 years ago
Yury Delendik
1826daa1d5
Refactors rescaleImage: improving quality of scanned images
13 years ago
Brendan Dahl
a235ec1441
Use CFF compiler for building Type1 font.
13 years ago
Brendan Dahl
acf64b3164
Add support for hmoveto and vmoveto during flex.
13 years ago
Jakob Miland
4efab13c58
Support Filespec dictionary in annotations
13 years ago
Brendan Dahl
852ff7753b
Fix cff private dictionary key.
13 years ago
Brendan Dahl
575f2dd8b1
Remove cid dictionary values for normalized fonts.
13 years ago
Yury Delendik
0e70aacc51
Tests presence of the xhr-response in the worker
13 years ago
Brendan Dahl
6ae135539d
Warn on opentype fonts.
13 years ago
Yury Delendik
b63da8bc82
Fixes encoding reading in CFF fonts
13 years ago
Yury Delendik
cae62341ac
Split large image groups into smaller chunks
13 years ago
Yury Delendik
a0bc215a86
Removes comment per #2372
13 years ago
Yury Delendik
d71c702dcf
Removes "too many inline images" limit
13 years ago
Brendan Dahl
39038b7377
Rescale regular images manually if they are too big.
13 years ago
Yury Delendik
a7f0e9612a
Using setDash for dashed lines
13 years ago