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
2013-01-15 14:07:16 -08:00
mduan
fadcb71c21
Handle missing 'FontName' entry in FontDescriptor object
2013-01-15 11:48:20 -08:00
Yury Delendik
e61b104852
Merge pull request #2547 from mduan/issue2085
...
Support corrupted pdfs that are encrypted but lack 'ID' in trailer
2013-01-14 14:51:42 -08:00
mduan
48fa0172ed
Support corrupted pdfs that are encrypted but lack 'ID' in trailer
2013-01-14 13:43:10 -08:00
vyv03354
0980b4c322
Fix a problem about Japanese PDFs without embedded fonts
2013-01-12 11:18:44 -06:00
Brendan Dahl
a79f005527
Fix isDict when type is missing in dictionary.
2013-01-10 16:32:26 -08:00
Brendan Dahl
e978ea2617
Merge pull request #2540 from mduan/handle-broken-hex-string
...
Handle broken hex string
2013-01-08 15:54:43 -08:00
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.
2013-01-08 15:29:24 -08:00
Brendan Dahl
3aea29c7aa
Merge pull request #2526 from yurydelendik/create-os2
...
Fixes creation of OS/2 table
2013-01-08 12:11:42 -08:00
Yury Delendik
318e7f6949
Merge pull request #2500 from brendandahl/private-entries
...
Add support for more Type1 private dictionary entries.
2013-01-08 11:24:38 -08:00
Brendan Dahl
9635612034
Merge pull request #2525 from yurydelendik/version-info
...
Traces pdf.js version
2013-01-08 11:17:42 -08:00
Brendan Dahl
2cbb35362e
Add support for more Type1 private dictionary entries.
2013-01-08 10:44:39 -08:00
Brendan Dahl
7d9938df5f
Merge pull request #2520 from yurydelendik/disable-blues
...
Disables *Blue* values when HINT_ENABLED == false
2013-01-04 16:21:29 -08:00
Yury Delendik
aa93eac261
Fixes creation of OS/2 table
2013-01-04 11:41:24 -06:00
Brendan Dahl
bf0abd61d1
Merge pull request #2505 from yurydelendik/refactor-cff-float
...
Refactors encodeFloat, font matrix and flex args
2013-01-04 09:24:58 -08:00
Brendan Dahl
c05f073a73
Merge pull request #2454 from yurydelendik/worker-xhr-response
...
Tests presence of the xhr-response in the worker
2013-01-04 09:12:01 -08:00
Yury Delendik
7b70710565
Traces pdf.js version
2013-01-04 11:01:31 -06:00
Yury Delendik
10bb6c9ec0
Refactors font matrix operations
2013-01-03 22:38:14 -06:00
Yury Delendik
ccfa0e1972
Refactors encodeFloat and flex args
2013-01-03 18:33:15 -06:00
Yury Delendik
eca6c6cb5d
Disables *Blue* values when HINT_ENABLED == false
2013-01-03 17:06:52 -06:00
Yury Delendik
089b60d848
Merge pull request #2463 from brendandahl/remove-cid-keys
...
Remove cid dictionary values for normalized fonts.
2013-01-03 10:24:49 -08:00
Brendan Dahl
bf1a4adf61
Merge pull request #2499 from yurydelendik/rescale
...
Refactors rescaleImage: improving quality of scanned images
2012-12-28 12:04:49 -08:00
Yury Delendik
1826daa1d5
Refactors rescaleImage: improving quality of scanned images
2012-12-21 19:10:21 -06:00
Brendan Dahl
a235ec1441
Use CFF compiler for building Type1 font.
2012-12-21 14:11:58 -08:00
Brendan Dahl
acf64b3164
Add support for hmoveto and vmoveto during flex.
2012-12-20 11:14:10 -08:00
Yury Delendik
a2c6429cce
Merge pull request #2465 from brendandahl/fix-expansion-factor
...
Fix cff private dictionary key.
2012-12-15 20:53:11 -08:00
Jakob Miland
4efab13c58
Support Filespec dictionary in annotations
2012-12-15 00:36:53 +01:00
Brendan Dahl
852ff7753b
Fix cff private dictionary key.
2012-12-14 12:44:39 -08:00
Brendan Dahl
575f2dd8b1
Remove cid dictionary values for normalized fonts.
2012-12-13 12:32:45 -08:00
Brendan Dahl
78498ce648
Merge pull request #2448 from yurydelendik/issue-2386
...
Fixes encoding in CFF fonts
2012-12-11 13:31:15 -08:00
Yury Delendik
0e70aacc51
Tests presence of the xhr-response in the worker
2012-12-11 11:07:58 -06:00
Brendan Dahl
6ae135539d
Warn on opentype fonts.
2012-12-10 14:59:23 -08:00
Brendan Dahl
b4adbe4967
Merge pull request #2417 from yurydelendik/inline-images
...
Removes "too many inline images" limit
2012-12-10 09:32:24 -08:00
Yury Delendik
b63da8bc82
Fixes encoding reading in CFF fonts
2012-12-09 12:57:40 -06:00
Yury Delendik
cae62341ac
Split large image groups into smaller chunks
2012-12-07 17:19:06 -06:00
Yury Delendik
a0bc215a86
Removes comment per #2372
2012-12-07 14:28:17 -06:00
Yury Delendik
d71c702dcf
Removes "too many inline images" limit
2012-12-07 12:19:43 -06:00
Brendan Dahl
0910c5e68e
Merge pull request #2425 from yurydelendik/detect-fonts-off
...
Detecting if web fonts are disabled in Firefox.
2012-12-06 13:30:07 -08:00
Yury Delendik
859aad138c
Merge pull request #2432 from yurydelendik/setDash
...
Using setListDash for dashed lines
2012-12-04 13:58:48 -08:00
Brendan Dahl
39038b7377
Rescale regular images manually if they are too big.
2012-12-04 09:36:42 -08:00
Yury Delendik
a7f0e9612a
Using setDash for dashed lines
2012-12-04 08:26:10 -06:00
Yury Delendik
500421ddd2
Fixes "TypeError: info is undefined"
2012-11-30 17:36:39 -06:00
Yury Delendik
3346c284ab
Excluding Type3 fonts from the check; removing dead code
2012-11-30 17:31:22 -06:00
Yury Delendik
5dc87a7fca
Detecting if web fonts are disable in Firefox.
2012-11-30 17:08:19 -06:00
Yury Delendik
0dc137a0df
Refactors Lab CS; uses different conversion for D50 and D65; adds getRgbItem
2012-11-30 12:46:55 -06:00
Yury Delendik
223ad0c117
Merge pull request #2418 from yurydelendik/refactor-cs
...
Initial refactoring to reduce amount of getRgb calls and objects creation
2012-11-30 07:01:20 -08:00
Yury Delendik
0029b34d45
Refactors getRgb and makeCssRgb calls; reduces amount of created objects
2012-11-29 17:11:51 -06:00
Brendan Dahl
abaed05174
Merge pull request #2346 from yurydelendik/info
...
Adds basic PDF info
2012-11-29 12:30:06 -08:00
Brendan Dahl
00fad28284
Merge pull request #2406 from yurydelendik/issue-2006
...
Fixes function array support for radial/axial pattern
2012-11-29 12:26:50 -08:00
Yury Delendik
2c87a6467b
Fixes function array support for radial/axial pattern
2012-11-24 15:13:13 -06:00