Commit Graph

4683 Commits

Author SHA1 Message Date
Yury Delendik
cca1a68adf Merge pull request #2572 from mduan/issue2477
Make canvas transform matrix account for devicePixelRatio
2013-01-30 20:25:43 -08:00
Yury Delendik
3273d72e2d Merge pull request #2584 from mduan/issue2537
Add sanitization of truetype fonts to fix #2531 and #2537
2013-01-30 19:51:13 -08:00
mduan
e4c3b4501d Sanitization of truetype fonts to fix #2537 2013-01-30 19:01:53 -05:00
Yury Delendik
cea46c4e51 Merge pull request #2635 from brendandahl/content-disposition-filename
Use attachment content disposition attachment and filename.
2013-01-30 15:40:23 -08:00
Brendan Dahl
1c4b780176 Use attachment content disposition attachment and filename. 2013-01-30 18:34:22 -05:00
mduan
0527b8bc8d Fix invalid version number in truetype 'head' table 2013-01-30 16:52:19 -05:00
Brendan Dahl
83dd94257a Merge pull request #2636 from mduan/fix_first_page
Make firstPage work in test_manifest.json and rename pageLimit to lastPage
2013-01-30 13:50:10 -08:00
mduan
6bacb38692 Make canvas transform matrix account for devicePixelRatio 2013-01-30 16:06:12 -05:00
mduan
d0c4854c2d Indent code in test.py properly 2013-01-30 15:37:05 -05:00
mduan
48c15b70db Make firstPage work in test_manifest.json + rename pageLimit -> lastPage 2013-01-30 15:00:11 -05:00
Brendan Dahl
f18655fab9 Merge pull request #2614 from yurydelendik/intermit-fullscreen
Fixes intermittent rendering stop
2013-01-30 11:59:08 -08:00
Yury Delendik
0f9b63e8be Merge pull request #2634 from Pomax/type1-string-index-SIDs
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:33:31 -08:00
Yury Delendik
8504a3b6b3 Merge pull request #2606 from mduan/issue1512
For TTFs, implement section 9.6.6.4 from the PDF specs
2013-01-30 11:12:27 -08:00
mduan
5bffd2e7d8 Implement 9.6.6.4 of pdf spec for truetype fonts 2013-01-30 13:01:32 -05:00
Yury Delendik
8c78268a12 Merge pull request #2628 from mduan/issue2128
Add support for GBK-EUC-H encoding for cid fonts
2013-01-30 09:44:24 -08:00
Yury Delendik
d61d9a23ed Merge pull request #2624 from vyv03354/bug835661
Add Hankaku-Latin cid to Unicode mappings
2013-01-30 08:26:45 -08:00
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
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
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