Skip to content

mupdf, cre: allow for optional colored rendering#524

Merged
Frenzie merged 2 commits intokoreader:masterfrom
poire-z:colorRendering
Sep 30, 2017
Merged

mupdf, cre: allow for optional colored rendering#524
Frenzie merged 2 commits intokoreader:masterfrom
poire-z:colorRendering

Conversation

@poire-z
Copy link
Copy Markdown
Contributor

@poire-z poire-z commented Sep 30, 2017

Support for colored rendering is already there for all engines/formats. It just needs a few fixes, and enabling it. This is the stuff needed in base.

cre.cpp Outdated
CreDocument *doc = (CreDocument*) luaL_checkudata(L, 1, "credocument");
BlitBuffer *bb = (BlitBuffer*) lua_topointer(L, 2);
bool color = false;
if (lua_isboolean(L,3)) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: space

@Frenzie Frenzie merged commit 7a5ca10 into koreader:master Sep 30, 2017
@poire-z poire-z deleted the colorRendering branch September 30, 2017 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants