Commit Graph

4618 Commits

Author SHA1 Message Date
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
Yury Delendik
5631e5ba54 Merge pull request #2562 from vyv03354/master
Fix a problem about Japanese PDFs without embedded fonts
2013-01-14 14:07:36 -08:00
mduan
48fa0172ed Support corrupted pdfs that are encrypted but lack 'ID' in trailer 2013-01-14 13:43:10 -08:00
vyv03354
bff75fa629 Added a test PDF having Identity-H encoding without embedded font 2013-01-13 04:21:30 +09:00
vyv03354
0980b4c322 Fix a problem about Japanese PDFs without embedded fonts 2013-01-12 11:18:44 -06:00
Yury Delendik
d111003cdb Merge pull request #2548 from brendandahl/isdict-fix
Fix isDict when type is missing in dictionary.
2013-01-11 15:02:06 -08:00
Yury Delendik
4ec5c3cb9a Merge pull request #2551 from Haebaru/master
Updated Japanese locale
2013-01-11 05:57:16 -08:00
haebaru
45a765f6d9 Updated Japanese locale 2013-01-11 22:50:52 +09:00
Brendan Dahl
a79f005527 Fix isDict when type is missing in dictionary. 2013-01-10 16:32:26 -08:00
Yury Delendik
2ccad4ca45 Merge pull request #2538 from xavier114fch/zh-TW
Update zh-TW translation
2013-01-08 16:50:01 -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
Xavier Fung
4d1b4fad35 Update zh-TW translation 2013-01-09 04:37:28 +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
fe3697a977 Merge pull request #2521 from brendandahl/remove-cff-test
Temporarily remove cid_cff test file.
2013-01-03 16:57:47 -08:00
Brendan Dahl
789ccc0714 Temporarily remove cid_cff test file. 2013-01-03 16:56:44 -08: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
Yury Delendik
179f3e3010 Merge pull request #2511 from Snuffleupagus/fix-RTL-outline
Fixes the Outline view in RTL languages, follow up of #2510
2013-01-03 08:26:07 -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
Snuffleupagus
d3836c0173 Fixes the Outline view in RTL languages, follow up of #2510 2012-12-28 13:26:30 +01:00
Yury Delendik
956d5b0ba8 Merge pull request #2510 from Snuffleupagus/outline-word-wrap
Add word wrap of text in the Outline view to avoid horizontal scrolling
2012-12-27 13:47:40 -08:00
Snuffleupagus
727505b85d Add word wrap of text in the Outline view to avoid horizontal scrolling 2012-12-27 18:58:09 +01:00
Yury Delendik
1826daa1d5 Refactors rescaleImage: improving quality of scanned images 2012-12-21 19:10:21 -06:00
Brendan Dahl
e22ee548f9 Merge pull request #2497 from brendandahl/use-cff-compiler
Use CFF compiler for building Type1 font.
2012-12-21 14:13:34 -08:00
Brendan Dahl
a235ec1441 Use CFF compiler for building Type1 font. 2012-12-21 14:11:58 -08:00
Brendan Dahl
4b4601d1fb Merge pull request #2481 from yurydelendik/rm-global-pb
Refactors private browsing logic
2012-12-21 09:36:28 -08:00
Yury Delendik
1e7e586da4 Refactors private browsing logic 2012-12-21 11:20:45 -06:00
Yury Delendik
d58fad87d3 Merge pull request #2491 from Schildkroete/master
Update German locale
2012-12-21 08:42:44 -08:00
Yury Delendik
fee89cc77c Merge pull request #2493 from brendandahl/wip-encode
Add support for hmoveto and vmoveto during flex.
2012-12-21 08:35:45 -08:00
Yury Delendik
1d0c005d7a Merge pull request #2488 from brendandahl/fix-migration2
Fix migration for upgraded profiles.
2012-12-21 08:04:46 -08:00
Brendan Dahl
acf64b3164 Add support for hmoveto and vmoveto during flex. 2012-12-20 11:14:10 -08:00
Schildkroete
e120f1a298 Update German locale 2012-12-20 02:23:55 +01:00
Schildkroete
5a97d89820 Update German locale 2012-12-20 02:22:24 +01:00
Schildkroete
8be2376f14 Updated German locale 2012-12-20 01:59:26 +01:00
Yury Delendik
1852f22aeb Merge pull request #2490 from Schildkroete/master
Updated German locale
2012-12-19 15:23:49 -08:00
Schildkroete
d863cad8fa Update l10n/de/viewer.properties
updated german translation
2012-12-19 23:43:17 +01:00
Brendan Dahl
b42136f8f9 Fix migration for upgraded profiles. 2012-12-19 12:15:55 -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
Yury Delendik
823cca49e8 Merge pull request #2466 from saebekassebil/filespec
Support filespec dictionary in annotations
2012-12-15 16:58:36 -08:00