Commit Graph

460 Commits

Author SHA1 Message Date
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
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