Commit Graph

64 Commits (ddfe5ca3a9f38a78c11dd2e82d33f9bedcd64817)

Author SHA1 Message Date
chrox 563fd50dc3 add toggle switch widget in config option 12 years ago
Qingping Hou 6d8ebb4126 adapt credocument to new changes in cre.cpp 12 years ago
Qingping Hou 65910b2017 add default_css to credocument 12 years ago
Qingping Hou 6c4da43dbf add setStyleSheet method to credocument 12 years ago
{Qingping,Dave} Hou 55b2d4f993 Merge pull request #714 from chrox/config_ui
some config UI changes
12 years ago
chrox 494585ce41 rename 'screen rotation' option in koptinterface to 'vertical text' 12 years ago
chrox 6ed1a9012b show more options 12 years ago
Qingping Hou 93d3aea905 pass filename properly for zipped fb2 in CreDocument:init() 12 years ago
Qingping Hou 874890aaec save and restore gamma_index for crengine 12 years ago
Qingping Hou 02ea5f1fbf read header font from config 12 years ago
Qingping Hou 687aabc173 adapt ui to loadDocument before setFont 12 years ago
Qingping Hou 789b5d57e2 read page information for crerengine 12 years ago
Qingping Hou 79839021ed Merge branch 'new_ui_code' into hint_page_fix
Conflicts:
	frontend/ui/reader/readerview.lua
12 years ago
{Qingping,Dave} Hou b04b1e8b58 Merge pull request #690 from houqp/new_ui_houqp
font size, line space, font weight, font gamma and viewmode support for crengine
12 years ago
Qingping Hou c8dce5f351 Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into hint_page_fix
Conflicts:
	frontend/document/document.lua
12 years ago
Qingping Hou 93cad1428c add render_mode into render hash 12 years ago
Qingping Hou 1fa0d886bd add render mode to hint page 12 years ago
chrox c8b699c068 bugfix: check renderpg hash before hinting page 12 years ago
Qingping Hou 59a424203b add font gamma to readerconfig 12 years ago
Qingping Hou 5ce4f24c37 move CreOptions to credocument.lua 12 years ago
Qingping Hou 2fa919e1b6 add CreDocument:toggleFontBolder 12 years ago
Qingping Hou ac1cf212d1 add setViewMode to CreDocument 12 years ago
Qingping Hou fdc05b066c add readerconfig to document supported by crengine
* now font size can be changed by readerconfig
12 years ago
chrox aa152a8a51 make readerconfig independent of koptoptions
So that other readers could reuse readerconfig
12 years ago
{Qingping,Dave} Hou 3ec818a3cd Merge pull request #684 from chrox/koptreader-new-ui
add reflow mode in pdf/djvu readers
12 years ago
chrox 349bcb996e use koptinterface to reflow text in pdf/djvu readers 12 years ago
chrox e525264b01 save/restore koptconfig to setting files 12 years ago
chrox a649301e69 make pdfreader and djvureader the defaults 12 years ago
chrox 074522a36b first usable koptreader for new UI 12 years ago
chrox 138def10c3 Demo version of koptreader config dialog. 12 years ago
Qingping Hou 93abd2fee7 add page status to readerrolling for better page view_mode support
* now when rendering in page view mode, we only keep track of page
number instead of pos inside document. Because using pos inside
document for page view mode is really a bad idea and will lead to
many unsovlabe bugs...
12 years ago
Qingping Hou 5ab98420bd use predefined variable instead of magic number for view_mode 12 years ago
Qingping Hou efa37c97ab bug fix in readerfont
After set font in ReaderFont:onReadSettings, we have to send UpdatePos
event in order to set m_is_rendered(member of LVDocView) to true.

Otherwise position inside document will be reset to 0 on first view
render, this makes the first page of document is always displayed on
document open.

So far, I don't know why this call will alter the value of m_is_rendered.
It just works...
12 years ago
Qingping Hou 5d1c98e90a add setFontSize to credocument.lua 12 years ago
Qingping Hou 1675d8667b add cre view mode support in frontend 12 years ago
Qingping Hou 683c7eee2c handle corrupted usedbbox in Document:getUsedBBoxDimensions() 12 years ago
{Qingping,Dave} Hou 5cbbfaceff Merge pull request #649 from chrox/koptreader-new-ui
move page reflowing code to getPageDimensions method
12 years ago
chrox fd461e4f3e move page reflowing code to getPageDimensions method 12 years ago
Qingping Hou 7b707ab367 add usedbbox support 12 years ago
Qingping Hou 7e04c97b70 bug fix for PdfDocument:getUsedBBox
when cache found, we should return cache.ubbox
not cache.data
12 years ago
chrox aa9fe4b01c cache page size after page is reflowed
So that when page dimension is recalculated right page size
other than screen size is returned.
12 years ago
chrox c462090600 add koptreader demo 12 years ago
Qingping Hou e3617676a1 fix deprecated debug call in credocument.lua 12 years ago
Qingping Hou 36a4ead630 update document.lua according to API change in cre.cpp 12 years ago
Qingping Hou ea022b651f add rendermode support for djvu documents 12 years ago
Qingping Hou 8ccbfba6cc Djvu Validate patch from tigran123
refer to commit in master(kpv) tree:
64b6ef4afd
12 years ago
Tigran Aivazian d551e7fb63 Cleanup crereader fonts initialization.
Don't try to register the two fonts Dingbats.cff and StandardSymL.cff
with crengine because it will reject them anyway. But we cannot simply
remove these two fonts because they are used internally by mupdf to
emulate "builtin" fonts which are mandated by Adobe PDF specification to
be present in every valid implementation.
12 years ago
Qingping Hou eb79e1c95c handle file with no extension in filechooser 12 years ago
Qingping Hou 25af917170 call cre.initCache() in CreDocument:engineInit() 12 years ago
Qingping Hou c1ccff70ad minor adjustment for Makefile and document.lua 12 years ago