Status of PDFium support for embedded viewing?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Status of PDFium support for embedded viewing?

Postby jholt » Thu Jun 04, 2015 5:48 pm

I'm trying to determine if it's possible to get embedded PDF via the PDFium ( https://code.google.com/p/pdfium/ ) plugin - preferably in my current branch of CEF (1916), or a later branch if necessary.

I've found the a pdf.dll is included back in the 3.2171.2069 distro from CEFBuilds, but in later versions it is missing. When I try loading a pdf using the sample apps included in those distros, I'm always prompted for a save, which I assume is simply because the plugin isn't there/registered.

The latest release notes also refer to support for it being added (also 2171): https://bitbucket.org/chromiumembedded/cef/wiki/ReleaseNotes

Being able to use PDFium would potentially be a major improvement for us due to various problems with using the alternate plugin options (Foxit or Adobe)

Has anybody gotten this working? I'm using Windows/32-bit (unfortunately, a requirement)
jholt
Techie
 
Posts: 27
Joined: Fri May 02, 2014 4:29 pm

Re: Status of PDFium support for embedded viewing?

Postby magreenblatt » Thu Jun 04, 2015 6:00 pm

See https://bitbucket.org/chromiumembedded/cef/issue/1565 for why support is missing from newer branches.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: Status of PDFium support for embedded viewing?

Postby jholt » Thu Jun 04, 2015 7:05 pm

magreenblatt wrote:See https://bitbucket.org/chromiumembedded/cef/issue/1565 for why support is missing from newer branches.


Thanks - I reviewed that issue, and some of the related pages, and understand that the pdf.dll got merged into chromium (and went from in-proc to OOP). I'm unclear if this means that I should be able to build the PDFium branch for a compatible Chromium branch, and use the output pepper plugin in CEF https://code.google.com/p/pdfium/wiki/Build I'll give it a try, but was wondering if anybody has gotten this to work, as I haven't seen it reported in searching around.
jholt
Techie
 
Posts: 27
Joined: Fri May 02, 2014 4:29 pm

Re: Status of PDFium support for embedded viewing?

Postby magreenblatt » Thu Jun 04, 2015 7:13 pm

It won't work. Changes to CEF are required.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: Status of PDFium support for embedded viewing?

Postby jholt » Thu Jun 04, 2015 7:22 pm

OK - thanks - added a vote/watch to https://bitbucket.org/chromiumembedded/cef/issue/1565
jholt
Techie
 
Posts: 27
Joined: Fri May 02, 2014 4:29 pm

Re: Status of PDFium support for embedded viewing?

Postby PolesApart » Mon Jun 29, 2015 9:43 am

Too bad my application sort of depends on the embedded pdf viewer, I'll have to stick with 2272 branch for the time being.
PolesApart
Mentor
 
Posts: 73
Joined: Fri Dec 05, 2014 1:24 pm

Re: Status of PDFium support for embedded viewing?

Postby jholt » Wed Jan 27, 2016 7:43 pm

I've finally been able to upgrade to 2526 and now have pdfium support - thanks!

Re. licensing - from https://pdfium.googlesource.com/pdfium/+/master/LICENSE this is a BSD-3 license (attribution, etc), and not encumbered like the previous Adobe PDF viewer.

Is that correct?

For that matter - are there any encumbered items bundled in the newer CEF distros?

The "Application Layout" page at https://bitbucket.org/chromiumembedded/ ... ion-layout still shows ffmpegsumo.dll, for instance, but this is not in the 2526 branch (although there is now a widevinecdmadapter.dll, which I expect is)
jholt
Techie
 
Posts: 27
Joined: Fri May 02, 2014 4:29 pm

Re: Status of PDFium support for embedded viewing?

Postby amaitland » Wed Jan 27, 2016 8:17 pm

ffmpeg is now statically compiled into Chromium, so there is no longer a separate dll. By default CEF does not build with support for proprietary codecs, so you shouldn't have any problems licensing wise with a default build.

Google does not assess license fees for the Widevine product.

Widevine supports the use of DRM with Encrypted Media Extensions (EME) without licensing fees or required participation in the CWIP training program.


http://www.widevine.com/index.html
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 64 guests