Skip to content

Filling and stroking empty paths in SVG backend#9131

Merged
timvandermeij merged 1 commit intomozilla:masterfrom
janpe2:svg-empty-paths
Nov 16, 2017
Merged

Filling and stroking empty paths in SVG backend#9131
timvandermeij merged 1 commit intomozilla:masterfrom
janpe2:svg-empty-paths

Conversation

@janpe2
Copy link
Copy Markdown
Contributor

@janpe2 janpe2 commented Nov 14, 2017

Fixes #8939

The PDF in the issue invokes the operator f even though no path has been created. Because there is no path, SVGGraphics.current.element remains undefined. Then f tries to access its functions.

@timvandermeij
Copy link
Copy Markdown
Contributor

/botio-linux preview

@pdfjsbot
Copy link
Copy Markdown

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/461fb031f690b8b/output.txt

@pdfjsbot
Copy link
Copy Markdown

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/461fb031f690b8b/output.txt

Total script time: 2.52 mins

Published

@timvandermeij timvandermeij merged commit 1d67d9d into mozilla:master Nov 16, 2017
@timvandermeij
Copy link
Copy Markdown
Contributor

Thank you for fixing this!

@janpe2 janpe2 deleted the svg-empty-paths branch December 19, 2017 19:35
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
Filling and stroking empty paths in SVG backend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants