Commit Graph

407 Commits

Author SHA1 Message Date
Julian Viereck
e98eba1b11 Merge pull request #2127 from jviereck/text-algo-3
Use the text extracted in the getTextContent function for the divs of the textLayer.
2012-09-25 05:52:46 -07:00
Yury Delendik
574d626f04 Merge pull request #1906 from brendandahl/use-plain-blob
Use Blob constructor when available instead of deprecated MozBlobBuilder.
2012-09-24 17:11:32 -07:00
Mike Taylor
9bc2a065fe Fullscreen updates for latest (unprefixed) spec.
Fixes the camelCase error in requestFullscreen. Replaces document.fullscreen
with a check for document.fullscreenElement.
2012-09-23 23:24:44 +02:00
Brendan Dahl
739ee47865 Use Blob constructor when available instead of deprecated MozBlobBuilder. 2012-09-22 09:44:49 -07:00
Julian Viereck
f1e0edbaa9 Address Yurys review comments 2012-09-22 11:18:26 +02:00
Julian Viereck
a33ba145bf Don't compute the string for the TextLayer in the canvas backend anymore and change the syntax of appendText 2012-09-20 17:15:55 +02:00
Julian Viereck
bd4434a7ea Apply bidi algorithm to the text in the worker 2012-09-20 17:10:51 +02:00
Julian Viereck
8d6565d1a8 Change the format of the BidiResult object. 2012-09-20 17:10:51 +02:00
Julian Viereck
32d14f4575 Ensure textLayers content is always fetched and set on the textLayer 2012-09-20 17:10:51 +02:00
Julian Viereck
d26969a85f Remove some debugging informations 2012-09-20 17:08:43 +02:00
Julian Viereck
a5520216fc Some comment stuff 2012-09-20 17:08:42 +02:00
Julian Viereck
f0f16a6a4d Do some logging of the outputted text 2012-09-20 17:08:42 +02:00
Julian Viereck
83c499595c Change the PDFJS.bidi function calls slightly to avoid creating a seperate object to pass to PDF.JS bidi and just pass in a string 2012-09-20 17:08:42 +02:00
Julian Viereck
3db4e7266e Make the textLayer use extracted textContent 2012-09-20 17:08:42 +02:00
Julian Viereck
668c2867d4 Change the format of textContent to be an array 2012-09-20 17:01:16 +02:00
Julian Viereck
eced7fbb57 Backup work before redoing the textContent format 2012-09-20 17:01:16 +02:00
Julian Viereck
a38c4bc729 Make getTextContent return offset array and improve the algorithm. Make
parts in viewer.js work again.
2012-09-20 17:01:15 +02:00
Artur Adib
863dd0d214 merge upstream 2012-09-18 16:57:09 -04:00
Yury Delendik
ac7b6aeff4 Provides right fallback fonts for text layer 2012-09-14 11:17:35 -07:00
Yury Delendik
a98d84ff64 Merge pull request #2115 from yurydelendik/merge-font-text
Refactor text extraction / font loading logic
2012-09-13 17:43:09 -07:00
Yury Delendik
e086cf36f4 Refactor text extraction / font loading logic 2012-09-13 15:12:42 -07:00
Julian Viereck
d108b20730 Merge pull request #2100 from brendandahl/zoom-out-mac
Fix zoom out keyboard shortcut for mac.
2012-09-13 07:47:51 -07:00
Artur Adib
0e89fe7d9d nit 2012-09-12 15:07:23 -07:00
Artur Adib
708eb78c67 working fragments 2012-09-12 14:26:01 -07:00
Brendan Dahl
24d660eebe Fix regression from #2087. 2012-09-10 17:39:51 -07:00
Brendan Dahl
62734a2d97 Fix zoom out keyboard shortcut for mac. 2012-09-10 09:28:45 -07:00
gigaherz
3e20fe2355 Refresh the zoom settings after rotating the pages also for non-fullscreen, using the current value of the scale. 2012-09-08 02:07:16 +02:00
gigaherz
bbcb05af7b Implement page rotation controls using keyboard (R/shift-R) and context menu. 2012-09-08 01:05:14 +02:00
Michael Payne
6ca9245a39 Changes to allowed versioned building of Chrome extension that meets new
Chrome extension security requirements
2012-09-06 12:39:49 -07:00
Brendan Dahl
332ae4ce41 Change to the Apache v2 license. 2012-08-31 15:48:21 -07:00
Yury Delendik
c53b7aacfc Fixes scrollIntoView when scrollbars are hidden 2012-08-28 16:29:47 -05:00
Brendan Dahl
57866c514b Merge pull request #2023 from yurydelendik/scrollIntoView
Replaces scrollIntoView
2012-08-27 12:14:02 -07:00
gigaherz
1a915943cd Fix review comments. 2012-08-27 09:02:10 +02:00
gigaherz
d64bb603c8 Gracefully fail if the URL filename cannot be decoded. 2012-08-27 01:49:07 +02:00
Yury Delendik
2531515f15 Replaces scrollIntoView 2012-08-24 10:12:03 -05:00
Yury Delendik
cd1a645881 Adds support of the indeterminate loading progress 2012-08-22 10:48:56 -05:00
Brendan Dahl
e11e8117c5 Merge pull request #1943 from yurydelendik/loadingbychrome
Implements loading PDF data by extension/chrome
2012-08-21 11:14:16 -07:00
Yury Delendik
df4fadeaf5 Unknown length support; reports download error 2012-08-20 17:16:04 -05:00
Yury Delendik
c02e539e35 Adds textlayer debug modes 2012-08-19 20:02:12 -05:00
Yury Delendik
ec8fdb60fc Fixes "TypeError: invalid 'in' operand args" 2012-08-15 10:38:15 -05:00
Yury Delendik
68c298a409 Merge fix: don't open the file if passive mode is selected 2012-08-15 10:28:26 -05:00
Yury Delendik
9cc5fc4e38 Merge branch 'master' of git://github.com/mozilla/pdf.js.git into loadingbychrome
Conflicts:
	web/viewer.js
2012-08-15 10:17:30 -05:00
Yury Delendik
e17d828b64 Merge pull request #1967 from brendandahl/deatched-dom
Cleanup references to dom elements.
2012-08-08 12:38:08 -07:00
Brendan Dahl
1d3aba25a9 Merge pull request #1962 from yurydelendik/ie10-1
Adds overrideMimeType for IE10 and discontinues readAsBinaryString use
2012-08-08 11:59:18 -07:00
gigaherz
eaffcfa920 Fix some typos in comments and variable names.
Fix some nits in debugger.js.
2012-08-08 20:26:24 +02:00
gigaherz
ea23a42124 Merge branch 'master' of git://github.com/mozilla/pdf.js into nits
Conflicts:
	web/viewer.js
2012-08-08 18:45:51 +02:00
Brendan Dahl
2ca8c0d999 Cleanup references to dom elements. 2012-08-08 09:07:31 -07:00
Yury Delendik
70beb11a50 Merge pull request #1953 from brendandahl/b2g
Add B2G build and new preprocessor.
2012-08-08 08:37:26 -07:00
gigaherz
fdc6dc7ee4 Improved page tracking on scrolling [squashed] 2012-08-08 01:52:22 +02:00
gigaherz
d01071f426 Remove the commented out call to info() 2012-08-07 17:54:05 +02:00