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

61 Commits

Author SHA1 Message Date
HW
22ce736e11 added jump-to-percent dialog for CREngine reader 2012-06-03 00:39:17 +02:00
HW
02c40b6078 configurable default font for CREngine
when in CREngine mode, the current font can be made the default
document font by pressing Shift-F

in order to store this setting, the reader_settings variable was
promoted to the declared global G_reader_settings

close #184
2012-06-02 23:51:55 +02:00
NuPogodi
944a3b5b05 NuPogodi code drop from 2012-05-27
- zip files don't require double extensions any more
- filechooser has 'H' shortcut to display keys
- new function for files and folders (^ == shift)
	^N - new folder
	Del - delete document/folder
	^C - copy file into clipboard
	^X - cut (move) file to clipboard
	^V - paste files from clipboard
	^R - rename file
- configurable keyboard for input box
2012-05-28 19:19:21 +02:00
NuPogodi
1831004da5 Add the new function ZipContentExt(zipfilename) which reads the content of zipfile and returns the extention of the first entry. 2012-05-23 11:50:40 +02:00
Dobrica Pavlinusic
a08c35a52c added Screen:screenshot() 2012-05-19 23:04:40 +02:00
NuPogodi
3a76ec91fd integrate rest of @NuPogodi changes #166
- long lines (filenames in 'Document Info') are now splitted in more
  human-readable way (by spaces, dots, slashes or some other characters
- see screenshot)
- the selection of fonts in filemanager (key 'F' or 'Aa') looks now more
  user-friendly
- fixed too long strings in most menues (TOC, Bookmarks, Fonts...) and
  in the popup with the reading progress (called by key 'Menu')
- the position inside the cr-documents (epub, mobi...) now remain nearly
  the same after rescaling the document (i.e. changing the font face,
  size, boldface and interline distance)
- when you open TOC-menu or Fonts Menu, it highlights the current item
  (i.e. current chapter and current fontface).
- i've a bit changed the way to read the battery level values, it might
  now work even without Amazon Kindle framework.
2012-05-19 13:04:49 +02:00
NuPogodi
93b5da0d8d Update crereader.lua 2012-05-17 12:31:48 +03:00
NuPogodi
773a4d69b6 + added: saving & restoring the font size (new parameter > font_zoom)
+ fixed: too long strings in _drawReadingInfo() (called by key 'Menu')
+ fixed: floating the text when the font (face, size or boldface) and/or interline spacing modify the document height
2012-05-17 12:25:20 +03:00
Qingping Hou
c818d7e90e screenshot shorcut patch by NuPogodi@mobileread 2012-04-30 17:03:45 +08:00
Qingping Hou
381b34cc04 detect file type in zip file, patched by NuPogodi@mobileread 2012-04-30 16:58:05 +08:00
Qingping Hou
eb1fbebc5b change default font face for crereader, reported by NuPogodi@mobileread.
changed to Droid Sans Fallback
2012-04-30 16:44:41 +08:00
Qingping Hou
6dcd849515 remove x shortcut in crereader 2012-04-27 11:18:59 +08:00
Dobrica Pavlinusic
8c01306154 invoke Screen:restoreFromSavedBB only if font changed 2012-04-26 15:38:35 +02:00
Dobrica Pavlinusic
17a590cf5a show increase/decrease font size InfoMessage 2012-04-26 14:09:09 +02:00
Dobrica Pavlinusic
ac09213319 show Redrawing with InfoMessage on font change 2012-04-26 14:05:51 +02:00
Qingping Hou
f4c6c6ab1c fix helppage in crereader for font size & line space setting 2012-04-25 14:08:33 +08:00
Qingping Hou
5e6d4cfdb3 fix message for gamma settings in crereader's help page 2012-04-21 16:08:25 +08:00
Qingping Hou
8d74649642 adjust wording 2012-04-20 18:29:08 +08:00
Qingping Hou
8660ea7d68 fix KEY_LPG{BCK,FWD} listening for crereade 2012-04-20 10:00:20 +08:00
Qingping Hou
d34a3e8a0b fix bug in crereader's font setting
only show message when there is a font change
2012-04-19 22:19:06 +08:00
HW
30766f8dce bugfix: spelling of settings function changed 2012-04-19 14:37:25 +02:00
Qingping Hou
bc299784ca fix bug in partial screen refresh count in crereader 2012-04-19 14:14:08 +08:00
Qingping Hou
c46266fee8 fix comment in crereader 2012-04-19 10:31:38 +08:00
Qingping Hou
69cea4f2af fix in CREReader:getTocTitleOfCurrentPage
pass xpointer instead of percent
2012-04-19 10:24:14 +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
236e9fab3f bookmark and jump history patch for creareader 2012-04-18 23:54:17 +08:00
Qingping Hou
00343a887c notify empty jump history in crereader with dialog 2012-04-17 14:39:17 +08:00
Dobrica Pavlinusic
e387c87dcc Change font message to keep time passing by faster 2012-04-16 21:56:16 +02:00
Dobrica Pavlinusic
d672436c8e show line spacing in CREReader
This might be very slow operation on device because it seems to
invoke whole reflow of document
2012-04-16 21:30:52 +02:00
HW
e4841e88c4 added line spacing setting for crereader
this patch also introduces an interface for setFontSize and setStyleSheet.
Hopefully, we can use the latter to send customized CSS to CREngine
as Lua strings. This functionality is however untested for now.
2012-04-14 00:38:18 +02:00
Qingping Hou
e0327ed4e8 fix: enable screen rotate in crereader.lua 2012-04-13 12:46:33 +08:00
HW
46d197954b put highlight implementation into unireader 2012-04-11 22:52:48 +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
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
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
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
f0042714d9 fix: correct upper bound for pos inside crereader 2012-04-09 15:06:52 +08:00
Qingping Hou
4631fe492a fix: add jump feature 2012-04-07 23:03:29 +08:00
Qingping Hou
cb83e47875 mod: use XPointer as absolute postion indicator inside document 2012-04-07 22:55:56 +08:00
Qingping Hou
3992fdca0f add: vertical pan in crereader 2012-04-06 20:26:53 +08:00
Qingping Hou
5e58a94632 mod: rm unused shortcuts in crereader 2012-04-06 20:13:46 +08:00
Qingping Hou
9650a4a057 add: gamma settings in crereader 2012-04-06 19:30:10 +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
085d79d033 add: font menu and bold attribute toggle shortcut in crereader 2012-04-06 18:05:54 +08:00
Qingping Hou
d3e8c57bc8 mod: reenable global pan_overlap_vertical in crereader 2012-04-06 16:34:53 +08:00
Qingping Hou
1593c56803 mod: add html support in crereader 2012-04-05 10:31:31 +08:00