2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

34 Commits

Author SHA1 Message Date
Qingping Hou
d2d8ad84ed handle djvu getPageText API changes. 2012-05-23 13:04:05 +08:00
Qingping Hou
a672cf4ee0 unified coordinates system in djvrereader
fix bug in showing manual corp area.
this also fixes #132.
2012-04-30 22:12:15 +08:00
Qingping Hou
a99a0a9489 fix bug in highlight engine
only goto next view when the word is in next view.
same for previous view
2012-04-21 12:14:35 +08:00
Dobrica Pavlinusic
96958c62ca added UniReader:screenOffset and use it 2012-04-13 18:10:11 +02:00
Dobrica Pavlinusic
0a8ca94218 make highlight working in all zoom modes #103
This change introduce object's dest_x and dest_y coordinates which
are needed in zoomedRectCoordTransform to make highlight scale and
move according to current pan position.
2012-04-13 16:51:17 +02:00
Qingping Hou
dcd485c84c fix: bug in highlighting words
Properly highlight words that partially fit
into screen range.
2012-04-12 17:31:01 +08:00
Qingping Hou
3438d6749d mod: rewrite part of highlight code
* add _isEntireLineInScreenHeightRange() method
  For better page view navigation when highlighting
  or moving cursor.

* bug fix in _isWordInScreenRange() method

* add _nextGap(), _prevGap(), _gapInNextLine()
  and _gapInPrevLine() methods, so now key event
  handling code in cursor moving mode only focuses
  on drawing, calculation task is passed to these
  four methods.
2012-04-12 15:50:19 +08:00
Qingping Hou
56d4700001 mod: changes APIs in highlighting code 2012-04-12 11:23:22 +08:00
HW
46d197954b put highlight implementation into unireader 2012-04-11 22:52:48 +02:00
Qingping Hou
c85b768c0e switched shortcut between 10 degree and 90 degree rotation
* also deleted 10 degree rotation shortcut in
djvureader, becuase it is not supported by the
library.
2012-04-10 20:45:22 +08:00
Qingping Hou
ecd56a3745 mod: prefix global variables width and height with G_ 2012-04-09 15:42:19 +08:00
Qingping Hou
5e58a94632 mod: rm unused shortcuts in crereader 2012-04-06 20:13:46 +08:00
Dobrica Pavlinusic
5b1deedd86 remove setCacheSize set cache in openDocument 2012-03-31 14:41:23 +02:00
Qingping Hou
a8c40cd5b6 fix: highlight words that partially fit into screen 2012-03-27 01:15:58 +08:00
Qingping Hou
0c2afd805e fix: enable pan by page from right end to next line left end 2012-03-24 22:06:29 +08:00
Qingping Hou
74d1760260 fix: start position of cursor 2012-03-24 21:27:35 +08:00
Qingping Hou
5d087d0a84 fix: handle out or view range word in highlight mode 2012-03-24 20:12:00 +08:00
Qingping Hou
e15fc5e21e mod: delete useless variable is_next_view 2012-03-24 18:39:33 +08:00
Qingping Hou
e5acbeb363 mod: fix bug in cursor move
only move cursor to word in current view
2012-03-24 18:28:52 +08:00
Qingping Hou
c756fcbf10 fix: cursor move in zoom in mode
only move cursor to word within screen range
2012-03-23 18:28:15 +08:00
Qingping Hou
35abbc93d4 add: configurable highlight drawer
* underscore style (default)
* marker style
2012-03-23 17:20:51 +08:00
Qingping Hou
e30b88d135 add: delete feature in djvu highlight 2012-03-23 16:56:01 +08:00
Qingping Hou
81a1f3d366 demo of text highlight
* text selection
* highlight save and restore
2012-03-23 15:51:48 +08:00
Qingping Hou
7c81f60a58 rewrite highlight again :( finished the cursor part 2012-03-22 23:12:57 +08:00
Qingping Hou
1e2d7f62ac record and save highlight table 2012-03-21 10:37:18 +08:00
Qingping Hou
a185f238eb mod: rewrite highlight feature 2012-03-20 16:42:22 +08:00
Qingping Hou
f4ea1cdb62 Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
Conflicts:
	blitbuffer.c
	unireader.lua
2012-03-20 10:36:35 +08:00
HW
7e3e38be62 Password input, handling for broken documents 2012-03-20 00:10:19 +01:00
HW
9ee7afa86d separate DC out of pdf.c and djvu.c (cleanup) 2012-03-19 18:59:36 +01:00
Qingping Hou
ac8206fa95 first demo for pan by page highlight 2012-03-20 01:30:33 +08:00
Qingping Hou
7bbc5b5ed2 highlight with cursor demo 2012-03-19 21:22:45 +08:00
Qingping Hou
e7f0a8bddb mod: rewrite highlight feature
waiting for integrate test with cursor support
2012-03-19 11:05:23 +08:00
Qingping Hou
50d5604c79 mod: code cleanup for readers
closes #26
2012-03-05 09:58:19 +08:00
Qingping Hou
b318ca08e3 mod: merge djvu branch with master 2012-03-05 09:46:16 +08:00