GNOME Bugzilla – Bug 420772
Embedded objects are printed at left margin
Last modified: 2012-03-31 08:56:01 UTC
Reproduce: * take GtkHTML 3.14.0 and recent GTK+ (needed anyway) * compile attached program * notice that the image in the print preview is printed at the left margin and not at the correct x coordinate. Line 16 > cairo_scale (cr, 0.5, 0.5); and line 19 > cairo_translate (cr, 0, -gdk_pixbuf_get_height (buf)); are quite confusing. But the equivalent actions had to be done with GnomePrint too and the printing worked afterwards. Not so now.
Created attachment 85013 [details] Test program
Nowadays Evolution is the only known consumer of GtkHtml and GtkHtml usage in Evolution is slowly phased out in favor of WebKit. Hence there are no plans to fix this problem. Closing as OBSOLETE / WONTFIX.