Slide 1

Slide 1 text

pdf.js Ionuț G. Stan - wurbe #48

Slide 2

Slide 2 text

pdf.js ● what ● why ● how ● demo

Slide 3

Slide 3 text

pdf.js ● what ● why ● how ● demo

Slide 4

Slide 4 text

pdf.js ● PDF renderer written in JavaScript

Slide 5

Slide 5 text

pdf.js ● PDF renderer written in JavaScript ● specification partially implemented

Slide 6

Slide 6 text

pdf.js ● PDF renderer written in JavaScript ● specification partially implemented ● good rendering quality

Slide 7

Slide 7 text

pdf.js ● PDF renderer written in JavaScript ● specification partially implemented ● good rendering quality ● supports text selection

Slide 8

Slide 8 text

pdf.js ● PDF renderer written in JavaScript ● specification partially implemented ● good rendering quality ● supports text selection ● experimental Firefox extension

Slide 9

Slide 9 text

pdf.js ● PDF renderer written in JavaScript ● specification partially implemented ● good rendering quality ● supports text selection ● experimental Firefox extension ● original creator: Andreas Gal

Slide 10

Slide 10 text

pdf.js ● PDF renderer written in JavaScript ● specification partially implemented ● good rendering quality ● supports text selection ● experimental Firefox extension ● original creator: Andreas Gal ● now maintained by Mozilla

Slide 11

Slide 11 text

pdf.js ● what ● why ● how ● demo

Slide 12

Slide 12 text

pdf.js ● having fun

Slide 13

Slide 13 text

pdf.js ● having fun probably

Slide 14

Slide 14 text

pdf.js ● having fun probably ● but I use it in production

Slide 15

Slide 15 text

pdf.js ● having fun probably ● but I use it in production ● we're replacing a Flash viewer

Slide 16

Slide 16 text

pdf.js ● having fun probably ● but I use it in production ● we're replacing a Flash viewer ● contributed a few fixes

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

pdf.js ● what ● why ● how ● demo

Slide 19

Slide 19 text

pdf.js ● rendering: currently canvas

Slide 20

Slide 20 text

pdf.js ● rendering: currently canvas ● might use SVG in the future

Slide 21

Slide 21 text

pdf.js ● rendering: currently canvas ● might use SVG in the future ● parsing: JS typed arrays (ArrayBuffer)

Slide 22

Slide 22 text

pdf.js ● rendering: currently canvas ● might use SVG in the future ● parsing: JS typed arrays (ArrayBuffer) ● XHR2 for fetching PDFs

Slide 23

Slide 23 text

pdf.js ● rendering: currently canvas ● might use SVG in the future ● parsing: JS typed arrays (ArrayBuffer) ● XHR2 for fetching PDFs ● embedded fonts: web fonts in data URIs

Slide 24

Slide 24 text

pdf.js ● what ● why ● how ● demo

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

thanks

Slide 28

Slide 28 text

● https://github.com/mozilla/pdf.js ● http://igstan.ro