Commit Graph

5820 Commits

Author SHA1 Message Date
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 2013-01-30 11:15:08 -05:00
Yury Delendik
20fa06c36d Merge pull request #2633 from brendandahl/disable-print-selection
Disable printing a selection for Firefox.
2013-01-30 07:04:25 -08:00
mduan
81399ee068 Add support for GBK-EUC-H encoding for cid fonts 2013-01-30 09:35:52 -05:00
Brendan Dahl
971e202f0b Disable printing a selection for Firefox. 2013-01-30 09:22:00 -05:00
vyv03354
a8aed74431 Add Hankaku-Latin cid to Unicode mappings 2013-01-30 21:48:18 +09:00
Yury Delendik
a68e11c81a Merge pull request #2631 from xavier114fch/zh-TW
Update zh-TW translation
2013-01-29 20:56:00 -08:00
Xavier fung
3ef5b6e8f2 Update zh-TW translation 2013-01-30 10:36:47 +08:00
Yury Delendik
c9218e5aad Merge pull request #2625 from brendandahl/threaded-server
Switch to threaded python server for tests.
2013-01-29 14:31:48 -08:00
Yury Delendik
b5a38ded4c Fixes reading of the widths for CID fonts 2013-01-29 17:19:08 -05:00
Yury Delendik
7f8ec9c48e Merge pull request #2626 from wfwalker/addmissingpdfexception
fix for #2219, "provide a better error message when file= not found/acce...
2013-01-29 14:06:09 -08:00
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
2013-01-29 13:17:04 -08:00
Brendan Dahl
aa23916326 Switch to threaded python server for tests. 2013-01-29 15:43:19 -05:00
Brendan Dahl
7bd8887860 Merge pull request #2613 from yurydelendik/wait-animation
Wait for animation frame before displaying stuff
2013-01-28 08:48:59 -08:00
Yury Delendik
9a5ecae2a3 Wait for animation frame before displaying stuff 2013-01-28 10:24:09 -06:00
Snuffleupagus
e08e326a67 Automatically resize the zoom box width to fit the content 2013-01-26 22:17:37 +01:00
Yury Delendik
9af6e05456 Merge pull request #2615 from vyv03354/master
Fixes CFF parser failure when CharStrings contains cntrmask
2013-01-26 08:46:34 -08:00
Yury Delendik
df731e7d9d Merge pull request #2527 from brendandahl/type1-charstrings
Evaluate type 1 charstrings for conversion to type 2.
2013-01-26 07:45:23 -08:00
vyv03354
a254de86fb CFF parser didn't count hints defined by hstem/vstem 2013-01-26 22:08:45 +09:00
Yury Delendik
ddcbc4ddff Fixes intermittent rendering stop 2013-01-25 15:28:12 -06:00
Brendan Dahl
f7a0d6ccc4 Merge pull request #2607 from yurydelendik/mozL10n-ext-fix
Fixes dir attribute for the extension
2013-01-25 12:23:38 -08:00
Yury Delendik
9a58bc9aba Merge pull request #2581 from brendandahl/fix-cid
Fix normalized CID fonts for direct write 6.1.
2013-01-25 06:23:17 -08:00
Yury Delendik
9d3f7a0a0d Merge pull request #2590 from Snuffleupagus/pageNumber-float-fix
Improve the behaviour of the pageNumber input field
2013-01-24 15:54:54 -08:00
Yury Delendik
2057855c8a Merge pull request #2602 from vyv03354/issue2598
Update font name matching for Type 0 CIDFont
2013-01-24 15:40:39 -08:00
Yury Delendik
dbe633d324 Fix dir attribute for the extension 2013-01-24 17:35:19 -06:00
Yury Delendik
42c00b09bc Merge pull request #2597 from vyv03354/master
Fixes non-Japanese characters spacing
2013-01-24 07:42:47 -08:00
vyv03354
622276ecc8 Update font name matching for Type 0 CIDFont 2013-01-24 08:03:13 +09:00
Yury Delendik
693d8a11b2 Fixes feature tests misleading success results 2013-01-23 15:31:52 -06:00
vyv03354
0df411a3da Fixes non-Japanese characters spacing 2013-01-24 01:23:22 +09:00
Brendan Dahl
a0313bef22 Merge pull request #2570 from mduan/issue2556
Fix bug w/ exception not being passed to error callbacks of a Promise
2013-01-22 14:46:08 -08:00
Snuffleupagus
c901f2f289 Improve the behaviour of the pageNumber input field 2013-01-21 18:30:59 +01:00
Yury Delendik
d467790bc6 Merge pull request #2585 from xiaojsoft/master
Updated Chinese Simplified (zh-CN) locale
2013-01-20 16:48:11 -08:00
XiaoJSoft
e30ce91f0b Updated Chinese Simplified Locale 2013-01-19 15:22:57 +08:00
Brendan Dahl
45daf4e936 Merge pull request #2557 from mduan/issue2391-invalid-font
Default to a built-in font if an invalid non-embedded font is encountered
2013-01-18 12:35:59 -08:00
Brendan Dahl
71b1022fb0 Merge pull request #2509 from Snuffleupagus/tweak-thumbnail-scrolling
Add various improvements to scroll Thumbnails into view
2013-01-18 12:35:13 -08:00
Brendan Dahl
dc914fe7ce Fix normalized CID fonts for direct write 6.1. 2013-01-18 11:05:38 -08:00
mduan
b718a3604a Default to a built-in font if an invalid non-embedded font is encountered 2013-01-16 13:57:41 -08:00
Yury Delendik
aac622a9b1 Merge pull request #2567 from vyv03354/master
Supports 'H/V', 'EUC-H/V' and '90ms*' CMaps
2013-01-16 08:07:33 -08:00
Yury Delendik
a3dd0098e0 Merge pull request #2571 from mduan/issue2129
Do not error when an EndOfPage segment is encountered in jbig2
2013-01-16 07:32:45 -08:00
vyv03354
2ef50c5068 Added tests for PDFs having 'H', 'EUC-H', and '90ms' encodings 2013-01-17 00:13:34 +09:00
Yury Delendik
ab8caaa408 Merge pull request #2574 from Snuffleupagus/pagechange-with-up/down-keys-pagefit
Change page with up/down arrow keys when zoom is set to 'page-fit'
2013-01-16 06:45:52 -08:00
vyv03354
deba913651 Merge branch 'master' of https://github.com/mozilla/pdf.js 2013-01-16 23:40:32 +09:00
Snuffleupagus
2d028e64c5 Change page with up/down arrow keys when zoom is set to 'page-fit' 2013-01-16 15:06:10 +01:00
vyv03354
38ffebc987 Supports 'H/V', 'EUC-H/V' and '90ms*' CMaps 2013-01-16 21:58:18 +09:00
mduan
317db2e7c6 Do not error when an EndOfPage segment is encountered in jbig2 2013-01-15 16:07:01 -08:00
Yury Delendik
fa1133f784 Merge pull request #2549 from mduan/issue2391
Skip commands that have too few arguments
2013-01-15 15:34:19 -08:00
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
Yury Delendik
4fa82683fa Merge pull request #2566 from mduan/issue2099
Handle missing 'FontName' entry in FontDescriptor object
2013-01-15 12:24:59 -08:00
mduan
fadcb71c21 Handle missing 'FontName' entry in FontDescriptor object 2013-01-15 11:48:20 -08:00
mduan
4f1e94c9f7 Fix bug w/ exception not being passed to error callbacks of a Promise 2013-01-15 11:39:12 -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