Commit Graph

4933 Commits

Author SHA1 Message Date
Yury Delendik
a3b2ad30fa Adds endchar with 4 arguments test. 2013-03-04 14:28:04 -06:00
Yury Delendik
8ee193892b Seac support for Windows 2013-03-04 12:37:59 -06:00
Yury Delendik
04599bc4d0 Merge pull request #2861 from brendandahl/save-as-2
Add save as support for Firefox.
2013-03-04 09:11:20 -08:00
Yury Delendik
9759124dd1 Merge pull request #2880 from yurydelendik/clientTop
Takes top border width in account (cont #2874)
2013-03-03 17:10:24 -08:00
Yury Delendik
3a5258d069 Takes top border width in account (cont #2874) 2013-03-03 19:08:23 -06:00
Yury Delendik
91ab83a69a Merge pull request #2872 from sgtatham/master
Fix handling of [page /XYZ null null null] destinations.
2013-03-03 15:00:54 -08:00
Simon Tatham
c164f03e5a /XYZ destinations: default to top left of the page.
The previous default in the absence of provided coordinates was the
bottom left, so that if you followed a PDF link annotation with a
destination of [page /XYZ null null null] then you would see a gutter
followed by the page _after_ the intended one, because pdf.js had
carefully aligned the lower left corner of the target page with the
top of the window.

As part of this change we allow missing x,y parameters in URLs with a
&zoom= parameter to propagate nulls into pageViewScrollIntoView
instead of being replaced with zero in pdfViewSetHash, so as to do
this substitution in one place.
2013-03-03 22:35:30 +00:00
Yury Delendik
ff3a6fab6f Merge pull request #2879 from vyv03354/type3
Skip FontName vs. BaseFont check for Type 3 fonts
2013-03-03 12:58:23 -08:00
Yury Delendik
43f70d1601 Merge branch 'ctrl0' 2013-03-03 14:42:32 -06:00
Yury Delendik
dbf22e5194 Keeping Ctrl+0 unhandled 2013-03-03 14:41:43 -06:00
vyv03354
999cac517a Skip FontName vs. BaseFont check for Type 3 fonts
Type 3 font dict does not have a BaseFont entry (see PDF Reference 9.6.5 Table 112). This check is actually causing false positives:
http://math.berkeley.edu/~daisuke/Bonn2013.pdf
http://math.berkeley.edu/~daisuke/BVSOL.pdf
http://www.ieice-hbkb.org/files/06/06gun_02hen_04.pdf
http://www.asahi-net.or.jp/~td6i-st/fuku-cathedral/new/gat.pdf
2013-03-04 05:24:43 +09:00
Yury Delendik
233308e9eb Merge pull request #2874 from yurydelendik/shadow
Replacing page shadow with image; removing some prefixed styles
2013-03-03 12:17:54 -08:00
Yury Delendik
4c061cdbf4 Merge pull request #2875 from vyv03354/tounicode
Convert CID fonts using "ToUnicode" CMap if available
2013-03-03 12:04:42 -08:00
Yury Delendik
4024354bd0 Merge pull request #2877 from vyv03354/tilector
Pass commonObjs to TilingPattern constructor
2013-03-03 10:01:14 -08:00
Yury Delendik
85ddd9405a Replacing page shadow with image; removing some profixed styles 2013-03-03 09:38:38 -06:00
vyv03354
9310e852db Pass commonObjs to TilingPattern constructor
Broken example: http://www.eiken.or.jp/eiken/apply/private/flow/pdf/ichiji.pdf
2013-03-03 21:36:44 +09:00
vyv03354
6c3d66fb46 Convert CID fonts using "ToUnicode" CMap if available 2013-03-03 15:00:49 +09:00
Yury Delendik
32938d3a66 Merge remote-tracking branch 'mozilla/master' into cidtype2
Conflicts:
	test/test_manifest.json
2013-03-02 16:09:00 -06:00
Yury Delendik
de9f0a9435 Merge pull request #2865 from vyv03354/90pv
Implement "90pv" CMap
2013-03-02 09:31:07 -08:00
Yury Delendik
cb871774d7 Merge pull request #2868 from yurydelendik/issue-2867
Fixes NameTree reading
2013-03-02 06:21:36 -08:00
Yury Delendik
2bdfc0727f Fixes NameTree reading 2013-03-02 08:00:17 -06:00
vyv03354
96f6fcf8ba Convert cid to Unicode when rebuilding Type 2 CID fonts encoded with non-Identity CMap 2013-03-02 21:25:35 +09:00
vyv03354
c9ee7b9bfa Implement "90pv" CMap 2013-03-02 11:02:35 +09:00
Yury Delendik
3131c7bfdb Merge pull request #2862 from kkujala/l10n
Update finnish localization
2013-03-01 12:42:00 -08:00
Kalervo Kujala
75bb94948a Update finnish localization 2013-03-01 22:25:27 +02:00
Brendan Dahl
3f4f056665 Add save as support for Firefox. 2013-03-01 09:52:35 -08:00
Yury Delendik
69353e363d Merge pull request #2858 from mkoegler/master
Fix decrypting of arrays
2013-03-01 08:59:11 -08:00
Martin Koegler
63c9685ea7 Fix decrypting of arrays 2013-03-01 15:39:12 +01:00
Yury Delendik
4a45efa718 Merge pull request #2839 from brendandahl/auto-print
Hack to support automatic printing from pdf javascript.
2013-02-28 15:41:58 -08:00
Brendan Dahl
5c43565404 Hack to support automatic printing from pdf javascript. 2013-02-28 15:29:07 -08:00
Yury Delendik
e20a9846ca Merge pull request #2848 from waddlesplash/css
CSS fixes to the sidebar
2013-02-28 14:10:33 -08:00
waddlesplash
d0864f766b CSS fixes to the sidebar.
No need for a 15px margin, and links should have a pointer cursor.
2013-02-28 17:02:09 -05:00
Yury Delendik
0a7e3645bf Merge pull request #2177 from kkujala/tiling
Sharpen the patterns.
2013-02-28 13:50:33 -08:00
Kalervo Kujala
6f65fef64b Sharpen the patterns.
Draw the patterns with the intended resolution instead of scaling
afterwards. Scaling leads to unclear patterns.

Also:
Make TilingPattern function for paintType switch case.
Make TilingPattern function for bbox clipping.
Make TilingPattern functions for scaling code.
Increase MAX_PATTERN_SIZE to 4096.
Add Singular Value Decomposition function.
2013-02-28 22:32:43 +02:00
Yury Delendik
d97c5a2b14 Merge pull request #2844 from vyv03354/issue2842
Fix spacing calculation of TJ operator
2013-02-28 09:01:29 -08:00
Yury Delendik
5b195ea7e0 Merge pull request #2809 from divergentdave/TJ_text_selection
Fix text selection for oddly-spaced TJ commands (Issue #2808)
2013-02-28 08:36:02 -08:00
Yury Delendik
7ca99df0d7 Merge pull request #2816 from Snuffleupagus/zoom-select-adjust-followup
Resize the zoom box width to fit the content - fix embedding
2013-02-28 08:25:44 -08:00
Yury Delendik
e4161f2789 Merge pull request #2826 from vyv03354/83pv
Implement "83pv" CMap and fix CIDFontType0 handling
2013-02-28 08:16:33 -08:00
Yury Delendik
c001aecddc Merge pull request #2836 from sgtatham/master
Fix handling of inline annotation dictionaries
2013-02-28 07:27:55 -08:00
vyv03354
1579c4778b Fix spacing calculation of TJ operator 2013-03-01 00:27:48 +09:00
Yury Delendik
c533561f10 Merge pull request #2712 from Snuffleupagus/fullscreen-links
Make PDF links work in fullscreen mode
2013-02-28 06:40:58 -08:00
Jonas
87017ec3cf Make links work in fullscreen - fix issue mentioned by @yurydelenik 2013-02-28 15:35:41 +01:00
Mack Duan
70f788a2a5 Merge pull request #2838 from allstarschh/issue_2829_test
Add Support for big5 encoding.
2013-02-27 17:53:36 -08:00
allstars.chh
d67b4ed53b test for issue2829. 2013-02-28 08:56:12 +08:00
allstars.chh
27d114bd11 Add support for big5 encoding. 2013-02-28 08:39:27 +08:00
Mack Duan
c0acf072e7 Merge pull request #2822 from waddlesplash/css
Spacing fixes in CSS.
2013-02-27 16:36:34 -08:00
Simon Tatham
ff4f7f1028 Use fetchIfRef to get annotation dictionaries.
Fixes failure to display annotations in PDFs where the annotation
dicts are inlined in the page objects rather than in subobjects.
2013-02-27 22:00:55 +00:00
Yury Delendik
a9d84f1e03 Merge pull request #2832 from ofirdev/master
Fix TypedArrays on IE9
2013-02-27 13:04:10 -08:00
Ofir
bf837cb524 Clone the array manually when slice is missing 2013-02-27 22:53:59 +02:00
Brendan Dahl
06a49b295a Merge pull request #2786 from yurydelendik/jbig2-len
JBIG2: finds end of a segment when length is not specified
2013-02-27 10:05:52 -08:00