GNOME Bugzilla – Bug 376469
Win32: Print preview doesn't work
Last modified: 2018-02-10 03:21:00 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
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.
*** Bug 562426 has been marked as a duplicate of this bug. ***
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?
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.