Hot cross-platform PDF action.

One of the things we know we need to do in the not so distant future at work is support PDF viewing/thumbnailing. In particular, it needs to be a solution that works on at least Linux, and Windows (OSX would be great, but not really a priority for us). To that end, I spent some time last weekend working on 1) getting poppler compiled on win32, and 2) Updating the poppler-sharp binding initially created by aes and get that building on win32 as well.

Lo and behold, after lots of cygwin mucking, libtool massaging, etc. I give you, the sample poppler-sharp viewer!

win32:



Linux:



I will be writing up build instructions eventually so others can reproduce, but until then I’ve got a few other gifts.

Windows files:
poppler-0.5.4-cvs.zip - Runtime files for poppler.
poppler-0.5.4-cvs-devel.zip - Development files for poppler.
poppler-sharp-0.5.4-bzr.zip - Runtime files for poppler-sharp, including a sample viewer application.

Note, these all depend on gtk+ and gtk#, respectively, on win32. The necessary win32 build changes can be found on freedesktop bug #7107, and my bzr branch of poppler-sharp is at http://www.tenslashsix.com/bzr/poppler-sharp/

The poppler build is pretty much guaranteed to have issue with other character sets/fonts like Japanese, etc until I can get some path stuff fixed, and the poppler-data tarball properly installed for win32.

More to come later on this.

UPDATE: Miguel pointed out that not everyone has every SCM under the sun installed, so here’s a temporary tarball snapshot of things: poppler-sharp-0.5.4.tar.gz. The release version, etc is by no means meaningful/realistic, I just set the version to match the poppler version for now.

8 Responses to “Hot cross-platform PDF action.”

Leave a Reply