Printing support for svg/cairo/win32

RESOLVED FIXED

Status

()

Core
SVG
RESOLVED FIXED
12 years ago
12 years ago

People

(Reporter: tor, Assigned: tor)

Tracking

({fixed1.8})

Trunk
x86
Windows XP
fixed1.8
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

12 years ago
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.
(Assignee)

Comment 1

12 years ago
Created attachment 198045 [details] [diff] [review]
win32 cairo printing
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+
(Assignee)

Comment 3

12 years ago
Checked in on trunk.
(Assignee)

Comment 4

12 years ago
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?
(Assignee)

Updated

12 years ago
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED

Comment 5

12 years ago
Comment on attachment 198045 [details] [diff] [review]
win32 cairo printing

last day for non-critical changes.
Attachment #198045 - Flags: approval1.8b5? → approval1.8b5+
(Assignee)

Comment 6

12 years ago
Checked in on branch.
Keywords: fixed1.8
You need to log in before you can comment on or make changes to this bug.