Closed Bug 310618 Opened 19 years ago Closed 19 years ago

Printing support for svg/cairo/win32

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tor, Assigned: tor)

Details

(Keywords: fixed1.8)

Attachments

(1 file)

The cairo win32 backend doesn't seem to like being handed a printing DC, so one
way of getting something to print is to use the image generation code that was
added for linux.  Since the win32 print code blends RGBA images with black, we
modify the code a bit to preblend with white and hand off just RGB to DrawImage.
Attachment #198045 - Flags: review?(roc)
Comment on attachment 198045 [details] [diff] [review]
win32 cairo printing

too bad we can't do any kind of transparency on Win32 (right?) but this'll do
Attachment #198045 - Flags: superreview+
Attachment #198045 - Flags: review?(roc)
Attachment #198045 - Flags: review+
Checked in on trunk.
Comment on attachment 198045 [details] [diff] [review]
win32 cairo printing

This patch is needed to provide printing support for SVG when using the cairo
backend on win32.  It is adapting code already used to print on unix, so the
additional risk is small.
Attachment #198045 - Flags: approval1.8b5?
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment on attachment 198045 [details] [diff] [review]
win32 cairo printing

last day for non-critical changes.
Attachment #198045 - Flags: approval1.8b5? → approval1.8b5+
Checked in on branch.
Keywords: fixed1.8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: