Skip to content

Commit

Permalink
bump crengine: sync with upstream, new hyphenation languages (#1204)
Browse files Browse the repository at this point in the history
Includes:
- (Upstream) various unimpacting changes to keep in sync
- (Upstream) Fix issues with legacy text rendering
- (Upstream) FB3/DocX/ODT: get lang and description metadata
- (Upstream) remove some global settings, make them per-doc
- TextLang, hyphenation: add Armenian, Friulian, Piedmontese,
  Romansh, Zulu and Brazilian Portuguese.

cre.cpp: remove update of removed global gDOMVersionRequested,
which should now be done with:
setIntProperty("crengine.render.requested_dom_version", version)
  • Loading branch information
poire-z committed Oct 3, 2020
1 parent df85f11 commit fc79465
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions cre.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -535,12 +535,6 @@ static int getDomVersionWithNormalizedXPointers(lua_State *L) {
return 1;
}

static int requestDomVersion(lua_State *L) {
int version = luaL_checkint(L, 1);
gDOMVersionRequested = version;
return 0;
}

static int getIntProperty(lua_State *L) {
CreDocument *doc = (CreDocument*) luaL_checkudata(L, 1, "credocument");
const char *propName = luaL_checkstring(L, 2);
Expand Down Expand Up @@ -3394,7 +3388,6 @@ static const struct luaL_Reg cre_func[] = {
{"getTextLangStatus", getTextLangStatus},
{"getLatestDomVersion", getLatestDomVersion},
{"getDomVersionWithNormalizedXPointers", getDomVersionWithNormalizedXPointers},
{"requestDomVersion", requestDomVersion},
{NULL, NULL}
};

Expand Down

0 comments on commit fc79465

Please sign in to comment.