PDFium: Googles open-source PDF rendering engine
https://code.google.com/p/pdfium/
wxPDFView: wxWidgets wrapper for it
https://github.com/TcT2k/wxPDFView
The wrapper is already 4 months old, but i only discovered it now. The demo looks quite promising.
PDF Viewer
PDF Viewer
Use the source, Luke!
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: PDF Viewer
The guy posted on mailing list!
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Re: PDF Viewer
I can confirm that wxPDFView works fine with wxWidgets 3.2.1 (the version I am on).
Note that the readme says you need the pdfium binaries version 4012 (which is quite a few years old but they work fine) or later. I used the latest precompiled PDFium binaries v125.0.6406.0 (windows x64 v8), and in PDFViewImpl.cpp I had to comment out these two lines:
#include "fpdf_libs.h"
FPDF_InitEmbeddedLibraries(resPathStr.c_str());
wxPDFView lets you display a PDF file in a wxWidgets window. It is NOT a PDF authoring creation tool, if you need that, there are several such pieces.
Note that the readme says you need the pdfium binaries version 4012 (which is quite a few years old but they work fine) or later. I used the latest precompiled PDFium binaries v125.0.6406.0 (windows x64 v8), and in PDFViewImpl.cpp I had to comment out these two lines:
#include "fpdf_libs.h"
FPDF_InitEmbeddedLibraries(resPathStr.c_str());
wxPDFView lets you display a PDF file in a wxWidgets window. It is NOT a PDF authoring creation tool, if you need that, there are several such pieces.
Re: PDF Viewer
wxPDFView probably needs less memory, but now that we have proper webview support on all platform, i just use that to display PDFs.
Use the source, Luke!