57
Disclaimer No kittens were harmed (or even woken up) in the making of either presentation Thursday, 29 March 12

HTML5 as an alternative to PDF on the mobile platform

  • View
    418

  • Download
    0

Embed Size (px)

DESCRIPTION

Talk by Mark Stephens, CEO/Developer at IDRsolutions. See http://itextpdf.com/events/summit2012

Citation preview

Page 1: HTML5 as an alternative to PDF on the mobile platform

Disclaimer

No kittens were harmed (or even woken up) in the making of either presentation

Thursday, 29 March 12

Page 2: HTML5 as an alternative to PDF on the mobile platform

HTML5 AS AN ALTERNATIVE TO PDF ON THE MOBILE

PLATFORMMark Stephens - IDRsolutions

Thursday, 29 March 12

Page 3: HTML5 as an alternative to PDF on the mobile platform

THINKING OUT OF THE BOX

Thursday, 29 March 12

Page 4: HTML5 as an alternative to PDF on the mobile platform

THINKING OUT OF THE BOX

Thursday, 29 March 12

Page 5: HTML5 as an alternative to PDF on the mobile platform

HTML5

The first version I would recommend...

Thursday, 29 March 12

Page 6: HTML5 as an alternative to PDF on the mobile platform

HTML5

The first version I would recommend...

Convergence of :-

Thursday, 29 March 12

Page 7: HTML5 as an alternative to PDF on the mobile platform

HTML5

The first version I would recommend...

Convergence of :-1. Good cross-platform support.

Thursday, 29 March 12

Page 8: HTML5 as an alternative to PDF on the mobile platform

HTML5

The first version I would recommend...

Convergence of :-1. Good cross-platform support.2. All pervasive.

Thursday, 29 March 12

Page 9: HTML5 as an alternative to PDF on the mobile platform

HTML5

The first version I would recommend...

Convergence of :-1. Good cross-platform support.2. All pervasive.3. Feature rich (media support, GPS, local storage)

Thursday, 29 March 12

Page 10: HTML5 as an alternative to PDF on the mobile platform

HTML5

The first version I would recommend...

Convergence of :-1. Good cross-platform support.2. All pervasive.3. Feature rich (media support, GPS, local storage)4. Reasonable offline support.

Thursday, 29 March 12

Page 11: HTML5 as an alternative to PDF on the mobile platform

HTML5

The first version I would recommend...

Convergence of :-1. Good cross-platform support.2. All pervasive.3. Feature rich (media support, GPS, local storage)4. Reasonable offline support.5. Improving Tools

Thursday, 29 March 12

Page 12: HTML5 as an alternative to PDF on the mobile platform

Ways to develop HTML5

Thursday, 29 March 12

Page 13: HTML5 as an alternative to PDF on the mobile platform

Ways to develop HTML5

1. Build it programmatically with tools and libraries (JQuery)

Thursday, 29 March 12

Page 14: HTML5 as an alternative to PDF on the mobile platform

Ways to develop HTML5

1. Build it programmatically with tools and libraries (JQuery)

2. Or produce it as output

Thursday, 29 March 12

Page 15: HTML5 as an alternative to PDF on the mobile platform

Ways to develop HTML5

1. Build it programmatically with tools and libraries (JQuery)

2. Or produce it as output

3. Ship it (and maybe even debug it as well)

Thursday, 29 March 12

Page 16: HTML5 as an alternative to PDF on the mobile platform

HTML5

Is really THREE technologies working together

Thursday, 29 March 12

Page 17: HTML5 as an alternative to PDF on the mobile platform

HTML5

Is really THREE technologies working together

HTML5 (including canvas)

Thursday, 29 March 12

Page 18: HTML5 as an alternative to PDF on the mobile platform

HTML5

Is really THREE technologies working together

HTML5 (including canvas)CSS

Thursday, 29 March 12

Page 19: HTML5 as an alternative to PDF on the mobile platform

HTML5

Is really THREE technologies working together

HTML5 (including canvas)CSSJavascript

Thursday, 29 March 12

Page 20: HTML5 as an alternative to PDF on the mobile platform

Pixellation on the canvas

Thursday, 29 March 12

Page 21: HTML5 as an alternative to PDF on the mobile platform

Pixellation on the canvas

Thursday, 29 March 12

Page 22: HTML5 as an alternative to PDF on the mobile platform

Pixellation on the canvas

Thursday, 29 March 12

Page 23: HTML5 as an alternative to PDF on the mobile platform

Advantage of ‘web apps’Support multiple platforms more easily.

Easier to write a ‘web’ app and tweak (debug!) for all the mobile platforms than write a version for IPad, each Android device,

Blackberry...

Thursday, 29 March 12

Page 24: HTML5 as an alternative to PDF on the mobile platform

So how good is HTML5Which is the PDF page?

Thursday, 29 March 12

Page 25: HTML5 as an alternative to PDF on the mobile platform

