You are not logged in.

#1 2009-08-15 14:53:47

xenobrain
Member
From: Lodi, CA
Registered: 2006-05-31
Posts: 91

Looking for a lightweight C++ PDF Library

I'm looking for a very simple PDF library to help me fill in forms in PDF documents, written in C or C++.  I've looked at a lot number of libraries for this and am surprised it is so hard to find!

Here's some of the things I've already looked at:

poppler: is only for reading PDF not writing
libharu: seems focused on PDF creation, not manipulation of existing files
pdftk: is neat but is only a front end for iText which...
iText: is the right kind of thing, but is written in Java and C#, both of which require massive virtual machines
pypdf: has the same problem as iText- my application is written in C++/Qt and I don't want to require the download and installation of any massive runtime

A slightly different approach, these libraries could work but require me to recreate an existing pdf document in a markup of some sort:
ps2pdf
XeTeX
... etc

Redoing existing PDF documents is an option since I will be working with a limited set of templates, but I would prefer to avoid since I don't know TeX or Postscript and would have to learn, and of course redoing the templates is redundant.

Any suggestions?

Offline

#2 2009-08-17 13:31:54

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Looking for a lightweight C++ PDF Library

Have a look at [url]http://aur.archlinux.org/packages.php?ID=26934 gnupdf[/url]

Offline

#3 2009-08-18 22:44:56

xenobrain
Member
From: Lodi, CA
Registered: 2006-05-31
Posts: 91

Re: Looking for a lightweight C++ PDF Library

Hmm I've having a hard time figuring out to to get that one to do what I need, but it just might work.   Thank you for the link!

Offline

Board footer

Powered by FluxBB