New issue
Advanced search Search tips
Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
Area: PDF
Priority: Medium
Type: Defect

Blocking:
issue 1063



Sign in to add a comment

Color and mask filters are not supported by the PDF backend

Project Member Reported by jbroman@chromium.org, Jul 17 2013 Back to list

Issue description

In particular, this causes shadows in Blink to render incorrectly for printing.

For Blink's shadows to render correctly, this needs to be supported when drawing, at least:
- text for text shadows
- rects, rounded rects, and other paths (e.g. the rect-with-rounded-hole path used for inner shadows) for box shadows

I have not yet investigated the possible types of shadows that can arise from SVG.

Other browser vendors' backends appear to implement this feature by embedding bitmaps in the resulting PDF (e.g. Safari's output for a blue text shadow includes a solid blue rectangle and a mask image which shows the blurred text).

A past attempt at this for text, at least, is at http://crrev.com/14854014, but that has stalled.
 
Project Member

Comment 1 by vandebo@chromium.org, Jul 17 2013

Cc: edisonn@google.com vandebo@chromium.org
Project Member

Comment 2 by scro...@google.com, Jul 17 2013

Cc: -edisonn@google.com
Owner: edisonn@google.com
Project Member

Comment 3 by edisonn@google.com, Oct 24 2013

Labels: Area-PDF
Project Member

Comment 4 by hcm@google.com, Jan 8 2014

Owner: bungeman@google.com
Project Member

Comment 5 by hcm@google.com, Sep 10 2014

Blocking: skia:1063
Project Member

Comment 6 by scro...@google.com, Jan 29 2015

Cc: hcm@google.com
Owner: halcanary@google.com
Hal works on pdf now
Project Member

Comment 7 by scro...@google.com, Dec 7 2015

Cc: -vandebo@chromium.org
(Also see  crbug.com/261273 )
This looks like a duplicate of skia:237
Project Member

Comment 9 by halcanary@google.com, Jun 20 2017

Status: Fixed

Sign in to add a comment