Thursday, 29 March 12

Page 26: HTML5 as an alternative to PDF on the mobile platform

Thursday, 29 March 12

Page 27: HTML5 as an alternative to PDF on the mobile platform

Thursday, 29 March 12

Page 28: HTML5 as an alternative to PDF on the mobile platform

Thursday, 29 March 12

Page 29: HTML5 as an alternative to PDF on the mobile platform

So how good is HTML5Which is the PDF page?

Thursday, 29 March 12

Page 30: HTML5 as an alternative to PDF on the mobile platform

So how good is HTML5Which is the PDF page?

Thursday, 29 March 12

Page 31: HTML5 as an alternative to PDF on the mobile platform

Size matters

Thursday, 29 March 12

Page 32: HTML5 as an alternative to PDF on the mobile platform

Size matters

Multiply your PDF co-ords by 1.33

Thursday, 29 March 12

Page 33: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

‘Comparable’ features

Thursday, 29 March 12

Page 34: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Vector graphics, transforms, shapes and clipping

‘Comparable’ features

Thursday, 29 March 12

Page 35: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Vector graphics, transforms, shapes and clippingJavascript

‘Comparable’ features

Thursday, 29 March 12

Page 36: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Vector graphics, transforms, shapes and clippingJavascriptBasic Forms and interactive events

‘Comparable’ features

Thursday, 29 March 12

Page 37: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Vector graphics, transforms, shapes and clippingJavascriptBasic Forms and interactive eventsBasic text

‘Comparable’ features

Thursday, 29 March 12

Page 38: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

PDF still wins

Thursday, 29 March 12

Page 39: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Color support beyond RGB

PDF still wins

Thursday, 29 March 12

Page 40: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Color support beyond RGBTransparency

PDF still wins

Thursday, 29 March 12

Page 41: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Color support beyond RGBTransparencyEmbedded font support (TTF, OTF, TTC, Postscript)

PDF still wins

Thursday, 29 March 12

Page 42: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Color support beyond RGBTransparencyEmbedded font support (TTF, OTF, TTC, Postscript)Advanced text position (kerning, fontsize)

PDF still wins

Thursday, 29 March 12

Page 43: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Color support beyond RGBTransparencyEmbedded font support (TTF, OTF, TTC, Postscript)Advanced text position (kerning, fontsize)Quality of Image scaling

PDF still wins

Thursday, 29 March 12

Page 44: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Color support beyond RGBTransparencyEmbedded font support (TTF, OTF, TTC, Postscript)Advanced text position (kerning, fontsize)Quality of Image scalingSupport for foreign fonts

PDF still wins

Thursday, 29 March 12

Page 45: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Color support beyond RGBTransparencyEmbedded font support (TTF, OTF, TTC, Postscript)Advanced text position (kerning, fontsize)Quality of Image scalingSupport for foreign fontsSingle file container

PDF still wins

Thursday, 29 March 12

Page 46: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Color support beyond RGBTransparencyEmbedded font support (TTF, OTF, TTC, Postscript)Advanced text position (kerning, fontsize)Quality of Image scalingSupport for foreign fontsSingle file containerSecurity

PDF still wins

Thursday, 29 March 12

Page 47: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

PDF falling behind? (IMHO)

Thursday, 29 March 12

Page 48: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Location/GPS

PDF falling behind? (IMHO)

Thursday, 29 March 12

Page 49: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Location/GPSOffline functionality

PDF falling behind? (IMHO)

Thursday, 29 March 12

Page 50: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Location/GPSOffline functionalityCSS

PDF falling behind? (IMHO)

Thursday, 29 March 12

Page 51: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Location/GPSOffline functionalityCSSSocial media

PDF falling behind? (IMHO)

Thursday, 29 March 12

Page 52: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Location/GPSOffline functionalityCSSSocial mediaVideo

PDF falling behind? (IMHO)

Thursday, 29 March 12

Page 53: HTML5 as an alternative to PDF on the mobile platform

Comparison of HTML5 and PDF

Location/GPSOffline functionalityCSSSocial mediaVideoDebugging tools

PDF falling behind? (IMHO)

Thursday, 29 March 12

Page 54: HTML5 as an alternative to PDF on the mobile platform

My verdict

Thursday, 29 March 12

Page 55: HTML5 as an alternative to PDF on the mobile platform

My verdict

At the end of the day, PDF still wins for quality of display but

HMTL5+CSS+Javascript may be good enough for an increasingly number of things

Thursday, 29 March 12

Page 56: HTML5 as an alternative to PDF on the mobile platform

Shameless plug....

Thursday, 29 March 12

Page 57: HTML5 as an alternative to PDF on the mobile platform

Contact details

Twitter : javaPDFBlog: http://www.jpedal.org/PDFBlogEmail: [email protected]

Or grab me any time today...

Any questions?

Thursday, 29 March 12