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 376469 - Win32: Print preview doesn't work
Win32: Print preview doesn't work
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Printing
2.10.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 562426 (view as bug list)
Depends on:
Blocks: 533795
 
 
Reported: 2006-11-17 21:34 UTC by Yevgen Muntyan
Modified: 2018-02-10 03:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (161.37 KB, image/png)
2006-11-18 07:08 UTC, Yevgen Muntyan
Details

Description Yevgen Muntyan 2006-11-17 21:34:10 UTC
Builtin print preview produces big black rectangle instead of what was printed. Here's what I was told in #cairo:

<jghali> muntyan-afk: afaik win32 backend uses some image backend fallbacks, so i doubt win32 backend will work with metafiles
<jghali> muntyan-afk: win32 backend uses an image buffer, that works for printing, not for metafile
Comment 1 Yevgen Muntyan 2006-11-18 07:08:49 UTC
Created attachment 76798 [details]
screenshot

In fact, it's not necessarily a big black rectangle, it may also be nothing. On the screenshot, on the left is what's printed, text and colors; on the right is preview.
Comment 2 Cody Russell 2008-11-27 16:33:35 UTC
*** Bug 562426 has been marked as a duplicate of this bug. ***
Comment 3 Hans Breuer 2008-11-27 23:08:10 UTC
I think this is a defect with cairo's "printing" backend. Dia allows to save it's metafile into a real file and I recently noticed, that all the text was missing with newer cairo (not sure if it ever worked, see below). But stuff like circles and rectangles were still drawn.

The workaround for me was to enable eastern language extensions in control panel's regional options. Maybe the cairo backends implementation is expecting too much text capabilities to be available with windows standard api?
Comment 4 Matthias Clasen 2018-02-10 03:21:00 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.