View Full Version : Browser ToolKit

April 2nd, 2009, 01:30 AM
Hi, question:

I am writing a MAN 2 html converter to display man pages.
Now unzipping man pages in memory and converting them to html really is not a problem, but the problem is wxHTML only supports a very limited range of html tags.

Now I basically need to embed a browser in my application.
I tried Mozilla, unfortunately, this does not compile, and every attempt of me to correct the configure file / installing libraries failed.

Now I tried wxWebKit, which is very cool (once I got it compiling), apart from the fact that it is 230 MB in size... - as a dynamic library...

I need a WebKit/Browser in C++ that I can embed in my application (it should work on Windows, too).
Max size i would say about 10 MB, statically linked.

Anybody knows of a working alternative?

April 2nd, 2009, 02:23 AM
Try using gecko:
It's a rendering engine used by Firefox, Thunderbird, Galeon, Epiphany, and many more applications.

April 2nd, 2009, 02:35 AM
Gecko or Webkit will both work for you.

April 2nd, 2009, 02:37 AM
I'd recommend Webkit for this type of thing. Geck would weigh down your program a lot more than Webkit would, with not much benefits over Webkit in this situation.

April 2nd, 2009, 02:40 AM
I'd chime in that Liferea is also switching from Gecko to Webkit for their next release.

April 2nd, 2009, 03:27 AM
I'm going to chime in with another vote for WebKit. Fast, as well as more lightweight than its contender, Gecko. As stated, there's no good reason for choosing the latter over the former.

April 2nd, 2009, 05:13 PM
Fine, mozilla doesn't compile as already said, and webkit is very large.
I'm gonna use the source of kazehakase, it uses gecko, and it compiles.

April 2nd, 2009, 05:16 PM
Um, interesting outcome. Good luck!