Commit Graph

655 Commits

Author SHA1 Message Date
Brendan Dahl
ce53b1b018 CFF Parser and Compiler. 2012-03-10 19:12:33 -08:00
Brendan Dahl
35c9a9ac47 Merge pull request #1296 from notmasteryet/issue-1284
Move CustomStyle object
2012-03-05 13:01:16 -08:00
notmasteryet
b870cbad0f Move custom style 2012-03-02 07:11:24 -06:00
notmasteryet
ab3107e8e0 Optimization 2012-03-01 22:01:39 -06:00
notmasteryet
38e3f32557 Add and fix pdfkit_compressed.pdf 2012-03-01 21:23:36 -06:00
notmasteryet
83860bf281 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into tree-84 2012-03-01 18:36:03 -06:00
notmasteryet
8cb8de3092 Lint error 2012-02-29 22:57:54 -06:00
notmasteryet
a6b9efc06b Re-encode cmap based on post table or current encoding; fix GlyphsUnicode table entries 2012-02-29 22:11:32 -06:00
Artur Adib
5e5522e808 Merge pull request #1289 from notmasteryet/cap1
Fixes cap1 statement
2012-02-29 18:38:27 -08:00
notmasteryet
2cc89735ae Fixing cap1 statement 2012-02-29 18:31:03 -06:00
Artur Adib
d09c0fbfd3 Merge pull request #1252 from notmasteryet/issue-1249
Check if glyphs are stored outside the glyf table
2012-02-29 10:43:45 -08:00
Brendan Dahl
d0143cc289 Fix missing bidi for extension. 2012-02-23 09:21:35 -08:00
Artur Adib
676e575a52 Merge pull request #1218 from mozilla/bidi
bidi characters algorithm; separation of the toFontChar and toUnicode
2012-02-23 07:00:48 -08:00
notmasteryet
3b29736882 create bidi closure 2012-02-22 18:26:43 -06:00
notmasteryet
e8ca7b44d9 Fixing review nits; moving small functions inside bidi 2012-02-22 17:56:47 -06:00
Artur Adib
92e2723cbc Merge pull request #1199 from notmasteryet/tree-72
Remove lazy encoding initialization
2012-02-22 13:52:06 -08:00
notmasteryet
31d8d13ba2 Fix merge with symbol font fix (part 2) 2012-02-21 19:56:35 -06:00
Brendan Dahl
1703e33cfe Merge pull request #1246 from notmasteryet/issue-1222
Relax EI search for inline images
2012-02-21 17:56:25 -08:00
notmasteryet
7cad586e63 Fix merge with symbol font fix 2012-02-21 18:27:31 -06:00
notmasteryet
a8cdbcf315 Merge remote-tracking branch 'mozilla/master' into bidi
Conflicts:
	src/fonts.js
