Better HN
topnewbestaskshowjobs
Log inSign up

async5

63 karma · joined Oct 20, 2012 (14y ago) · 24 submissions

Submissions

comment 11y ago · link · parent

Shumway can be used as a runtime for those movies - the site owner just to need fallback to its HTML player. It plays common ActionScript 1/2/3 usages well.

comment 11y ago · link · parent

Exactly!

comment 11y ago · link · parent

There is also https://chrome.google.com/webstore/detail/pdf-viewer/oemmndc... :)

comment 11y ago · link · parent

Market share... and ignorance of users :)

comment 11y ago · link · parent

There are not exploitable (at least not the same way). Firefox PDF viewer is a modification of PDF.js, so PDF.js code would run in the browser without a web server. The exploit might poke a hole in EMBED tag security of the web browser (and not in the PDF.js code itself). WP plugin shall be safe as any web application (unless it introduces similar security hole in its code, e.g. XSS).

comment 11y ago · link · parent

For users that are opted in telemetry reporting, it can go up to 40M PDF views per browser version [1]

  [1] http://telemetry.mozilla.org/dist.html#!cumulative=0&end_date=2015-06-05&max_channel_version=beta%252F38&measure=PDF_VIEWER_USED&min_channel_version=nightly%252F38&product=Firefox&sanitize=1&start_date=2015-03-04&trim=1&use_submission_date=0

comment 11y ago · link · parent

And even latest here http://googlechromereleases.blogspot.co.il/2015/07/stable-ch... - 5 of them has pdfium

comment 12y ago · link · parent

Original PDF - 1.0M, SVGs - 7.7M, gzip'ed SVGs - 1.7M. I think the latter is a preferable format for the web, so you are looking 70% increase for this types of documents, but bare in mind that you may send only certain pages.

comment 12y ago · link · parent

Now you have alternative to not use PDF (viewer)?

comment 12y ago · link · parent

What does "the fonts are not kept" mean? http://pramodhkp.github.io/pdf2svg/svgdump/tracemonkey-1.svg looks as original PDF page and the SVG contains embedded fonts.

11.

A tool that converts PDFs to SVG, built using PDF.js(pramodhkp.github.io ↗)

59 points · by async5 · 12y ago · 12 comments

comment 12y ago · link · parent

Just a hint: "pdfjs.disabled" is hard switch off and it makes it harder to recover native PDF plugin viewing capability. Switching using Preferences/Options->Applications makes it easier. Try it and stop complaining that you don't have a choice :)

comment 12y ago · link · parent

Per https://code.google.com/p/pdfium/issues/detail?id=1 : "Looks like the standalone build system is not yet present."

comment 12y ago · link · parent

Except one does not provide protection from the patents.

comment 12y ago · link · parent

It looks like they did it in a hurry (on the next day) just after https://hacks.mozilla.org/2014/05/how-fast-is-pdf-js/ was published? Competition FTW!

comment 12y ago · link · parent

> H.264 is a public standard that anyone is free to implement.

That's correct -- you can implement it. But you have to pay for its usage. See http://www.mpegla.com/main/programs/avc/Documents/AVC_TermsS...

EDIT: guess who is paying for this?

comment 12y ago · link · parent

> If client side rendering is too slow, then don't render on the client. Cache the rasterized pdf as tiles up in the cloud and only read the actual document...

Some people are not comfortable with giving their financial/proprietary/secret information to third party's "cloud". And since they have to pay for "cloud", you end up paying for it somehow at the end. With client side code: 1) nobody knows what you are looking at, 2) and you don't rely on network connectivity much.

comment 12y ago · link · parent

Filing nothing will not be helpful for sure. Creating a report in any related bug reporting system will bring developer's, QA's or manager's attention. Just provide enough information, so somebody else except you can reproduce the problem.

comment 12y ago · link · parent

Is it https://bugzilla.mozilla.org/show_bug.cgi?id=760997 ?

comment 12y ago · link · parent

right... http://web.nvd.nist.gov/view/vuln/search-results?query=mupdf...

comment 12y ago · link · parent

Yes, you can build you own personalized extension for Firefox, Chrome or Opera from PDF.js source code, which will disable text layer. (see also #textLayer=off feature at https://github.com/mozilla/pdf.js/wiki/Debugging-pdf.js#url-...)

comment 12y ago · link · parent

Here is telemetry data from beta users about size of PDFs http://telemetry.mozilla.org/#beta/29/PDF_VIEWER_DOCUMENT_SI... -- typical PDF size is about 200KB, and 11MB is less 20% of them.

comment 14y ago · link · parent

> or http://raditts.com/phyles/xiao3.swf

I was looking for this movie. Thanks!