Homec4science

Allow Diffusion to display PDF files

Authored by Jaap Weel <jaapweel@fb.com> on Sep 9 2011, 00:23.

Description

Allow Diffusion to display PDF files

Summary:
When Diffusion encounters an image file, it displays it as an
image, but when it encounters a PDF file, it currently shows only some
gibberish. This fixes that.

Test Plan:
I tried it. Embedding a large PDF in a data URL is a little
bit slow, but it works.

Reviewers: tuomaspelkonen, epriestley, gc3, waltermundt, jungejason, nh

Reviewed By: epriestley

CC: aran, tuomaspelkonen, epriestley, jaapweel

Differential Revision: 915

Details

Committed
Jaap Weel <jaapweel@fb.com>Sep 9 2011, 22:14
Pushed
aubortJan 31 2017, 17:16
Parents
rPH7f601a78d30e: Merge branch 'master' of github.com:facebook/phabricator into unit_status
Branches
Unknown
Tags
Unknown

Event Timeline

Jaap Weel <jaapweel@fb.com> committed rPHbd778b4c8e08: Allow Diffusion to display PDF files (authored by Jaap Weel <jaapweel@fb.com>).Sep 9 2011, 22:14