Webkit (was Re: Easier reports with eguile-gnc)
Phil Longstaff
plongstaff at rogers.com
Thu Mar 19 14:32:11 EDT 2009
On March 19, 2009 01:23:43 pm Chris Dennis wrote:
> Reports created this way are still limited by GTKHTML's inability to
> honour <font> tags or CSS stylesheets. Hopefully GnuCash can get round
> that limitation eventually -- I know this has been discussed in the past.
I've started to play around with what would be required to replace GtkHTML by
Webkit. As a model, I'm using epiphany's multi-engine support. Essentially,
they have a number of GObjects and GObject-interfaces to an engine (ephy-
embed). My plan of attack is:
1) Get ephy-embed (browsing engine objects) to compile in gnucash dev't
environment (done)
2) Write ephy-embed-based objects to support GtkHTML.
3) Rewrite gnc_html in terms of ephy-embed.
These steps offer no functional changes, but reimplement html-engine support in
terms of the ephy-embed objects. It then becomes a fairly simple matter to
drop use of the gtkhtml ephy-embed objects and replace them with the webkit
ephy-embed objects (which can be borrowed from epiphany and use a separately
installed webkit engine).
Phil
More information about the gnucash-devel
mailing list