Serious problems with SVG performance and cross browser support

66 views
Skip to first unread message

Support

unread,
Mar 28, 2012, 7:09:18 PM3/28/12
to PDFTron PDFNet SDK
Q: We are having serious problem with SVG performance (this is
browsers' problems, not yours) and are considering dropping the idea
of using SVG at all. In fact, we are happy that we bought your
converter instead of finishing ours.

BTW, have your team heard about problems with handling huge SVG
files? I think it would be great to share our experience and discuss
potential solutions. What do you think?

---------------
A:

We are aware of many restrictions and problems with the current state
of affairs with SVG support across browsers.

For example, please see: https://groups.google.com/d/topic/pdfnet-sdk/LvbvCTS5HUM/discussion

Performance and memory issues are an additional complication and will
unlikely go away due to DOM and JavaScripting requirements.

As an alternative solution to SVG you may want to take a look at
WebViewer (http://www.pdftron.com/pdfnet/webviewer). PDFNet WebViewer
can use HTML5 Canvas to render documents consistently across browsers,
platforms, and devices (including iPhone, iPad, Android, etc.). The
WebViewer can also take advantage of alternate technologies (e.g.
Flash or Silverlight), if they are available.

For an online demo, please take a look at:
http://www.pdftron.com/pdfnet/webviewer/demo.html

To convert/view your own files you can use Bookstore sample project
(http://www.pdftron.com/pdfnet/cloud/samples.html):
http://s84786.gridserver.com/website/demo/bookstore/

The WebViewer SDK comes with source code for a desktop and mobile
reader control. The API allows for complete viewer customization
(http://www.pdftron.com/pdfnet/webviewer/demo/html5/doc/index.html)
and extensions (e.g. with markup, forms, multimedia, digital
signatures, etc.).

We are also in the process of improving and extending MobileReader
sample code to bring it on par (in terms of functionality) with the
desktop version. The current HTML5 viewer APIs is identical in both
mobile and desktop version, however most mobile users expect to
interact with the content in a different way compared to the desktop
version (hence the two variants).

Also as part of the next update we are planning to include built-in
support for markup and annotation that is already available in the
Silverlight version (http://www.pdftron.com/pdfnet/webviewer/demo/
viewer.html?d=/xod/Declare.xod&v=silverlight;
http://www.pdftron.com/silverdox/documentation/html/59742cb2-0ce7-37da-086c-9dee9a3e47e5.htm;
http://www.pdftron.com/silverdox/samples/AnnotationsTestPage.html).
Reply all
Reply to author
Forward
0 new messages