Commit Graph

619 Commits

Author SHA1 Message Date
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
ee0c2e2ab7 Make the search button hidden again 2012-09-20 17:08:43 +02:00
Julian Viereck
d26969a85f Remove some debugging informations 2012-09-20 17:08:43 +02:00
Julian Viereck
58ed7fc35c Make the textLayer divs prevent whitespaces 2012-09-20 17:08:42 +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
Julian Viereck
53c66f8a54 Update web/index.html.template
Remove email address due to spam.
2012-09-14 09:49:04 -07:00
Yury Delendik
6c05dc23f9 Update web/index.html.template 2012-09-14 09:31:47 -07:00
Brendan Dahl
d9b8cb84f8 Update index template. 2012-09-14 09:25:00 -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
Michael Payne
d6d4fc8046 remove added inline.js file
Moved inline Javascript function to viewer.js rather than create a new
file
2012-09-06 08:32:19 -07:00
Michael Payne
7bc500af57 added copyright 2012-09-05 22:54:36 -07:00
Michael Payne
088c6e17e8 changes to allow chrome extension to load
changes to remove inline scripts, update manifest version, fix make.js
so compatibility.js isn't included for chrome. Due to new Chrome
extension changes outlined at
http://developer.chrome.com/extensions/manifestVersion.html
2012-09-05 22:52:17 -07:00
Yury Delendik
a9026f0a6c Changes thumbs and outline panels positioning to absolute 2012-09-05 10:31:23 -05: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
Yury Delendik
72bb0f5a45 Add top padding for full screen mode 2012-08-27 12:46:26 -05:00
Yury Delendik
1cbbb37fbc Making webkit fullscreen work as for moz 2012-08-27 10:57:40 -05: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
96c2f5c6ae Simulate support of data URIs for IE10 2012-08-10 18:51:03 -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