Commit Graph

18 Commits

Author SHA1 Message Date
chrox
9f42289226 use pixels from reflowed page when doing OCR in reflowing mode
I hope it will get back OCR accuracy as in build 545.
2013-10-14 23:06:05 +08:00
chrox
4660a3532b synchronize hightlights in non-/reflowing modes
and there is no need to OCR word if we can extract text from
original page in reflowing mode thanks to the rect maps between
normal page and reflowed page.
2013-10-12 23:07:13 +08:00
chrox
3f36fa80fd fix nil pos bug in readerhighlight 2013-07-25 23:03:54 +08:00
Paulo Matias
b814eaf6f3 Fix a rare crash on ReaderHighlight 2013-07-23 14:08:14 -03:00
chrox
725bef08e6 add multi-dictionary support 2013-07-21 14:23:54 +08:00
chrox
71d6395fba add Translate button when selecting multiple words 2013-07-20 02:49:03 +08:00
chrox
56c8b28f7c Fix bug #151
Check if there is only one line between the two positions and no
word boxes are found, if so break the loop immediately.
2013-07-12 20:52:12 +08:00
chrox
35f71bb04a add fake tap to dismiss temp hightlight after hightlight is saved 2013-06-17 13:15:24 +08:00
chrox
18fbc0f248 export hightlights to My Clippings 2013-06-16 19:00:15 +08:00
chrox
e3da8e41f1 remove selected word if hold moves out of word box 2013-06-16 16:58:26 +08:00
chrox
2e4485c396 add strings in highlight dialog for translation 2013-06-16 11:15:39 +08:00
chrox
eb4c76bd15 add highlight in pdf reader 2013-06-15 23:16:53 +08:00
chrox
c3dc712169 fix reader crash when hold pos is outside of page area 2013-05-03 19:04:31 +08:00
chrox
7c78e83e49 add hightlight/dictionary lookup in scanned pdf/djvu 2013-05-01 23:43:53 +08:00
chrox
5b6e9a8e03 OCR is almost stable, so enable it now 2013-04-30 13:51:10 +08:00
chrox
19f227f7b1 enlarge OCR region 2013-04-27 17:48:27 +08:00
chrox
46c605d256 disable word OCR for now
Since it will crash the reader with a strange error message saying
"terminate called after throwing an instance of 'DJVU::GException'"
even though only PDF file is opened.
2013-04-24 09:13:20 +08:00
chrox
936dfc6fd1 add text highlight in both reflow and non-reflow mode 2013-04-24 06:59:52 +08:00