On Tue, Feb 7, 2017 at 1:27 PM, Vincent Torri <vincent.to...@gmail.com> wrote: > On Tue, Feb 7, 2017 at 4:06 PM, Mike Blumenkrantz > <michael.blumenkra...@gmail.com> wrote: >> On Tue, Feb 7, 2017 at 9:13 AM Gustavo Sverzut Barbieri <barbi...@gmail.com> >> wrote: >> >>> On Tue, Feb 7, 2017 at 11:17 AM, Vincent Torri <vincent.to...@gmail.com> >>> wrote: >>> > Hello >>> > >>> > I want to add to my small multi doc viewer the possibility to read >>> > epub or chm files. Those are html + css files (at least for epub, >>> > maybe no css for chm). What I can use is : >>> > >>> > * webkit (can it gives an image of the content ? >>> > * gecko (same question) >>> > * servo (idem) >>> >>> usually these offer a way to render to image, with webkit-efl being >>> one that offers you an Evas_Object which internally contains an >>> Evas_Object_Image, but can also offer a snapshot to a buffer. >>> >>> but they are very, very heavy in memory and deps. Current WebKit is >>> based on WK2 multiprocess system, which creates at least +2 process >>> (WebProcess for HTML/JS/CSS and NetworkProcess for I/O). >>> >>> gecko/servo/cef (chromium/blink) all would need to run in a second >>> process so you don't need to integrate with efl/main loop. >>> >> >> gecko is not embeddable. >> >> servo+cef use the same embedding api and both integrate asynchronously with >> the main loop. cef works using a pixel buffer provider, while servo >> provides a zero copy gl rendering extension for the cef api. >> >> I would recommend using something smaller than a full web engine if >> possible. > > and about litehtml ?
I don't know, but may work... Or eventually try to text-transform the incoming html to evas textblock... these documents are usually pretty simplistic... unlike real dynamic html5 pages with features that make the engine so big and complex. -- Gustavo Sverzut Barbieri -------------------------------------- Mobile: +55 (16) 99354-9890 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel