Commit Graph

589 Commits

Author SHA1 Message Date
Yury Delendik
2f4423cffb Fixing zoom and rotate issues 2012-04-11 09:42:41 -07:00
Yury Delendik
82dd32e807 Merge branch 'api' of git://github.com/mozilla/pdf.js.git into remove-rotatept 2012-04-11 08:30:24 -07:00
Yury Delendik
47c43b5779 Removing the rotatePoint, width, height from the API 2012-04-11 08:29:44 -07:00
Brendan Dahl
fbd9fcd8fb Fix fingerprint name. 2012-04-10 12:17:43 -07:00
Yury Delendik
737ed84174 Initial API implementation 2012-04-09 22:20:57 -07:00
Yury Delendik
be6ccdca34 Rebuilding invalid OS/2 table 2012-04-06 15:52:57 -07:00
Brendan Dahl
2e92c0ea08 Merge pull request #1494 from yurydelendik/convert-docinfo
Convert Unicode strings in the document info
2012-04-05 16:15:31 -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
4984ca9894 Fix lint. 2012-04-05 15:33:00 -07:00
Brendan Dahl
dd319995e1 Merge pull request #1484 from yurydelendik/issue-1462
Removing double-entry for 'space' for standard encodings
2012-04-05 15:28:30 -07:00
Brendan Dahl
fece736b8a Merge upstream. 2012-04-05 12:46:23 -07:00
Yury Delendik
5dd4c0278d Merge remote-tracking branch 'mozilla/master' into convert-docinfo
Conflicts:
	src/core.js
2012-04-05 11:34:55 -05:00
Yury Delendik
08a241fc4b Convert Unicode strings in the document info (#1458) 2012-04-05 10:40:37 -05:00
Yury Delendik
8ee1f96b19 Fix the merge 2012-04-05 10:12:48 -05: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
5083774a8c Fix lint warnings in fonts.js. 2012-04-05 07:37:04 +03:00
Brendan Dahl
cee2f73ca9 Fix table of contents. 2012-04-04 15:29:50 -07:00
Kalervo Kujala
8fd04e7daa Correct Type1 class method names. 2012-04-05 00:14:47 +03: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
Yury Delendik
b3bcd7370c Removing double-entry for 'space' for standard encodings 2012-04-04 09:48:33 -05:00
notmasteryet
512997a5af Merge pull request #1457 from gigaherz/closure-compiler
Fixes to allow compiling with Closure Compiler
2012-03-31 14:42:15 -07:00
notmasteryet
fed4cb194e Merge pull request #1448 from brendandahl/fdselectorder
Fix cff regression.
2012-03-31 07:55:01 -07:00
gigaherz
9abbce021f Undo comment changes. 2012-03-30 23:28:11 +02: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
c7bd123bab Merge pull request #1417 from notmasteryet/issue-1395
Don't print missing symbols in the font
2012-03-30 12:25:36 -07:00
Brendan Dahl
8c5d33c86b Fix cff regression. 2012-03-29 15:37:40 -07:00
Brendan Dahl
7008d07fde Fix gradients for fill and stroke. 2012-03-29 08:53:51 -07:00
Brendan Dahl
afebc33142 Merge pull request #1413 from saebekassebil/metadata
Metadata Parsing - Setting proper document title
2012-03-28 12:02:16 -07:00
Saebekassebil
e9b5205612 File header 2012-03-28 20:09:03 +02:00
Saebekassebil
10fb0dc383 Use strict and expose in build version 2012-03-28 20:07:37 +02:00
Saebekassebil
1181ef2778 Fix throwing errors 2012-03-28 19:15:59 +02:00
Saebekassebil
89c1873fd8 more one-line fixes 2012-03-27 22:37:02 +02:00
Saebekassebil
e6277784f1 fix to follow syntax style guidelines 2012-03-27 22:32:35 +02:00
Kalervo Kujala
a84fbb9eb2 Fix a couple of closure names. 2012-03-27 14:27:49 +03:00
notmasteryet
19bc96a617 Merge pull request #1406 from 'bdahl/string_fontname'
Fix string font names.
2012-03-26 21:17:16 -05:00
Brendan Dahl
d9bb76d54c Merge pull request #1418 from notmasteryet/truetype-enc-2
Checking if it's a true symbolic truetype font
2012-03-26 17:12:16 -07:00
Saebekassebil
e283a60d7b return and shadow for getDocumentInfo 2012-03-27 00:16:16 +02:00
Saebekassebil
4703a6cfcd refactor getFingerprint 2012-03-27 00:14:59 +02:00
Saebekassebil
94a1558843 refactor and shadow 2012-03-27 00:05:14 +02:00
Saebekassebil
edc1694620 Now also fetch 'Document Info Dictionary', and expose 'raw' metadata attributes 2012-03-26 23:48:04 +02:00
notmasteryet
851220074d Checking if it's a true symbolic truetype font 2012-03-25 16:30:44 -05:00
notmasteryet
bcdf7b46c5 Fixing advance after disabled symbols 2012-03-25 14:31:28 -05:00
notmasteryet
72355121a0 Don't print missing symbols in the font 2012-03-25 14:15:40 -05:00
Saebekassebil
efa89ba41a Fix issue #1302 2012-03-25 13:00:43 +02:00
Saebekassebil
ab198e89cc Typo from git'ing around 2012-03-24 23:39:03 +01:00
Saebekassebil
9dbcc74d41 lint.. 2012-03-24 20:02:20 +01:00
Saebekassebil
20dd225e40 Metadata parsing/serialization 2012-03-24 19:59:51 +01:00
notmasteryet
32eb64389e Merge pull request #1382 from kkujala/master
Use [] instead of new Array(...).
2012-03-24 10:00:46 -07:00
Brendan Dahl
25c0bfaa79 Merge pull request #1361 from notmasteryet/truetype-enc-1
Fixes TrueType cmap re-encoding
2012-03-22 11:49:16 -07:00
Kalervo Kujala
8e060bdbca Use [] instead of new Array(...). 2012-03-22 15:15:27 +02:00
Brendan Dahl
2d7e1d6346 Merge upstream. 2012-03-21 16:13:24 -07:00
Brendan Dahl
37fef69e5e Remove slice. 2012-03-21 16:03:17 -07:00
Kalervo Kujala
ed2bcf0ffa Add protection against malicious code in font loader. 2012-03-20 17:57:38 +02:00
Kalervo Kujala
eb4ec7899a Remove unreachable logic after error(...) is called.
The function error(...) always throws so there is no need to return separately
or have an else branch.
2012-03-20 14:16:48 +02:00
Brendan Dahl
52a4bcbd4f Merge upstream. 2012-03-19 10:45:53 -07:00
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