Dobrica Pavlinusic
6a479aee80
support pressed or repeating keys
2012-04-27 20:37:07 +02:00
Dobrica Pavlinusic
44be823115
use getRectInScreen
2012-04-26 22:27:00 +02:00
Dobrica Pavlinusic
37289fb18d
invert page bbox on X #35
2012-04-26 22:16:36 +02:00
Dobrica Pavlinusic
5492025a38
pan_margin is really in screen pixels
...
I don't know what I was thinking when implementing this code. If I
modify it with global zoom, it keeps moving, as we zoom in on multiple
key presses
2012-04-26 14:20:15 +02: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
Qingping Hou
1a2be0453d
fix bug in highlight engine
...
handle left end of line in highlight delete.
2012-04-21 09:46:30 +08:00
Qingping Hou
8d74649642
adjust wording
2012-04-20 18:29:08 +08:00
Qingping Hou
c350f5af87
add: hint message for inputbox
...
use hint message to indicate current page
in goto page feature.
2012-04-20 14:04:37 +08:00
Qingping Hou
eaafcafb9e
add fix KEY_LPG{BCK,FWD} listening for unireader
2012-04-20 10:16:14 +08:00
Qingping Hou
b03d589ae9
add preLoadSettings methods for cache_document_size setting
...
cache_document_size should be configurable for
every docuemnt and it must be loaded before
document open, so I added the preLoadSettings method
2012-04-19 14:39:50 +08:00
Qingping Hou
9144cabc76
fix bug in partial refresh count
2012-04-19 14:10:37 +08:00
Qingping Hou
ca55b39756
fix turn to previous page with KEY_LPGBCK
2012-04-19 13:57:30 +08:00
Qingping Hou
e282179793
fix bug in addJump and addBookmark
...
Pointed out by kljohann, thanks.
Now addJump and addBookmark get notes
from specified pageno/xpointer instead
of current page.
* also fixed bug in page number counting
in cre.cpp
2012-04-19 09:58:34 +08:00
Qingping Hou
3306346dba
use debug to print debug info
2012-04-19 00:16:49 +08:00
Qingping Hou
35e4ceaf57
fix page comparing in addJump
2012-04-19 00:04:41 +08:00
Qingping Hou
b1e49446a0
fix typo in unireader
2012-04-18 20:05:12 +08:00
Qingping Hou
fa414af1eb
handle obselete jumpstack settings
...
* remove jumpstack settings if found
* add DocSettings:delSetting method
* rename DocSettings:savesetting to
DocSettings:savesetting.
2012-04-18 17:29:27 +08:00
Qingping Hou
84fe9f49a4
rewrite jump stack and add bookmark feature
...
* jump stack is rewritten as jump history
* add bookmark feature
2012-04-18 17:01:22 +08:00
Dobrica Pavlinusic
eeffcc4f21
unireader now users debug #121
2012-04-17 19:05:22 +02:00
Dobrica Pavlinusic
f8f8a58bd9
fixed my first use of showInfoMsgWithDelay
2012-04-17 18:58:49 +02:00
Dobrica Pavlinusic
38bbe0f227
showInfoMsgWithDelay for highlight
2012-04-17 18:10:03 +02:00
Qingping Hou
dc36e61422
put cursor on the left of first word
2012-04-17 18:05:12 +08:00
Qingping Hou
1bc250591e
add left page turn key back to unireader commands
2012-04-17 17:47:19 +08:00
Qingping Hou
0075580b09
more notifications for manual crop shortcuts
2012-04-17 14:36:37 +08:00
Qingping Hou
14bc4ece53
add notification for manual crop settings
2012-04-17 14:29:38 +08:00
Dobrica Pavlinusic
53fcb2490b
exit with just home (no modifier)
2012-04-16 14:28:46 +02:00
Dobrica Pavlinusic
b06927dcfe
fix modifier for zoom in
2012-04-16 14:24:03 +02:00
traycold
02dd9b023f
Merge remote branch 'hwhw/master'
...
* hwhw/master: (183 commits)
show infomessage on document open
use InfoMessage for empty TOC, jump history and highlights
copy resources dir on customupdate
add resource: info icon
display document open error message
added infomessage dialog implementation
bugfix, removed old test constant
Added widget abstraction framework
added interface to get blitbuffers from JPEG/PNG files
fix typo
added reading of pan_margin settings
fix full screen refresh command, close #99
add: sleep and usleep in util module
fix: add back KEY_FW{LEFT,RIGHT} commands to NumInputBox
reverted removal of last-doc shortcut, introduced framework restart
kill our own child process. not quite finished.
added line spacing setting for crereader
remove page:getPageText debug dump to improve performance on device
remove page:getPageText debug dump to improve performance on device
display crash.log on error
...
Conflicts:
ft.c
helppage.lua
inputbox.lua
rendertext.lua
rendertext_example.lua
unireader.lua
2012-04-16 00:08:19 +02:00
traycold
6c9ec8c896
refactoring for display help page
2012-04-15 16:07:39 +02:00
Qingping Hou
f24f2a01f6
use InfoMessage for empty TOC, jump history and highlights
2012-04-15 11:02:42 +08:00
Dobrica Pavlinusic
eeae5982dd
added reading of pan_margin settings
2012-04-14 16:23:41 +02:00
Qingping Hou
cde796f6b5
fix full screen refresh command, close #99
2012-04-14 14:27:17 +08:00
Dobrica Pavlinusic
b6d167f8ca
remove page:getPageText debug dump to improve performance on device
...
And leave it in unireader if we can't find text on page
2012-04-14 00:03:16 +02:00
Dobrica Pavlinusic
81c6dc5997
commands.map is very large, impacts startup performance on device
2012-04-13 20:46:10 +02:00
Dobrica Pavlinusic
96958c62ca
added UniReader:screenOffset and use it
2012-04-13 18:10:11 +02:00
Dobrica Pavlinusic
4d49e9f28b
correct two-column margin calculation respecting globalzoom
2012-04-13 17:57:49 +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
3828a6c440
fix: clear show_overlap in two column mode on KEY_FW_{LEFT, RIGHT}
2012-04-13 17:09:15 +08:00
Qingping Hou
75f244eb60
fix: typo in unireader
2012-04-13 10:37:50 +08:00
HW
57d769e0ae
added wrapper function for input.waitForEvent that retries on EINTR
2012-04-12 21:00:44 +02:00
Qingping Hou
1407579ea8
mod: remove debug code
2012-04-12 17:49:38 +08: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
75d5b5f984
fix: three bugs in highlight mode
...
* handle left end of first line in cursor move
* properly highlight first word if cursor starts
from left end of first line
* handle right end of last line in cursor move
2012-04-12 13:43:20 +08:00
Qingping Hou
66ab3a2f56
fix: typo in unireader's comment
2012-04-12 11:34:24 +08:00
Qingping Hou
56d4700001
mod: changes APIs in highlighting code
2012-04-12 11:23:22 +08:00
HW
face8b44c0
fixed cursor positioning
2012-04-11 23:33:47 +02:00
HW
46d197954b
put highlight implementation into unireader
2012-04-11 22:52:48 +02:00
Dobrica Pavlinusic
b555596f42
correctly dim part of page when hitting margins
2012-04-10 23:15:09 +02:00
Qingping Hou
7093e7377e
fix: reset dc after screen rotate
...
handle ZOOM_FIT_TO_CONTENT_WIDTH_PAN mode
seperately.
2012-04-10 21:34:38 +08: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
95998a7397
add: NumInputBox class for goto page feature
2012-04-10 15:52:51 +08:00
HW
040a4e88b9
Merge pull request #95 from dpavlin/master
...
show overlap when moving with pan_by_page
2012-04-09 11:42:40 -07:00
HW
1c50a5676a
free blitbuffers when cleaning complete cache
2012-04-09 19:58:34 +02:00
HW
ec2eda0c05
switched font handling to only work with external fonts
...
now you can use a environment variable, FONTDIR, to point
to a font dir. Otherwise, "./fonts" is used by default.
Subdirectories are indexed.
2012-04-09 19:04:26 +02:00
Dobrica Pavlinusic
752da5ca3f
use pan_overlap_vertical only in pan_by_page mode
2012-04-09 16:36:23 +02:00
Dobrica Pavlinusic
9dd9df0356
added dimRect and use it
...
dimRect might be useful if we want to display status messages over
content (as opposed to erasing background)
2012-04-09 16:36:22 +02:00
Dobrica Pavlinusic
5d9176907f
show_overlap inverts part of page visible in previous view
...
This is nice feature of Sony e-book readers which is very useful when
reading since it shows previous part of visible page and provides
hint where to continue reading after page refresh
2012-04-09 16:36:22 +02:00
Qingping Hou
ecd56a3745
mod: prefix global variables width and height with G_
2012-04-09 15:42:19 +08:00
Qingping Hou
5f7f9a2a83
fix: remove slider event handling in unireader
...
Slider event handling has been moved to commands
module, refer to previous commit.
2012-04-08 12:49:23 +08:00
Qingping Hou
b8b1bc19fd
fix: wait for more time instead of suspending framework
...
refer to discussion in #88
2012-04-08 11:22:29 +08:00
Qingping Hou
245247b2d1
mod: use redrawCurrentPage() for all page redraw
...
different readers might have different way to redraw
pages, so I added this abstract method
2012-04-07 23:28:56 +08:00
Qingping Hou
1f9efe0d9c
Merge branch 'master' into epub
...
Conflicts:
Makefile
unireader.lua
2012-04-07 23:09:57 +08:00
Qingping Hou
cb83e47875
mod: use XPointer as absolute postion indicator inside document
2012-04-07 22:55:56 +08:00
Qingping Hou
9d11916bbd
mod: resume framework in kpdf.sh
2012-04-07 10:05:27 +08:00
Qingping Hou
43288b55ec
fix: handle zero used box
2012-04-06 21:17:25 +08:00
Qingping Hou
5e58a94632
mod: rm unused shortcuts in crereader
2012-04-06 20:13:46 +08:00
Qingping Hou
a5a5c477ac
mod: save and restore font face for each book in crereader
2012-04-06 19:11:18 +08:00
Qingping Hou
c41e3e75a3
add: demo for fixing #85 , #86
2012-04-06 13:51:37 +08:00
Qingping Hou
c8a51bb4bd
Merge branch 'master' into epub
2012-04-04 00:00:49 +08:00
Qingping Hou
c48ed22fce
fix: typo in drawOrCache() method
2012-04-03 23:55:19 +08:00
Qingping Hou
9e4b2675f0
Merge branch 'master' into epub
...
Conflicts:
unireader.lua
2012-04-01 08:27:25 +08:00
Qingping Hou
0dd063b7ce
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
...
Conflicts:
unireader.lua
2012-04-01 01:12:59 +08:00
Qingping Hou
8764b8aa4f
fix: force freeing biltbuffer on cache evict
...
Also move cache display code above reading progress
code.
2012-04-01 00:59:16 +08:00
Dobrica Pavlinusic
244a6077ab
cache_item_max_pixels is not used #79
2012-03-31 16:31:41 +02:00
Dobrica Pavlinušić
fd8a7283c0
Merge pull request #83 from houqp/master
...
This should fix #78
2012-03-31 06:36:07 -07:00
Dobrica Pavlinusic
661c7be893
use @traycold code from #74 to show current mupdf cache usage
2012-03-31 15:29:17 +02:00
Qingping Hou
dc30c491f7
add: Shift+R for manual full screen refresh
...
fix #78
2012-03-31 21:18:04 +08:00
Qingping Hou
a035998b20
add: partial refresh configure entry in .readker.kpdfview.lua
...
fix #78
2012-03-31 21:12:31 +08:00
Dobrica Pavlinusic
5884f69b60
setCacheSize cleanup
2012-03-31 15:10:20 +02:00
Dobrica Pavlinusic
2754d996c4
move memory info to top of page
...
This allows section name to be displayed on bottom, and it won't push
memory info out of screen
2012-03-31 14:32:36 +02:00
Dobrica Pavlinusic
3e83dcc2a4
pass cache_document_size to document open
...
This is how mupdf API is structured
2012-03-31 14:10:41 +02:00
Dobrica Pavlinusic
4f0b41ebc5
show cache_current_memsize
2012-03-31 13:57:35 +02:00
Dobrica Pavlinusic
60b7ccb3cb
added cleanCache bound to C key in menu #80
2012-03-31 13:38:33 +02:00
Dobrica Pavlinusic
91bd1277d7
control renderer memory usage #80
...
added setCacheSize and cache_document_size configuration vairable
2012-03-31 13:24:38 +02:00
Dobrica Pavlinusic
92ec4213c0
show djvu cache size #80
...
Currently it shows cache_max_memsize and cache_item_max_pixels from
lua and djvu cache size on menu key
2012-03-31 12:54:45 +02:00
Qingping Hou
37dfc84d5a
fix: move commands initilization from global init to local
...
If we call addAllCommands in initGlobalSettings, all
the readers will share the same commands and we cannot
adjust commands for a specific reader. I thus moved this
method call to Unireader:init() method.
2012-03-30 14:10:04 +08:00
Qingping Hou
8a2b86e203
mod: factor last reading page saving and resotring
2012-03-30 13:07:48 +08:00
Qingping Hou
9b500189f2
Merge branch 'master' into epub
2012-03-29 19:36:32 +08:00
Qingping Hou
ad9d13a947
mod: rename TOC to Toc, adapt showMenu to CREReader
2012-03-29 18:17:32 +08:00
Qingping Hou
b09110a38d
Merge branch 'djvu-highlight' into epub
2012-03-29 17:54:48 +08:00
Qingping Hou
4821f10dda
half done demo for crengine
2012-03-29 00:09:26 +08:00
Dobrica Pavlinusic
69a8ee83bb
specify multiple keys for single command #55
...
This code still doesn't support different modifiers on keys, but
I would rather refactor it in small steps first
Current changes adds support for Kindle 3 left page keys
reported by @houqp in issue #55
2012-03-27 20:10:56 +02:00
Dobrica Pavlinusic
d3318beb84
print defined commands using dump
2012-03-27 19:54:07 +02:00
Qingping Hou
d37e81ad0c
Merge remote-tracking branch 'upstream/master' into djvu-highlight
...
Conflicts:
unireader.lua
2012-03-27 02:50:15 +08:00
Qingping Hou
8159b24a46
add: simple highlight lists menu
2012-03-27 02:46:03 +08:00
Dobrica Pavlinusic
6886ae9830
exit reader with just Home as before #55
2012-03-26 20:16:36 +02:00
Qingping Hou
1113759972
fix: add virtual startHighLightMode method for all readers.
2012-03-26 20:25:44 +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
9aa9bc802f
mod: add highlight after merged command module
2012-03-21 11:20:07 +08:00
Qingping Hou
46f171df3b
Merge branch 'master' of github.com:hwhw/kindlepdfviewer into djvu-highlight
...
Conflicts:
unireader.lua
2012-03-21 10:52:51 +08:00
Qingping Hou
1e2d7f62ac
record and save highlight table
2012-03-21 10:37:18 +08:00
traycold
bfcad367bb
using font module for getting fonts (commit f95231d789
)
...
renamed function names using camelCase (issue #62 )
2012-03-20 20:15:24 +01:00
traycold
fd6c6dbe60
Merge remote branch 'hwhw/master'
...
* hwhw/master:
Password input, handling for broken documents
factored pages count out, better error and password handling
factored pages counter out of document struct
2012-03-20 18:40:43 +01: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
traycold
3d2a748aee
Merge remote branch 'hwhw/master'
...
* hwhw/master:
fix a Lua 5.0 syntax that was deprecated in 5.1
separate DC out of pdf.c and djvu.c (cleanup)
removed obsolete page rotation handling, closes #70
allow easier customization of toolchain for libdjvu
fix: remove page number checking in displaying TOC
fix: handle LPGBCK and LPGFWD in selectmenu
2012-03-19 20:23:54 +01:00
HW
9ee7afa86d
separate DC out of pdf.c and djvu.c (cleanup)
2012-03-19 18:59:36 +01: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
84c8230730
POC of text highlight in current page!
2012-03-17 12:17:20 +08:00
Qingping Hou
c8f87d5661
fix: remove page number checking in displaying TOC
...
Former showTOC() method checks the page number in each
entry and only display entry whose page number is greater
than the previous one. However, I think this is too
"clever", we should better leave the TOC untouched to keep
consistent with other pdf readers.
2012-03-16 12:27:27 +08:00
traycold
496ab3720e
small bugfix
2012-03-14 00:07:19 +01:00
traycold
943b511b7c
complete implementation of issue #55
...
created a help page
2012-03-13 22:51:25 +01:00
traycold
abf9696221
Merge branch 'master' of git://github.com/hwhw/kindlepdfviewer.git
...
Conflicts:
reader.lua
unireader.lua
2012-03-13 22:14:26 +01:00
Qingping Hou
56a00d79a0
mod: delete debug print
2012-03-13 17:16:05 +08:00
Qingping Hou
46cfd950c7
fix: typo
2012-03-13 17:07:55 +08:00
Qingping Hou
8c31dd3c5f
fix: hanlde offset in ZOOM_FIT_TO_WIDTH_PAN mode
...
ZOOM_FIT_TO_WIDTH_PAN mode must be handled differently.
Because not like other zoom mode, its offset is not set
to middle of the screen or page.
2012-03-13 16:21:16 +08:00
Qingping Hou
734f94da89
fix: handle positive self.offset in draworcache method
2012-03-13 15:37:45 +08:00
HW
8410ac5cb7
fix forgotten corner case when caching
2012-03-13 00:11:31 +01:00
HW
aab05c3002
Fix page caching
...
Fixed page caching. Cache strategy is the following:
prio 1: cache/render requested area
prio 2: cache/render as much of the current page as possible
prio 3: cache/render full page
prio 4: render next page
This is still a bit buggy when in fit-to-content mode.
2012-03-13 00:02:49 +01:00
HW
86ff74acd6
prepare for more elaborate caching policy
...
we allow for bigger render buffers, so the cache now returns
the ID (hash) of the relevant cashed tile PLUS offsets into that
tile, pointing to the coordinates where the requested frame
has its origin.
2012-03-12 20:48:46 +01:00
Qingping Hou
0e914c5fda
revert 70b7e029d3
again
...
commit 5fae18298a
mistakenly
reverted d8a58e8764
, in which
commit 70b7e029d3
was reverted.
2012-03-12 19:48:24 +08:00
Qingping Hou
5fae18298a
add: goto input box in reader
2012-03-12 13:59:19 +08:00
Dobrica Pavlinusic
d8a58e8764
revert 70b7e029d3
...
It's not that simple since ZOOM_FIT_TO_CONTENT_HALF_WIDTH also
needs bounding boxes, and this seems like over-optimization
which seems to be bug infested especially because it deals
with negative numbers so code just *looks* wrong
2012-03-12 00:42:44 +01:00
Dobrica Pavlinusic
7ee77dee5c
removed duplicate code
2012-03-11 02:20:44 +01:00
Qingping Hou
7389255503
fix: handle last section in getTOCTitleByPage()
2012-03-10 18:20:03 +08:00
traycold
3fbb39fc05
Proof of concept for issue #55 .
...
Still to be completed.
2012-03-10 10:28:54 +01:00
Qingping Hou
f95231d789
add: status bar in reading menu & font.lua
...
* Since fontchooser is replaced by selectmenu, it
is no longer needed. So I rewrite it into font.lua
module which can cache faces that shared among all
UIs.
* add progressBar method in graphics.lua to draw
reading progress.
* add reading progress information in reading menu.
It is just a demo. Should be clean up in next release
when the real reading menu is out. :)
2012-03-10 16:41:23 +08:00
Qingping Hou
319826c385
mod: screen rotation implemented by ioctl
...
Now you get a instance rotate :) With only one bug.
I have to restore to previous rotation state of the
native system after exists. Because the native system
does poll the new rotation state that changed by ioctl.
Currently, I don't know how to force the native system
to detect the changes.
2012-03-09 18:34:56 +08:00
Qingping Hou
f795bda6e0
mod: read cache settings from .reader.kpdfview.lua
2012-03-09 14:06:05 +08:00
Qingping Hou
70b7e029d3
mod: only get usedBBox in fit to content mode
...
make fit to page mode a little bit faster
2012-03-09 10:41:31 +08:00
Qingping Hou
d2aaf15dce
add: screen.lua
...
* move rotation mode to global variable, now check rotation
with Screen.cur_rotation_mode
* move screenRotate to screen module so other UIs can use it.
2012-03-09 09:40:46 +08:00
Qingping Hou
3dbf9877bc
add: 90 degree rotation support
...
demo for issue #51
2012-03-08 23:28:16 +08:00
Qingping Hou
3474e56d30
fix: check key mode properly for manual crop
2012-03-08 10:35:33 +08:00
Dobrica Pavlinusic
4bc0bca413
store globalzoom and globalzoommode settings
2012-03-08 01:29:17 +01:00
Dobrica Pavlinusic
4d7fa2d12f
Alt+Z to toggle bbox cropping
2012-03-08 00:55:12 +01:00
Dobrica Pavlinusic
c2f2e617ad
correct bbox loading and Shift+Z removes page bbox
...
this moves #35 a *little* bit closer to release ;-)
2012-03-08 00:38:34 +01:00
Dobrica Pavlinusic
9575d23f63
save bbox layout
...
inspired by f79ae48de8
2012-03-08 00:18:58 +01:00
Dobrica Pavlinusic
0c7eb32d48
Merge branch 'master' into 35_manual_crop
2012-03-08 00:12:21 +01:00
Dobrica Pavlinusic
fdca464b96
don't pre-cache next page if we are going to modify bbox
2012-03-08 00:11:30 +01:00
Dobrica Pavlinusic
f62a12a629
more debugging output for secting bboxes
2012-03-07 18:50:16 +01:00
Qingping Hou
bf267ef0ef
mod: add ZOOM_FIT_TO_CONTENT_WIDTH_PAN mode
...
This mode is used with ZOOM_FIT_TO_CONTENT_WIDTH, so
when press KEY_PGFWD, you jump to lower part of current
page. When hit page bottom, you do a real page turn. It
now behaviors the same like the native reader as I
mentioned in issue #41 .
The first time you set to ZOOM_FIT_TO_CONTENT_WIDTH mode,
the reader will setup proper zoom factor and offset, then
switch to ZOOM_FIT_TO_CONTENT_WIDTH_PAN mode. When you hit
the page bottom, the reader will set the mode back to
ZOOM_FIT_TO_CONTENT_WIDTH mode and do a real page turn.
2012-03-07 21:44:59 +08:00
Qingping Hou
f79ae48de8
add: UniReader:initGlobalSettings()
...
Use this method to read settings that may shared
among all readers. For instance, pan_overlap_vertical
2012-03-07 18:16:46 +08:00
Qingping Hou
68b94fa337
mod: code clean up for KEY_2 to KEY_9 bindings
...
inspired by commit:
796b42cc36
2012-03-07 17:57:27 +08:00
Qingping Hou
2ca5f2302c
fix: set offset to top in unireader
...
set offset to top even usedbox is larger than
or equal to pagesize.
2012-03-07 11:59:32 +08:00
Qingping Hou
dce80b7b1c
mod: change default offset in fit_page_width/height mode
...
set to the top of page
2012-03-07 07:59:03 +08:00
Qingping Hou
20474ce411
fix: page number in fast jump in percent
...
use math.floor to convert page number to integer
2012-03-07 07:37:45 +08:00
Dobrica Pavlinusic
b65973990a
Merge branch 'master' of github.com:hwhw/kindlepdfviewer
2012-03-07 00:27:35 +01:00