Open Bug 1679514 Opened 2 years ago Updated 1 year ago

The background image has a really low quality when the "Save to PDF" option is used


(Core :: Graphics, defect)




Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- wontfix
firefox84 --- wontfix
firefox85 --- wontfix
firefox86 --- wontfix
firefox87 --- wontfix
firefox88 --- wontfix
firefox89 --- wontfix
firefox90 --- wontfix
firefox91 --- wontfix
firefox92 --- wontfix
firefox93 --- fix-optional


(Reporter: oana.botisan, Unassigned, NeedInfo)


(Blocks 1 open bug)


(Keywords: regression, Whiteboard: [print2020] [old-ui-] )


(1 file)

Affected versions

  • Firefox 84.0b5-build1
  • Firefox 85.0a1

Affected platforms

  • Windows 10 x64
  • macOS 10.15
  • Ubuntu 16.04 x32
  • Windows 10 x64 (aarch64)

Steps to reproduce

  1. Go to
  2. Print preview the page.
  3. Enable the "Print backgrounds" option.
  4. Save the page by using "Save to PDF".

Expected result

  • The background image has the same quality as in the Print preview.

Actual result

  • The background image has a really low quality.

Regression range

Additional notes

  • This happens only for "Save to PDF" option.

Suggested severity

  • S3
Has Regression Range: --- → yes
Has STR: --- → yes

(This might be a PDF bug, but let's send it to Printing:Output and see where it goes from there.)

Component: Printing → Printing: Output
Product: Toolkit → Core

The background image here is a fairly low-res GIF (87 x 76 pixels), but Chrome does a much nicer job of scaling it than we do when generating PDF output (or printing).

I'm not sure what is controlling the kind of scaling we get here; it looks to me like it may be using nearest-neighbor, which probably isn't ideal. We do something much better for on-screen rendering.

Severity: -- → S3
Component: Printing: Output → Graphics
Flags: needinfo?(aosmond)
Whiteboard: [print2020_v85] [old-ui-] → [print2020_v87] [old-ui-]
Whiteboard: [print2020_v87] [old-ui-] → [print2020] [old-ui-]

Can we do something to move this along?

Flags: needinfo?(jmathies)
Blocks: gfx-triage
Flags: needinfo?(jmathies)

Note - in certain cases we don't get the quote symbol at all.

Hey Tim, any idea what's going on here?

Flags: needinfo?(aosmond) → needinfo?(tnikkel)
No longer blocks: gfx-triage
You need to log in before you can comment on or make changes to this bug.