Commit Graph

530 Commits

Author SHA1 Message Date
Brendan Dahl
6f5baaa60b Fix names, remove debug function. 2012-03-19 10:41:13 -07:00
Brendan Dahl
cdbbd76594 Merge pull request #1359 from notmasteryet/issue-1357
Add 'Indexed' colorspace abbreviation
2012-03-19 09:34:28 -07:00
Artur Adib
0c258ae7a8 Merge pull request #1259 from jviereck/worker_cleanup
Worker cleanup
2012-03-19 09:10:21 -07:00
Brendan Dahl
c0b9b8928b Merge branch 'master' of https://github.com/mozilla/pdf.js into string_fontname 2012-03-18 19:57:28 -07:00
Kalervo Kujala
2fb6e413db Separate return statement from function for clarity in bidi.js.
This fixes also JSlint warning.
2012-03-18 22:56:03 +02:00
notmasteryet
73c9f8797b Add missing .link files; minor fix 2012-03-17 23:22:42 -05:00
notmasteryet
a66b1a7ad3 Fix unicode re-assignment; MacRomanEncoding detection 2012-03-17 23:05:22 -05:00
notmasteryet
29fb446a38 Merge pull request #1351 from jviereck/canvas_draw_time
Change the kExecutionTime value to 15.
2012-03-17 15:48:16 -07:00
notmasteryet
1f0af7c476 Add 'Indexed' cs abbreviation 2012-03-17 17:35:04 -05:00
Brendan Dahl
c4c923bdcf Fix string font names. 2012-03-16 11:58:23 -07:00
Brendan Dahl
2c5de00ef3 Merge pull request #1346 from notmasteryet/verifyname-2
Verify the names parameter in fontLoaderPrepareFontLoadEvent
2012-03-16 10:48:57 -07:00
Julian Viereck
25cfebfd71 Change the kExecutionTime value to 15. In theory, this should give 60FPS rendering. 2012-03-16 15:08:50 +01:00
Julian Viereck
b22bfad5ec Fix after rebase 2012-03-16 15:02:17 +01: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
f80fd13fe5 new ScratchCanvas -> createScratchCanvas and fix linting 2012-03-16 14:56:43 +01:00
Julian Viereck
261ff39f6d Remove suffix _IR 2012-03-16 14:56:43 +01:00
Julian Viereck
8325d37f9d No need to store ScratchCanvas on CanvasGraphics 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
Julian Viereck
c57349a927 Remove TODO on PDFDocModel and rename pdf to pdfModel 2012-03-16 14:54:10 +01:00
Julian Viereck
889d6d100a Cleanup font loading. 2012-03-16 14:54:10 +01:00
Bernerd Schaefer
31839d8c78 Change bidi.js file format to unix
This gets rid of all the `^M` control characters when viewed with vim.
2012-03-16 11:27:09 +01:00
notmasteryet
2508d2c12b Verify the names parameter 2012-03-15 21:25:19 -05:00
notmasteryet
6051720ecb Merge pull request #1335 from mrqzzz/master
Re-Fixed code (Lint friendly)
2012-03-15 16:26:07 -07:00
theredspatula
6f61b52943 Line 405 : 'errorback' should have been 'errback' 2012-03-15 11:59:32 -07:00
Marcus Oblak
7ec282cbb0 Re-Fixed Formatting (Lint friendly) 2012-03-14 21:58:22 +01:00
notmasteryet
19b670458e Remove empty gryphs; improve glyph unicode movements 2012-03-13 18:59:16 -05:00
Marcus Oblak
2fbfed476e Fixed code formatting. 2012-03-13 22:25:39 +01:00
mrqzzz
d6cb3cbbd7 Handled case where var "outlineDict" was null (in certain PDFs). Handled
case where var "e" was null in "function xRefGetEntry" (in certain PDFs)
2012-03-13 16:52:55 +01:00
Artur Adib
6833f64db3 Merge pull request #1067 from brendandahl/stats
Start of the benchmark recording framework.
2012-03-13 06:04:48 -07:00
Brendan Dahl
084a8bca03 Add function for checking url. 2012-03-12 16:31:49 -07:00
Brendan Dahl
41557d62c0 Merge branch 'master' of https://github.com/mozilla/pdf.js into stats 2012-03-12 13:23:33 -07:00
Brendan Dahl
387a56fd2c Sanitize pdf link urls. 2012-03-12 12:00:30 -07:00
Brendan Dahl
adee28b2ec Fix font matrix. 2012-03-11 18:21:38 -07:00
Brendan Dahl
cca0241532 Slight rename. 2012-03-10 19:37:22 -08:00
Brendan Dahl
4a50e06e85 Merge branch 'master' of https://github.com/mozilla/pdf.js into cff 2012-03-10 19:22:02 -08:00
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