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

54 Commits

Author SHA1 Message Date
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
Qingping Hou
b9b9455fe0 fix: progressbar display in crereader 2012-04-04 17:03:01 +08:00
Qingping Hou
4633ca0832 mod: use percent as absolute location in DOCs in CREReader
The height of documents will be changed after zoom in or
zoom out, so we cannot use pos to mark positions inside
documents.
2012-03-31 20:22:22 +08:00
Qingping Hou
9df574de01 add: last reading position saving and restoring 2012-03-30 14:25:36 +08: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
937f445b92 fix: mistakenly over written unireader's method 2012-03-30 14:00:41 +08:00
Qingping Hou
612890850c add: percent jump in CREReader 2012-03-30 12:38:41 +08:00
Qingping Hou
ad750a89f8 add: font zooming in CREReader 2012-03-30 12:31:09 +08:00