mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
bump crengine to cr3.0.57-1
This commit is contained in:
3
cre.cpp
3
cre.cpp
@@ -269,6 +269,7 @@ static int setFontFace(lua_State *L) {
|
||||
const char *face = luaL_checkstring(L, 2);
|
||||
|
||||
doc->text_view->setDefaultFontFace(lString8(face));
|
||||
//fontMan->SetFallbackFontFace(lString8(face));
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -364,6 +365,7 @@ static int cursorRight(lua_State *L) {
|
||||
//LVDocView *tv = doc->text_view;
|
||||
|
||||
//ldomXPointer p = tv->getCurrentPageMiddleParagraph();
|
||||
//lString16 s = p.getText();
|
||||
//lString16 s = p.toString();
|
||||
//printf("~~~~~~~~~~%s\n", UnicodeToLocal(s).c_str());
|
||||
|
||||
@@ -378,7 +380,6 @@ static int cursorRight(lua_State *L) {
|
||||
//LVPageWordSelector sel(doc->text_view);
|
||||
//doc->text_view->doCommand(DCMD_SELECT_FIRST_SENTENCE);
|
||||
//sel.moveBy(DIR_RIGHT, 2);
|
||||
//sel.updateSelection();
|
||||
//printf("---------------- %s\n", UnicodeToLocal(sel.getSelectedWord()->getText()).c_str());
|
||||
|
||||
return 0;
|
||||
|
||||
Submodule kpvcrlib/crengine updated: 73805ee9b0...7a73d16665
Reference in New Issue
Block a user