2012-02-21 18:23:00 -06:00
Brendan Dahl
f45f87b70b Merge pull request #1242 from notmasteryet/bad-jpx-1
Recovering from the bad JPX images (#1145)
2012-02-21 11:39:58 -08:00
Brendan Dahl
884ea5f028 Merge pull request #1244 from notmasteryet/issue-1243
Sets proper unicode range for symbols; sanitize no-glyphs fonts
2012-02-21 11:37:56 -08:00
Brendan Dahl
e07505ff8d Update stats to use the new pdfBug panel. 2012-02-21 09:52:09 -08:00
Brendan Dahl
de18d1623b Merge branch 'master' of https://github.com/mozilla/pdf.js into stats 2012-02-20 19:37:18 -08:00
Brendan Dahl
b9cd526a35 Remove bad chars instead of replaces all. 2012-02-20 15:49:45 -08:00
notmasteryet
a46a684935 Moving all symbolic font glyphs into 0xF000 - 0xF0FF range 2012-02-20 17:19:12 -06:00
notmasteryet
26b58c0e4f Properly build toFontChar 2012-02-20 14:26:30 -06:00
notmasteryet
b4e3554af2 Remove debug code 2012-02-20 13:00:45 -06:00
notmasteryet
28b4dac2d8 Merge remote-tracking branch 'mozilla/master' into bidi
Conflicts:
	web/viewer.html
2012-02-20 12:41:19 -06:00
Brendan Dahl
b6e4fc771f Fix bad chars in Type2CFF font names. 2012-02-19 22:12:22 -08:00
notmasteryet
8f3b198c23 Check if glyph are stored outside the glyf table 2012-02-19 20:12:57 -06:00
notmasteryet
c68dbd777e Relax EI search for inline images 2012-02-18 20:20:25 -06:00
notmasteryet
2703f3f692 Fixing first glyph index 2012-02-18 19:18:54 -06:00
notmasteryet
5efccea2af Using the first glyph code to detect the base glyph offset. 2012-02-18 16:45:47 -06:00
notmasteryet
321750bba6 Sets proper unicode range for symbols; sanitize no-glyphs fonts 2012-02-18 15:01:53 -06:00
notmasteryet
2fa6e025f2 Recovering from the bad JPX images (#1145) 2012-02-18 10:50:02 -06:00
notmasteryet
fcffbc3804 Fix Line 648, E:0001: Extra space after "]" 2012-02-17 17:35:48 -06:00
Artur Adib
dd53edffad Merge pull request #1226 from notmasteryet/tree-80
Rewrite predictor code to avoid writing into subarrays.
2012-02-17 07:56:02 -08:00
Brendan Dahl
5e818ce04f Merge branch 'master' of https://github.com/mozilla/pdf.js into stats 2012-02-16 18:47:00 -08:00
Artur Adib
1b0bf24322 Merge pull request #1211 from brendandahl/debugger2
Debugging Tools
2012-02-16 11:14:05 -08:00
notmasteryet
4e967b201d Merge pull request #1212 from arturadib/issue-1155
Fixes #1155: intersection of CropBox and MediaBox
2012-02-16 09:04:21 -08:00
Artur Adib
9cf9c36227 Addressing reviewer comments 2012-02-16 12:02:18 -05:00
notmasteryet
b73cf1b3c2 Rewrite predictor code to avoid writing into subarrays. 2012-02-15 18:40:41 -06:00
Brendan Dahl
f17a1679eb Move debugger to the web folder. 2012-02-15 14:55:16 -08:00
Brendan Dahl
45e3db77f2 Fix the font inspector. 2012-02-15 14:38:18 -08:00
Brendan Dahl
c04ab5fe45 Change name of debugger to stepper. 2012-02-15 14:12:58 -08:00
Brendan Dahl
f54486d8c8 Change how the tools are enabled. 2012-02-15 13:13:07 -08:00
Brendan Dahl
0175f53637 Merge upstream. 2012-02-15 12:56:05 -08:00
Brendan Dahl
c440dfeee0 Merge pull request #1203 from notmasteryet/glyf-sanitize
Sanitizing the font glyphs to avoid OTS rejections
2012-02-15 12:08:05 -08:00
notmasteryet
6c7e7df6da linting 2012-02-14 23:06:16 -06:00
notmasteryet
16bd59edf0 Separating fontChar and unicode 2012-02-14 23:00:09 -06:00
notmasteryet
2f98d18dc1 Not relying on the xref in the parser 2012-02-14 20:19:43 -06:00
notmasteryet
8c727860dd Fixing getting of the "Filter" attribute 2012-02-14 18:38:56 -06:00
Artur Adib
048e40b869 Fixes #1155 2012-02-14 14:48:58 -05:00
Brendan Dahl
ebf26a5e29 Fix undefined stepper. 2012-02-14 10:25:53 -08:00
Brendan Dahl
6aa72f411b Add a few comments. 2012-02-14 09:24:29 -08:00
Brendan Dahl
612151d1bc Merge pull request #1173 from notmasteryet/tree-66
Fixes browsers minimal font limitations
2012-02-14 09:05:21 -08:00
notmasteryet
1cfb099640 Add bugzill reference, reducing to 1px size 2012-02-13 22:35:42 -06:00
notmasteryet
b32a7b1c8b Reducing min font size to 2; rearranging fontSizeScale logic 2012-02-13 21:12:55 -06:00
notmasteryet
99d71cc713 scale line width; set min font size to 8 2012-02-13 20:45:51 -06:00
notmasteryet
c8e88def83 Light bidi fixes 2012-02-13 20:28:36 -06:00
Brendan Dahl
9fe5eff905 Combining Yury's and my debugging tools. 2012-02-13 17:35:58 -08:00
Adil Allawi
b50cf76ab5 Properly integrate new file bidi.js 2012-02-13 14:56:37 +00:00
Adil Allawi
6902ba51fa Properly support custom CSS properties
Fix comment in bidi
2012-02-13 14:56:37 +00:00
notmasteryet
3cd4159489 Sanitizing the glyphs to avoid OTS rejections 2012-02-12 21:11:44 -06:00
Adil Allawi
2bc708305d Fix up bidi algorithm, and set direction of div to match text direction 2012-02-13 02:10:41 +00:00
notmasteryet
00f6f0e096 Remove lazy encoding initialization 2012-02-10 15:55:04 -06:00
Adil Allawi
2e1a88f39e Handle bidi ordering of PDF strings 2012-02-10 17:05:09 +00:00
notmasteryet
d50773fb96 Fixing ToUnicode parsing; workaround for invalid UTF16 encoding 2012-02-09 18:40:44 -08:00
Brendan Dahl
66052f2dd2 Switch to textContent. Fix lint. 2012-02-08 16:38:43 -08:00
Brendan Dahl
a5d9ff8568 Merge upstream. 2012-02-08 16:31:30 -08:00
notmasteryet
a4f8e2f356 Merge pull request #1192 from brendandahl/fixscript
Fix closing script tag.
2012-02-08 13:19:28 -08:00
Brendan Dahl
58a697697f Fix closing script tag. 2012-02-08 13:09:21 -08:00
notmasteryet
cc9035438a Optimization: don't scale when parameter is 1.0 2012-02-07 17:14:58 -08:00
Artur Adib
c49e9ec07a Merge remote-tracking branch 'mozilla/master' into issue1133
Conflicts:
	src/util.js
	test/test_manifest.json
2012-02-06 16:11:52 -08:00
Artur Adib
00b7e7d255 isDefaultDecode(), as per reviewer comments 2012-02-06 16:10:15 -08:00
notmasteryet
bd95a191b7 Reducing MIN_FONT_SIZE size to 5px 2012-02-04 14:42:07 -06:00
notmasteryet
34e2aa5d21 Browser minimal font adjustment 2012-02-04 12:45:18 -06:00
Brendan Dahl
51d831ed03 Merge pull request #1166 from notmasteryet/ftp
FTP protocol support (#1165)
2012-02-03 16:25:57 -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
notmasteryet
cba531e3cd Fixing test execution / relative URL protocol detection 2012-02-02 23:31:12 -06:00
notmasteryet
03cb546f29 FTP protocol support (#1165) 2012-02-02 21:06:13 -06:00
Artur Adib
0fc6c03956 Lab color space, closes #1133 2012-02-01 17:48:44 -05:00
Artur Adib
a39d487283 LabCS infra: args passed OK 2012-02-01 16:13:42 -05:00
Artur Adib
74ec7a4103 LabCS infra working 2012-02-01 16:04:12 -05:00
notmasteryet
ff01faa86f Merge pull request #1148 from arturadib/readXRefTable
Rewrite of readXRefTable [obj.js]
2012-02-01 04:40:22 -08:00
notmasteryet
13f207424c Merge pull request #1118 from brendandahl/amowarnings
Address AMO Review Concerns
2012-02-01 04:33:51 -08:00
Brendan Dahl
218714fe57 Merge pull request #1151 from notmasteryet/sampled
implement sampled functions based on the PDF spec (part 2)
2012-01-31 20:34:22 -08:00
notmasteryet
5fba376a33 Fixing interpolation (continuation of #1143) 2012-01-31 20:19:44 -06:00
Brendan Dahl
b381c960d9 Merge branch 'master' of https://github.com/mozilla/pdf.js into amowarnings 2012-01-31 17:53:54 -08:00
Artur Adib
589410d528 Merge pull request #1135 from notmasteryet/tree-62
Fixing standard encoding mapping (bonus symbol encoding)
2012-01-31 12:30:41 -08:00
Artur Adib
7873ec966b Merge branch 'refs/heads/master' into issue-1049
Conflicts:
	src/canvas.js
2012-01-31 13:20:05 -05:00
Artur Adib
775290d698 Lint 2012-01-31 10:57:32 -05:00
Artur Adib
9e9674d45c Remove debugging line 2012-01-31 10:50:30 -05:00
Artur Adib
0959cd3517 New readXRefTable, working 2012-01-31 10:49:06 -05:00
Artur Adib
4375bd2219 progress 2012-01-31 09:57:12 -05:00
Artur Adib
8068ff242d readXRefTable rewrite, progress 2012-01-31 09:01:04 -05:00
notmasteryet
2047fba8cb Merge pull request #1122 from kkujala/refactor
Change throws to errors.
2012-01-30 18:35:35 -08:00
Artur Adib
30a01c5da6 addressing reviewer comments, bug fix 2012-01-30 09:24:49 -05:00
Andreas Gal
59283bdf6d implement sampled functions based on the PDF spec 2012-01-30 01:38:28 -08:00
Andreas Gal
9650df5c10 fix style and add var declaration 2012-01-29 15:05:26 -08:00
Kalervo Kujala
e3a3ec6f2e Use JPX and JPEG in error messages.
Also throw in workerConsole.
2012-01-29 22:25:06 +02:00
Andreas Gal
28f82e3dd7 rewrite CMYK to RGB conversion 2012-01-29 11:09:33 -08:00
notmasteryet
5415fed14d Mapping well-known chars to the similar equivalents in the normal characters range 2012-01-27 20:36:27 -06:00
notmasteryet
10a0a60f8e Fixing symbols encoding 2012-01-27 18:53:05 -06:00
notmasteryet
dd066f8369 Fixing standard encoding mapping 2012-01-26 18:51:58 -06:00
Kalervo Kujala
66e3441e0e Change throws to errors. 2012-01-24 22:10:16 +02:00
Brendan Dahl
4d3057aba7 Fix lint. 2012-01-23 17:52:53 -08:00
Brendan Dahl
178b89342a Switch to stream converter for extension. 2012-01-23 16:50:45 -08:00
Artur Adib
b34c55cc3c Use ES5 .trim() 2012-01-23 15:29:15 -05:00
Artur Adib
5c8753dcba Fixing regression errors, better logic 2012-01-23 15:23:09 -05: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
notmasteryet
c6662d12e1 Changing glyphNameMap and GlyphUnicode lookup order 2012-01-21 17:18:36 -06:00
Artur Adib
bbdec90c0d Lint 2012-01-20 18:44:51 -05:00
Artur Adib
786cccf636 setFont() supports negative size, closes #1049 2012-01-20 18:41:01 -05:00
Artur Adib
86de8aca33 Nit 2012-01-20 16:25:06 -05:00
Artur Adib
357f4cc665 Clarifying variable role 2012-01-20 15:20:25 -05:00
Artur Adib
66eff7a5cb more robust fontMatrix parsing, error checking 2012-01-20 14:55:52 -05:00
notmasteryet
016fd3282e Merge branch 'master' of git://github.com/mozilla/pdf.js.git into jpx6
Conflicts:
	test/pdfs/.gitignore
2012-01-19 17:46:48 -06:00
Artur Adib
7f3d5ae6d3 Fix worker message, better error handling 2012-01-19 14:19:19 -05:00
Artur Adib
d9f1365b9c Merge pull request #1092 from notmasteryet/issue-940
Fixes type2 fonts conversion
2012-01-19 06:59:35 -08:00
Artur Adib
45691b2522 Merge pull request #1080 from notmasteryet/runlength
RunLengthDecode implementation
2012-01-19 05:48:04 -08:00
notmasteryet
aaa193ca0f Merge pull request #1097 from brendandahl/zerowidthline
Fix zero width lines.
2012-01-18 19:24:30 -08:00
notmasteryet
f3ab505b41 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into jpx6
Conflicts:
	test/test_manifest.json
2012-01-18 20:14:43 -06:00
Artur Adib
ee8c86d2b6 Merge pull request #1086 from notmasteryet/issue-1084
Use .sheet property instead of document.styleSheets
2012-01-18 09:25:37 -08:00
Brendan Dahl
8aac2256ed Fix zero width lines. 2012-01-17 20:50:49 -08:00
notmasteryet
782b67b967 Merge pull request #1095 from arturadib/issue-1055
Fixes #1055 by falling back to page resources
2012-01-17 17:19:51 -08: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
Brendan Dahl
f9c6340482 Merge pull request #1094 from notmasteryet/issue-1093
Fallback map of the "non-standard" fonts
2012-01-17 09:29:33 -08:00
notmasteryet
85a0eccc7e Fallback map of the "non-standard" fonts 2012-01-16 18:10:48 -06:00
notmasteryet
2927f5e7bd Fixes type2 fonts conversion (#940) 2012-01-16 14:13:38 -06:00
notmasteryet
1bb5592357 Replace makeCssRgb.apply in setStrokeColor and setFillColor 2012-01-16 11:53:59 -06:00
notmasteryet
8b52b50c67 Use .sheet property instead of document.styleSheets 2012-01-15 15:19:51 -06:00
notmasteryet
9eaf746a33 Replace makeCssRgb.apply with direct call (avoiding Chrome 16 typed array issue) 2012-01-15 14:01:36 -06:00
notmasteryet
6de2ca568d Implements RunLengthDecode filter 2012-01-14 13:47:14 -06:00
notmasteryet
e43afd3fe5 Fixing inclusion tree when layers are skipped and 0xFF at the packet header end 2012-01-14 13:15:16 -06:00
notmasteryet
ac592a2fdd Light optimization 2012-01-13 18:45:19 -06:00
notmasteryet
5b6c06d5c6 Address review comments 2012-01-13 18:24:02 -06:00
notmasteryet
8af527919a fix lint error, remove unnecessary comment 2012-01-11 20:54:27 -06:00
notmasteryet
93ca387d1b Migration of the JPX code (from jpx5) 2012-01-11 20:08:46 -06:00
Brendan Dahl
93bb2cf0d3 Merge pull request #969 from arturadib/fix-worker-loader
Fix worker_loader.js for examples/. Simpler code
2012-01-11 17:18:01 -08:00
Brendan Dahl
bd6d89e1a8 Start of the benchmark recording framework. 2012-01-11 16:48:51 -08:00
Brendan Dahl
be2f973be8 Merge pull request #1051 from notmasteryet/fonts-3
Using the encoding instead of predefined  MacRoman in TrueType fonts;
2012-01-11 10:38:36 -08:00
Artur Adib
7611a766c7 Merge branch 'refs/heads/master' into fix-worker-loader
Conflicts:
	src/core.js
2012-01-11 11:47:41 -05:00
notmasteryet
09dfde69a2 Duplicate short map into private use area 2012-01-10 22:01:24 -06:00
notmasteryet
933be30c3a Converting MacRoman symbols to Unicodes 2012-01-10 19:41:45 -06:00
notmasteryet
550819b829 fix serif and symbol attribute detection for standard fonts 2012-01-09 21:15:18 -06:00
notmasteryet
982ea98c44 replacing non-existent page content with empty one 2012-01-09 20:08:22 -06:00
notmasteryet
a84fa13189 using font flags to recognize the symbol and serif fonts; using the encoding instead of predefined MacRoman in TrueType fonts 2012-01-09 19:36:24 -06:00
Artur Adib
4322e7e339 Merge pull request #1042 from notmasteryet/tree-55
fetch/getEntry returns null if the entry is free
2012-01-09 12:22:16 -08:00
notmasteryet
d3b3842946 fetch/getEntry returns null if the entry is free 2012-01-08 14:03:00 -06:00
Kalervo Kujala
d89680bd94 Merge remote-tracking branch 'upstream/master' into refactor 2012-01-07 21:32:16 +02:00
notmasteryet
4bb289ec49 Merge pull request #1026 from brendandahl/nativedecode
Decode JPEGs using browser when possible
2012-01-05 16:25:21 -08:00
Kalervo Kujala
bc3b8e0ff1 Merge remote-tracking branch 'upstream/master' into refactor 2012-01-05 22:24:35 +02:00
Brendan Dahl
7bf5daa273 Only set transform when its a non default. 2012-01-05 11:06:17 -08:00
Artur Adib
0817c4274d Merge pull request #1022 from notmasteryet/tree-53
Fixes this.xref.trailer.get("ID")[0] is undefined
2012-01-05 07:44:52 -08:00
notmasteryet
caacd31a2c Merge branch 'master' of git://github.com/mozilla/pdf.js.git into tree-53
Conflicts:
	test/test_manifest.json
2012-01-04 19:57:08 -06:00
Brendan Dahl
3154ec4e38 Fix bracket nit. 2012-01-04 17:22:07 -08:00
Brendan Dahl
dddcb9c91b Add error backs for promises. 2012-01-04 16:13:53 -08:00
Artur Adib
07deee5750 Merge pull request #954 from notmasteryet/textlayout-ui
Move text layer UI to viewer.js...
2012-01-04 12:52:03 -08:00
Artur Adib
ddf57072a9 Merge pull request #1025 from arturadib/issue-1015
Add findTableCode() to prototype
2012-01-04 12:31:14 -08:00
Brendan Dahl
9538da2b58 Move comments. 2012-01-04 11:56:53 -08:00
Brendan Dahl
702af87731 Merge branch 'master' of https://github.com/mozilla/pdf.js into nativedecode 2012-01-04 11:25:46 -08:00
notmasteryet
1fa5e80ebe Fixes this.xref.trailer.get("ID")[0] is undefined 2012-01-03 19:20:29 -06:00
notmasteryet
edb0ae4eb8 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textlayout-ui
Conflicts:
	src/canvas.js
2012-01-03 18:42:13 -06:00
Chris Jones
27d2d99bd8 Merge pull request #1013 from LegNeato/master
Always add style element to the head
2012-01-03 14:30:14 -08:00
Brendan Dahl
3c2a0f11b1 Decode more jpegs using the browser if possible. 2012-01-03 14:26:19 -08:00
Julian Viereck
bf26c1a18c Merge pull request #957 from jviereck/viewer_default_width
Change default width to page-width
2012-01-03 14:02:34 -08:00
Artur Adib
86387272fc webkit dash support 2012-01-03 14:51:35 -05:00
Saebekassebil
7fd0dbbc17 Typdoh 2012-01-03 19:38:45 +01:00
Saebekassebil
77e900da11 Add #findTableCode to CCITTFaxStream's prototype, fixing issue #1015 2012-01-03 19:11:13 +01:00
Christian Legnitto
03e39363b6 Add the style element to the head rather than first element in the document, as the first element could be a comment and this would line would then throw 2012-01-02 21:40:43 -08:00
Julian Viereck
52aba8648e Add displayReadyPromise to the Page object to not request the IRQueue all the time and simplify some stuff 2012-01-02 20:02:20 +01:00
Julian Viereck
0c22e5d653 Make sure resolving the promise sets some data 2012-01-02 20:02:20 +01:00
notmasteryet
739f111ce1 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1 2012-01-01 13:13:16 -06:00
Brendan Dahl
78f7354dc7 Merge pull request #1009 from notmasteryet/issue-1001
Fix stitching function; media box fix
2011-12-30 18:25:19 -08:00
notmasteryet
7b479c352c Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1
Conflicts:
	web/viewer.js
2011-12-30 20:04:08 -06:00
notmasteryet
cbf4c0393f Replace nbsp entity with character code 2011-12-30 19:32:35 -06:00
notmasteryet
877e0f4159 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textlayout-ui
Conflicts:
	web/viewer.js
2011-12-30 19:22:59 -06:00
notmasteryet
6672420f8d Fixing CropBox 2011-12-30 18:52:15 -06:00
notmasteryet
c0cf081ec0 Merge pull request #994 from brendandahl/type4func
Type4 PostScript Functions
2011-12-30 16:05:49 -08:00
Brendan Dahl
df1e22f2e4 Switch to push instead of slice. Faster on jsperf, but doesn't seem to be faster testing locally. 2011-12-30 14:59:00 -08:00
notmasteryet
3f286803d0 Move the media left-top corner to the (0,0) canvas position 2011-12-30 16:45:33 -06:00
Brendan Dahl
acd64d75f3 Switch to conditional operator. 2011-12-30 13:38:09 -08:00
Brendan Dahl
9de52f375d Fix idiv and cvi. Add test case for idiv. 2011-12-30 13:25:34 -08:00
Brendan Dahl
9fd41e11da Merge pull request #990 from notmasteryet/concurload
Fixes concurrent pages loading (#974 and #626)
2011-12-30 09:40:12 -08:00
Brendan Dahl
6afb49c6c6 Address Yury's PR comments. 2011-12-30 09:24:13 -08:00
notmasteryet
baab676b00 Fix stitching function 2011-12-29 22:53:25 -06:00
notmasteryet
6a0dd63526 Merge pull request #985 from kkujala/test
Add basic unit tests for obj.js.
2011-12-29 19:01:39 -08:00
Brendan Dahl
20dace0513 Switch to a single "code stack". 2011-12-29 13:41:54 -08:00
Brendan Dahl
7c8445753d Merge upstream. 2011-12-29 12:37:15 -08:00
Brendan Dahl
9161c2e688 Merge pull request #972 from notmasteryet/textstroke
Correct stroke width for text; convert intel-load test to eq-test
2011-12-28 20:12:08 -08:00
Brendan Dahl
27b0d0c941 Switch to two arrays for instructions. 2011-12-28 20:08:18 -08:00
Kalervo Kujala
84d6a121af Add basic unit tests for obj.js. 2011-12-28 23:20:04 +02:00
Steffen Märcker
d769535bee fixed the remaining style error 2011-12-28 19:57:12 +01:00
Steffen Märcker
b506bc7f44 fixed lint errors 2011-12-28 17:32:54 +01:00
Steffen Märcker
9fcd303519 fixed typo 2011-12-28 15:23:39 +01:00
Steffen Märcker
c2b42b1cfc Small refactoring of fallback code to fake worker. 2011-12-28 15:21:32 +01:00
Steffen Märcker
fdcc4ca590 Added fallback to fake worker if serialization of typed array fails.
This happens e.g. in Opera 11.60.
2011-12-28 09:10:06 +01:00
Saebekassebil
e147485262 Refactoring Settings manager, now with limit on memory usage 2011-12-26 15:07:24 +01:00
Brendan Dahl
971f35d165 Add unit files to lint, fix lint errors. 2011-12-23 21:19:15 -08:00
Brendan Dahl
1089c30b56 Adding type4 postscript function support. 2011-12-23 19:41:12 -08:00
notmasteryet
d7754a402e Correct stroke width for text; convert intel-load test to eq-test 2011-12-22 17:43:14 -06:00
Saebekassebil
0de0e92bc4 Added #getFingerprint method to PDFDocModel 2011-12-22 23:44:42 +01:00
Saebekassebil
d44f9f2074 Implemented Settings manager. Now remembering scroll positions 2011-12-22 22:29:01 +01:00
Kalervo Kujala
13b88a07e0 Move initialization of uniquePrefix higher. 2011-12-22 20:05:39 +02:00
Artur Adib
b2791c60a6 Fixed worker_loader for examples/; simplified 2011-12-22 09:40:00 -05:00
Saebekassebil
12e2dcd775 Addressing notmasteryet's comments 2011-12-22 11:29:27 +01:00
Saebekassebil
c714c782cc Lint nits 2011-12-21 23:37:52 +01:00
Saebekassebil
4a661e1735 Implemented Comment and Check annotation. Correcting some typos in last commit 2011-12-21 23:22:07 +01:00
Artur Adib
ca7d44c646 Merge pull request #749 from notmasteryet/forms-1
Simple AcroForms support
2011-12-21 06:16:30 -08: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
notmasteryet
f007455ac4 Merge pull request #961 from brendandahl/smaskscale
Scaling Soft Masks
2011-12-19 18:39:26 -08: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
notmasteryet
3bde084ffd add "find" images; function name fix 2011-12-19 18:05:32 -06:00
Brendan Dahl
db4a11e568 Fix comment. 2011-12-19 14:58:01 -08:00
Julian Viereck
e9c762a97f Address review comments by notmasteryet 2011-12-19 16:37:36 +01: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
Brendan Dahl
74b66c0a7b Fix bug, decoding was always getting called. 2011-12-18 17:17:35 -08:00
Julian Viereck
156e20ca73 Cache Cmd object to reduce number of created objects 2011-12-18 20:39:10 +01:00
notmasteryet
0f6291c7b9 Move text layer UI to viewer.js; fixes adding div with single char; replaces innerHTML to textContent 2011-12-18 12:53:30 -06:00
Brendan Dahl
3175e5498c Merge remote-tracking branch 'upstream/master' into smaskscale 2011-12-16 10:11:40 -08:00
Artur Adib
f7f7269253 Merge pull request #937 from ironymark/master
stop canvasRenderTextLayer blocking browser UI
2011-12-16 09:06:18 -08:00
Adil Allawi
b921486bce simplify adding of textdivs to DOM as queue is no longer needed 2011-12-16 10:38:30 +00:00
Brendan Dahl
abad94d2b6 Lints. 2011-12-15 16:30:51 -08:00
Brendan Dahl
01e876f014 Merge remote-tracking branch 'origin/decodemap' into smaskscale 2011-12-15 15:20:36 -08:00
Brendan Dahl
8096d747c0 Fix nits. 2011-12-15 15:13:48 -08:00
Brendan Dahl
f4f125f67d Merge remote-tracking branch 'upstream/master' into decodemap 2011-12-15 14:41:03 -08:00
notmasteryet
b010f293a2 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into forms-1 2011-12-15 15:35:44 -06:00
Adil Allawi
5bd080fd05 oops, interval was not clearing because 'this' is not the same 'this' inside an interval. Should use local variable 'self' instead. Reviewers you should have spotted this! :) 2011-12-15 11:32:58 +00:00
Adil Allawi
c93e7c9c87 Merge branch 'master' of https://github.com/mozilla/pdf.js 2011-12-15 10:09:04 +00:00
Adil Allawi
4a14a79884 use array index instead of array.shift() 2011-12-15 10:08:50 +00:00
Adil Allawi
cc007b539a fix lint nitpick 2011-12-15 09:20:55 +00: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
Adil Allawi
ce57bac447 Build Text Layer one div at a a time as an Interval instead of a all in a TimeOut to keep the browser responsive 2011-12-14 22:28:34 +00:00
Brendan Dahl
d1f4e7c7d5 Change to passing promises. 2011-12-14 14:02:00 -08:00
Brendan Dahl
c2b91f1272 Merge upstream. 2011-12-14 13:41:36 -08:00
Brendan Dahl
5ad3a9cc72 Add basic rescale support for smacks. 2011-12-14 12:27:56 -08:00
Brendan Dahl
9d042ce166 Use the general function for is default decode. 2011-12-14 08:47:35 -08:00
notmasteryet
45ef8742ac type3 font.coded comment; proper geometery for showText; glyph name 2011-12-13 18:28:02 -06:00
notmasteryet
c9981b6ff4 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into tree-49 2011-12-13 17:57:58 -06:00
Brendan Dahl
ff1d804fd7 Move the default decode to logic to the colorspace. 2011-12-13 14:35:46 -08:00
Brendan Dahl
55bbcbc664 Working improved version. Still need to refactor default decode stuff. 2011-12-13 13:53:22 -08:00
Brendan Dahl
868d07e289 Merge pull request #917 from arturadib/check-pixels
Throw error on # of pixels mismatch
2011-12-13 13:31:57 -08:00
Brendan Dahl
ac3ccdef4a Merge remote-tracking branch 'origin/nativejpegsmask' into decodemap 2011-12-13 09:12:26 -08:00
Brendan Dahl
2f10d24502 Fix for chrome. 2011-12-13 09:05:00 -08:00