4

I want to drop in an HTML renderer that will basically be used for render-to-texture operations.

If I can render the HTML to an HDC, that would be perfect.

I found HTMLayout, which isn't bad. But it isn't open source. But I'm wondering if there's a way to somehow tap into IE or Mozilla/Gecko code, how realisitic/difficult this will be, and possibly some pointers on how to do it.

It will be for a regular straight C++ directx application

Edit

Wow! Mozilla has an embedding kit!

Community
  • 1
  • 1
bobobobo
  • 64,917
  • 62
  • 258
  • 363

2 Answers2

1

Take a look at WebKit.

Axel Gneiting
  • 5,293
  • 25
  • 30
0

Qt can do it, render to a QPainter. See for example http://doc.trolltech.com/4.6/qwebpage.html But not sure if it's easily used if you are not already using Qt.

Zitrax
  • 19,036
  • 20
  • 88
  • 110