After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 420772 - Embedded objects are printed at left margin
Embedded objects are printed at left margin
Status: RESOLVED WONTFIX
Product: GtkHtml
Classification: Other
Component: Printing
3.14.x
Other All
: Normal normal
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-20 22:52 UTC by Andreas Köhler
Modified: 2012-03-31 08:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Test program (2.43 KB, text/plain)
2007-03-20 22:53 UTC, Andreas Köhler
Details

Description Andreas Köhler 2007-03-20 22:52:54 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.
Comment 1 Andreas Köhler 2007-03-20 22:53:46 UTC
Created attachment 85013 [details]
Test program
Comment 2 André Klapper 2012-03-31 08:56:01 UTC
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.