FF svg prints wrong but display is correct (includes test case)

NEW
Unassigned

Status

()

5 years ago
5 years ago

People

(Reporter: Annon0m0s, Unassigned)

Tracking

({regression})

22 Branch
x86_64
Windows 7
regression
Points:
---

Firefox Tracking Flags

(firefox22 affected, firefox23- affected, firefox24- affected, firefox25- affected, firefox-esr17 affected)

Details

Attachments

(2 attachments)

(Reporter)

Description

5 years ago
Created attachment 779241 [details]
Test case ff_svg_print_bug.svg

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release)
Build ID: 20130618035212

Steps to reproduce:

1) Open svg file (2) print (3) compare what was printed to screen.  Svg test file is attached.


Actual results:

FF version 22.0 correctly shows the svg on the monitor. Print preview is clicked and shows the correct print preview. But the actual printed page does not match the svg. Many of the black boxes are completely black and are missing significant obvious white lines. Scan of printed file is attached.


Expected results:

The printed output should match the svg on the monitor. Perhaps the problem is the FF printing code is not processing the svg Mask correctly.
(Reporter)

Comment 1

5 years ago
Created attachment 779245 [details]
scanned printed output ff_print_bug.png

Attached is the scanned output from the printer showing the incorrectly printed svg.
Prints correctly on Linux, in Firefox Nightly:
 Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20130721 Firefox/25.0
and Firefox release (from Ubuntu):
 Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0

This is probably a windows-graphics-internals specific thing. Possibly related to bug 894917, another windows-only svg-shapes-not-printing bug.

Comment 3

5 years ago
Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/dad825159748
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0a1) Gecko/20110527 Firefox/7.0a1 ID:20110527011902
Bad:
http://hg.mozilla.org/mozilla-central/rev/04e8d0b481bc
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0a1) Gecko/20110527 Firefox/7.0a1 ID:20110527081111
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=dad825159748&tochange=04e8d0b481bc


Regressed by: Bug 562746 - Update cairo to 1.10


There are too many regression due to Bug 562746 .

Please backed out Bug 562746!!!
Blocks: 562746
Status: UNCONFIRMED → NEW
status-firefox22: --- → affected
status-firefox-esr17: --- → affected
tracking-firefox23: --- → ?
tracking-firefox24: --- → ?
tracking-firefox25: --- → ?
Ever confirmed: true
Keywords: regression

Comment 4

5 years ago
This isn't a recent regression, so it'd require an external force for us to track (major new impacted web property).
tracking-firefox23: ? → -
tracking-firefox24: ? → -
tracking-firefox25: ? → -

Updated

5 years ago
status-firefox23: --- → affected
status-firefox24: --- → affected
status-firefox25: --- → affected
You need to log in before you can comment on or make changes to this bug.