Commit Graph

124 Commits

Author SHA1 Message Date
Brendan Dahl
034583e1a1 Add new severity log info(). Change severity of some log messages. Trigger fallback on errors and warnings for extension. 2012-05-14 17:19:09 -07:00
Dmitry Kataev
6acdf1791c Two or more operations can be combined together like qqBT 2012-05-09 21:29:50 +04:00
Artur Adib
2d3ed7fc78 Merge branch 'refs/heads/master' into textsearch
Conflicts:
	web/viewer.css
	web/viewer.html
	web/viewer.js
2012-05-08 17:22:48 -04:00
Brendan Dahl
f8ed7bb31a Fix object id counter. 2012-04-26 09:38:58 -07:00
Brendan Dahl
92e355dc35 Address review comments. 2012-04-25 18:44:28 -07:00
Brendan Dahl
2db0ee6ba3 Add next line operators for text collection. 2012-04-24 12:29:23 -07:00
Yury Delendik
78213e826e Guessing pdf char size based on the CMap numbers 2012-04-23 17:44:51 -05:00
Brendan Dahl
92d0d1d694 Merge new API and text search. 2012-04-20 16:49:08 -07:00
Yury Delendik
cff6c8db08 skip cached objects and has consistent font ids 2012-04-16 21:42:05 -05:00
Yury Delendik
6bf640260f Fix jsdoc comment; remove resources dict from type3 properties 2012-04-14 17:52:49 -07:00
Yury Delendik
42911f1fc9 Async getAnnotations(); hide map and xref for Dict 2012-04-14 13:54:31 -07:00
Julian Viereck
3c77291013 Merge text search with current master 2012-04-08 08:57:55 -07:00
Yury Delendik
b10d7fceb8 Merge pull request #1443 from brendandahl/gradientfix
Fix gradients for fill and stroke.
2012-04-05 16:14:55 -07:00
Brendan Dahl
449d7105c6 Merge pull request #1486 from yurydelendik/issue-1466
Improving invalid operations syntax recovery (#1466)
2012-04-05 15:39:47 -07:00
Brendan Dahl
fece736b8a Merge upstream. 2012-04-05 12:46:23 -07:00
Yury Delendik
cea388201d Merge remote-tracking branch 'mozilla/master' into mergexref-1
Conflicts:
	src/core.js
	src/evaluator.js
	src/obj.js
2012-04-05 10:03:49 -05:00
Kalervo Kujala
99440ab691 Refactor class method names.
Also move functionality to more logical place in canvas.js and jpx.js.
2012-04-04 23:43:26 +03:00
Brendan Dahl
82a95d8bde Merge branch 'master' of https://github.com/mozilla/pdf.js into xrefdict 2012-04-04 11:45:04 -07:00
Brendan Dahl
8a45177be0 Make Dict handle all the fetching of Refs. 2012-04-04 11:43:04 -07:00
Yury Delendik
0ca4ca6077 Improving invalid operations syntax recovery (#1466) (see also #589) 2012-04-04 11:50:20 -05:00
gigaherz
c6d7e654ee Replace variables named 'char'=>'character', 'byte'=>'octet' and field '.private'=>'.privateData'. This allows pdf.js to compile with Google's Closure Compiler. 2012-03-30 23:17:04 +02:00
Brendan Dahl
7008d07fde Fix gradients for fill and stroke. 2012-03-29 08:53:51 -07:00
Brendan Dahl
52a4bcbd4f Merge upstream. 2012-03-19 10:45:53 -07:00
Brendan Dahl
c4c923bdcf Fix string font names. 2012-03-16 11:58:23 -07:00
Julian Viereck
7ddce7f586 Use singular form for charProcOperatorList - hopefully fixes breakage 2012-03-16 14:58:53 +01:00
Julian Viereck
fd2ab059d3 Rename IRQueue and codeIR -> operatorList 2012-03-16 14:58:53 +01:00
Julian Viereck
261ff39f6d Remove suffix _IR 2012-03-16 14:56:43 +01:00
Julian Viereck
1c87b63124 Cleanup the way getIRQueue is called (no need to pass in a queue object in most cases anymore) 2012-03-16 14:56:43 +01:00
notmasteryet
d50773fb96 Fixing ToUnicode parsing; workaround for invalid UTF16 encoding 2012-02-09 18:40:44 -08:00
Brendan Dahl
b3fb41caa9 Merge pull request #1106 from arturadib/issue-1049
fontMatrix parsing fix, setFont() supports negative sizes
2012-02-03 11:10:58 -08:00
Artur Adib
30a01c5da6 addressing reviewer comments, bug fix 2012-01-30 09:24:49 -05:00
notmasteryet
10a0a60f8e Fixing symbols encoding 2012-01-27 18:53:05 -06:00
notmasteryet
1ac24dbc01 Merge remote-tracking branch 'mozilla/master' into textsearch-1
Conflicts:
	src/core.js
	src/fonts.js
2012-01-22 13:56:56 -06:00
Artur Adib
7f3d5ae6d3 Fix worker message, better error handling 2012-01-19 14:19:19 -05:00
Artur Adib
f97bc8df6f Lint 2012-01-17 14:45:57 -05:00
Artur Adib
06c4c83edf Fixes #1055 by falling back to page resources 2012-01-17 14:40:52 -05:00
notmasteryet
550819b829 fix serif and symbol attribute detection for standard fonts 2012-01-09 21:15:18 -06:00
Kalervo Kujala
d89680bd94 Merge remote-tracking branch 'upstream/master' into refactor 2012-01-07 21:32:16 +02:00
Brendan Dahl
3c2a0f11b1 Decode more jpegs using the browser if possible. 2012-01-03 14:26:19 -08:00
Kalervo Kujala
13b88a07e0 Move initialization of uniquePrefix higher. 2011-12-22 20:05:39 +02:00
notmasteryet
3a396b4834 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1 2011-12-20 19:54:41 -06:00
Brendan Dahl
5cfe97611f Rename some variables. 2011-12-19 16:31:47 -08:00
notmasteryet
b8672d7efb Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1 2011-12-19 18:06:31 -06:00
Brendan Dahl
03ec82ba62 Fix nits. 2011-12-18 17:29:08 -08:00
Brendan Dahl
87d72023dc Scale smask and image to the max dimensions of either one. Fix grayscale to scale the input value based on bpc. 2011-12-18 17:18:36 -08:00
notmasteryet
c85ec052b1 Unicode normalization; lint warnings 2011-12-14 21:42:06 -06:00
notmasteryet
04551dbf57 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1
Conflicts:
	src/core.js
2011-12-14 19:37:21 -06:00
Brendan Dahl
d76f5f6815 Playing with initial decode map impl. 2011-12-13 08:48:27 -08:00
Brendan Dahl
176452c988 Style nits. 2011-12-12 09:26:24 -08:00
Brendan Dahl
4c01766278 Merge upstream. 2011-12-11 21:13:53 -08:00
Brendan Dahl
683f64d54f Use promises to track completion of decoding. 2011-12-11 16:56:45 -08:00
notmasteryet
94cc2cdb75 Char code to unicode conversion 2011-12-11 17:59:19 -06:00
notmasteryet
3b72c6063c Text char codes extraction 2011-12-10 17:24:54 -06:00
Brendan Dahl
7d1cddf371 Add ability to fast track natively supported jpegs. 2011-12-08 21:18:04 -08:00
Kalervo Kujala
1ef4c94de2 Name all constructors. 2011-12-09 00:18:43 +02:00
Brendan Dahl
146cd8c861 Second stage, smasks now working. Still needs optimization. 2011-12-08 12:50:34 -08:00
Brendan Dahl
2a632d4ab2 First stage of trying to support smasks on native jpegs. 2011-12-07 15:36:27 -08:00
notmasteryet
0414c0711f Fixing base encoding presence detection; character width scale 2011-11-29 22:06:00 -06:00
Brendan Dahl
e5d91ab219 Fix invalid arguments error. 2011-11-29 14:50:19 -08:00
notmasteryet
08e3fd88ad Removing adaptUnicode; making cmap equal to ToUnicode tables 2011-11-27 20:43:23 -06:00
notmasteryet
709dc1a0c9 Initial ToUnicode modifications 2011-11-24 09:38:09 -06:00
Brendan Dahl
faa202df1e Merge upstream and change test pdf file. 2011-11-22 10:39:26 -08:00
notmasteryet
ef58ccd284 Issue #644: bypassing identity cmap translation loading; resetting color space when stroke/fill color set 2011-11-15 18:23:45 -06:00
notmasteryet
60744a8a61 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into encoding-2
Conflicts:
	src/evaluator.js
	src/fonts.js
2011-11-12 11:09:19 -06:00
Brendan Dahl
9bb2b881b0 Adds cmyk jpg support. Treats the cmyk jpg as a regular stream. 2011-11-08 08:48:10 -08:00
Kalervo Kujala
b321768f59 Remove unused parameters and fix jslint warnings. 2011-11-06 22:16:35 +02:00
Artur Adib
249385b4bb Progress 2011-11-02 15:08:19 -04:00
Brendan Dahl
3592baf39c Merge upstream 2011-10-31 08:51:45 -07:00
notmasteryet
7f038536fb Migration of the 'encoding-1' branch (ref #674) 2011-10-28 20:38:31 -05:00
Brendan Dahl
5cb64fbab7 Initial alpha transparency support. 2011-10-28 14:10:10 -07:00
Kalervo Kujala
7e6a589074 Fix js strict warning in worker.js.
Also fix a few minor nits.
2011-10-27 21:51:10 +03:00
Artur Adib
41caf5018d Merge branch 'refs/heads/master' into filesplit
Conflicts:
	pdf.js
2011-10-26 15:10:58 -04:00
Artur Adib
e71b6188c6 'use strict' everywhere 2011-10-25 18:18:22 -07:00
Artur Adib
a7278b7fbc Splitting files 2011-10-24 16:55:23 -07:00